Count per Day - Version 3.5.1

Version Description

  • back in WordPress plugin repository
  • Bugfix: Worldmap shortcode
Download this release

Release Info

Developer Tom Braider
Plugin Icon 128x128 Count per Day
Version 3.5.1
Comparing to
See all releases

Code changes from version 3.4.1 to 3.5.1

ajax.php CHANGED
@@ -1,23 +1,22 @@
1
  <?php
 
 
 
 
 
 
 
 
 
 
2
  if ( $_GET['f'] == 'count' )
3
  {
4
- // answer only for 20 seconds after calling
5
- if ( empty($_GET['time']) || time() - $_GET['time'] > 20 )
6
- {
7
- header("HTTP/1.0 403 Forbidden");
8
- die('wrong request');
9
- }
10
-
11
- if (!session_id()) session_start();
12
- $cpd_wp = (!empty($_SESSION['cpd_wp'])) ? $_SESSION['cpd_wp'] : '../../../';
13
- require_once($cpd_wp.'wp-load.php');
14
-
15
  $cpd_funcs = array ( 'show',
16
  'getReadsAll', 'getReadsToday', 'getReadsYesterday', 'getReadsLastWeek', 'getReadsThisMonth',
17
  'getUserAll', 'getUserToday', 'getUserYesterday', 'getUserLastWeek', 'getUserThisMonth',
18
  'getUserPerDay', 'getUserOnline', 'getFirstCount' );
19
 
20
- $page = (int) $_GET['page'];
21
  if ( is_numeric($page) )
22
  {
23
  $count_per_day->count( '', $page );
1
  <?php
2
+ if (!defined('ABSPATH'))
3
+ exit;
4
+
5
+ // answer only for 20 seconds after calling
6
+ if ( empty($_GET['time']) || time() - $_GET['time'] > 20 )
7
+ {
8
+ header("HTTP/1.0 403 Forbidden");
9
+ die('wrong request');
10
+ }
11
+
12
  if ( $_GET['f'] == 'count' )
13
  {
 
 
 
 
 
 
 
 
 
 
 
14
  $cpd_funcs = array ( 'show',
15
  'getReadsAll', 'getReadsToday', 'getReadsYesterday', 'getReadsLastWeek', 'getReadsThisMonth',
16
  'getUserAll', 'getUserToday', 'getUserYesterday', 'getUserLastWeek', 'getUserThisMonth',
17
  'getUserPerDay', 'getUserOnline', 'getFirstCount' );
18
 
19
+ $page = (int) $_GET['cpage'];
20
  if ( is_numeric($page) )
21
  {
22
  $count_per_day->count( '', $page );
counter-core.php CHANGED
@@ -4,12 +4,16 @@
4
  * Count Per Day - core functions
5
  */
6
 
 
 
 
7
  /**
8
- * include GeoIP addon
9
  */
10
- if ( file_exists($cpd_path.'geoip/geoip.php') )
11
- include_once($cpd_path.'geoip/geoip.php');
12
- $cpd_geoip = ( class_exists('CpdGeoIp') && file_exists($cpd_path.'geoip/GeoIP.dat') ) ? 1 : 0;
 
13
 
14
  /**
15
  * helper functions
@@ -89,7 +93,6 @@ function init()
89
  }
90
 
91
  // locale support
92
- // if (defined('WPLANG') && function_exists('load_plugin_textdomain'))
93
  load_plugin_textdomain('cpd', false, $cpd_dir_name.'/locale');
94
 
95
  // adds stylesheet
@@ -125,12 +128,47 @@ function init()
125
  if (strpos($_SERVER['SCRIPT_NAME'], '/wp-admin/') !== false )
126
  add_action('admin_enqueue_scripts', array(&$this,'addThickbox'));
127
 
128
- // Session
129
- if (strpos($_SERVER['SCRIPT_NAME'], '/wp-admin/') !== false )
130
- add_action('init', array(&$this,'startSession'), 1);
131
-
132
  $this->aton = 'INET_ATON';
133
  $this->ntoa = 'INET_NTOA';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  }
135
 
136
  /**
@@ -155,19 +193,6 @@ function addJquery()
155
  function addThickbox()
156
  {
157
  wp_enqueue_script('thickbox');
158
- // if (strpos($_SERVER['QUERY_STRING'], 'cpd_metaboxes') !== false)
159
- // wp_enqueue_script('cpd_flot', $this->dir.'/js/jquery.flot.min.js', 'jQuery');
160
- }
161
-
162
-
163
- /**
164
- * starts session to provide WP variables to "addons"
165
- */
166
- function startSession()
167
- {
168
- if (!session_id())
169
- session_start();
170
- $_SESSION['cpd_wp'] = ABSPATH;
171
  }
172
 
173
  /**
@@ -208,12 +233,12 @@ function mysqlQuery( $kind = '', $sql = '', $func = '' )
208
  if ( $this->options['debug'] )
209
  {
210
  $con = $wpdb->dbh;
211
- $errno = (isset($con->errno)) ? $con->errno : mysql_errno($con);
212
- $error = (isset($con->error)) ? $con->error : mysql_error($con);
213
  $d = number_format( microtime(true) - $t , 5);
214
  $m = sprintf("%.2f", memory_get_usage()/1048576).' MB';
215
  $error = (!$r && $errno) ? '<b style="color:red">ERROR:</b> '.$errno.' - '.$error.' - ' : '';
216
- $this->queries[] = $func." : <b>$d</b> - $m<br/><code>$preparedSql</code><br/>$error";
217
  $this->queries[0] += $d;
218
  }
219
 
@@ -229,7 +254,10 @@ function checkInstalledVersion()
229
  if ( $this->options['version'] != $cpd_version )
230
  {
231
  $this->checkVersion();
232
- echo '<div class="updated"><p>'.sprintf(__('"Count per Day" updated to version %s.', 'cpd'), $cpd_version).'</p></div>';
 
 
 
233
  }
234
  }
235
 
@@ -269,6 +297,8 @@ function getPostID()
269
  global $wp_query;
270
  // find PostID
271
  if ( !is_404() ) :
 
 
272
  if ( $this->options['autocount'] && is_singular() )
273
  {
274
  // single page with autocount on
@@ -288,9 +318,6 @@ function getPostID()
288
  else if ( is_category() || is_tag() )
289
  // category or tag => negativ ID in CpD DB
290
  $p = 0 - $wp_query->get_queried_object_id();
291
- else
292
- // index, date, search and other "list" pages will count only once
293
- $p = 0;
294
  $this->page = $p;
295
  if ( $this->options['debug'] )
296
  $this->queries[] = 'called Function: <b style="color:blue">getPostID</b> page ID: <code>'.$p.'</code>';
@@ -393,11 +420,11 @@ function createTables()
393
  $sql = "CREATE TABLE IF NOT EXISTS `$cpd_c` (
394
  `id` int(10) NOT NULL auto_increment,
395
  `ip` int(10) unsigned NOT NULL,
396
- `client` varchar(250) NOT NULL,
397
  `date` date NOT NULL,
398
  `page` mediumint(9) NOT NULL,
399
  `country` CHAR(2) NOT NULL,
400
- `referer` varchar(250) NOT NULL,
401
  PRIMARY KEY (`id`),
402
  KEY `idx_page` (`page`),
403
  KEY `idx_dateip` (`date`,`ip`) )
@@ -443,16 +470,6 @@ function createTables()
443
  $sql .= 'ADD KEY `idx_dateip` (`date`,`ip`), ADD KEY `idx_page` (`page`)';
444
  $this->mysqlQuery('', $sql, 'make keys '.__LINE__);
445
 
446
- // column country
447
- $this->mysqlQuery('', "SELECT country FROM `$cpd_c` LIMIT 1", 'check country '.__LINE__);
448
- if ((int) mysql_errno() == 1054)
449
- $this->mysqlQuery('', "ALTER TABLE `$cpd_c` ADD `country` CHAR(2) NOT NULL", 'make country '.__LINE__);
450
-
451
- // column referrer
452
- $this->mysqlQuery('', "SELECT referer FROM `$cpd_c` LIMIT 1", 'check referer '.__LINE__);
453
- if ((int) mysql_errno() == 1054)
454
- $this->mysqlQuery('', "ALTER TABLE `$cpd_c` ADD `referer` VARCHAR(100) NOT NULL", 'make referer '.__LINE__);
455
-
456
  // delete table "counter-online", since v3.0
457
  $this->mysqlQuery('', "DROP TABLE IF EXISTS `$cpd_o`", 'table online '.__LINE__);
458
 
@@ -497,7 +514,6 @@ function showQueries()
497
 
498
  echo '<div style="position:absolute;margin:10px;padding:10px;border:1px red solid;background:#fff;clear:both">
499
  <b>Count per Day - DEBUG: '.round($this->queries[0], 3).' s</b><ol>'."\n";
500
- // var_dump($wpdb->dbh);
501
  echo '<li>'
502
  .'<b>Server:</b> '.$_SERVER['SERVER_SOFTWARE'].'<br/>'
503
  .'<b>PHP:</b> '.phpversion().'<br/>'
@@ -513,8 +529,6 @@ function showQueries()
513
  echo "\n<li><b>POST:</b><br/>\n";
514
  var_dump($_POST);
515
  echo '</li>';
516
- echo "\n<li><b>SESSION:</b><br/>\n";
517
- var_dump($_SESSION);
518
  echo '</li>';
519
  echo "\n<li><b>Table:</b><br /><b>$wpdb->cpd_counter</b>:\n";
520
  $res = $this->mysqlQuery('rows', "SHOW FIELDS FROM `$wpdb->cpd_counter`", 'showFields' );
@@ -532,11 +546,11 @@ function showQueries()
532
  echo "</ol>\n";
533
  ?>
534
  <p>GeoIP:
535
- d_ir=<?php echo substr(decoct(fileperms($cpd_path.'geoip/')), -3) ?>
536
- f_ile=<?php echo (is_file($cpd_path.'geoip/GeoIP.dat')) ? substr(decoct(fileperms($cpd_path.'geoip/GeoIP.dat')), -3) : '-'; ?>
537
- f_open=<?php echo (function_exists('fopen')) ? 'true' : 'false' ?>
538
- g_zopen=<?php echo (function_exists('gzopen')) ? 'true' : 'false' ?>
539
- a_llow_url_fopen=<?php echo (ini_get('allow_url_fopen')) ? 'true' : 'false' ?>
540
  </p>
541
  <?php
542
  echo '</div>';
@@ -571,7 +585,7 @@ function addJS()
571
  function addAjaxScript()
572
  {
573
  $this->getPostID();
574
- $time = time();
575
  echo <<< JSEND
576
  <script type="text/javascript">
577
  // Count per Day
@@ -579,7 +593,7 @@ function addAjaxScript()
579
  var cpdTime = new Date().getTime() / 1000;
580
  jQuery(document).ready( function()
581
  {
582
- jQuery.get('{$this->dir}/ajax.php?f=count&page={$this->page}&time='+cpdTime, function(text)
583
  {
584
  var cpd_funcs = text.split('|');
585
  for(var i = 0; i < cpd_funcs.length; i++)
@@ -635,7 +649,6 @@ function menu($content)
635
  global $cpd_dir_name;
636
  if (function_exists('add_options_page'))
637
  {
638
- // $menutitle = '<img src="'.$this->img('cpd_menu.gif').'" alt="/" style="width:9px;height:12px;" /> Count per Day';
639
  $menutitle = 'Count per Day';
640
  add_options_page('CountPerDay', $menutitle, 'manage_options', $cpd_dir_name.'/counter-options.php') ;
641
  }
@@ -684,7 +697,7 @@ function updateOptions()
684
  'startreads' => '',
685
  'anoip' => 0,
686
  'massbotlimit' => 25,
687
- 'clients' => 'Firefox, MSIE, Chrome, Safari, Opera',
688
  'ajax' => 0,
689
  'debug' => 0,
690
  'referers' => 1,
@@ -739,7 +752,6 @@ function screenLayoutColumns($columns, $screen)
739
  */
740
  function setAdminMenu()
741
  {
742
- // $menutitle = '<img src="'.$this->img('cpd_menu.gif').'" alt="" style="width:12px;height:12px;" /> Count per Day';
743
  $menutitle = 'Count per Day';
744
  $this->pagehook = add_submenu_page('index.php', 'CountPerDay', $menutitle, $this->options['whocansee'], CPD_METABOX, array(&$this, 'onShowPage'));
745
  add_action('load-'.$this->pagehook, array(&$this, 'onLoadPage'));
@@ -901,7 +913,6 @@ function shortUserPerMonth() { return $this->getUserPerMonth(true, true); }
901
  function shortUserPerPost() { return $this->getUserPerPost(0, true, true); }
902
  function shortCountries() { return $this->getCountries(0, true, false, true); }
903
  function shortCountriesUsers(){ return $this->getCountries(0, true, true, true); }
904
- // function shortMostVisitedPosts(){ return $this->getMostVisitedPosts(0, 0, true, false, true); }
905
  function shortReferers() { return $this->getReferers(0, true, 0); }
906
  function shortDayWithMostReads(){ return $this->getDayWithMostReads(true, true); }
907
  function shortDayWithMostUsers(){ return $this->getDayWithMostUsers(true, true); }
@@ -937,10 +948,9 @@ function shortShowMap( $atts )
937
  extract( shortcode_atts( array(
938
  'width' => 500,
939
  'height' => 340,
940
- 'what' => 'reads',
941
- 'min' => 0
942
  ), $atts) );
943
- return $this->getMap( $what, $width, $height, $min );
944
  }
945
 
946
  /**
@@ -989,6 +999,7 @@ function getMassBots( $limit )
989
  function export( $days = 180 )
990
  {
991
  global $wpdb;
 
992
  $t = $wpdb->cpd_counter;
993
  $tname = $t.'_last_'.$days.'_days_'.date_i18n('Y-m-d_H-i-s').'.csv';
994
  $path = tempnam(sys_get_temp_dir(), 'cpdexport');
@@ -1046,7 +1057,7 @@ function export( $days = 180 )
1046
  $tfile = basename($path);
1047
  echo '<div class="updated"><p>';
1048
  _e('Download the export file:', 'cpd');
1049
- echo ' <a href="'.$this->dir.'/download.php?f='.$tfile.'&amp;n='.$tname.'">'.$tname.'</a><br/>';
1050
  echo '</p></div>';
1051
 
1052
  endif;
@@ -1127,7 +1138,6 @@ function backup()
1127
  // add values
1128
  $v = '';
1129
  foreach ($row as $val)
1130
- // $v .= "'".mysql_real_escape_string($val)."',";
1131
  $v .= "'".esc_sql($val)."',";
1132
  $v = '('.substr($v,0,-1).'),';
1133
 
@@ -1193,9 +1203,9 @@ function backup()
1193
  $tfile = basename($path);
1194
  $tofile = basename($opath);
1195
  echo sprintf(__('Backup of counter table saved in %s.', 'cpd'),
1196
- '<a href="'.$this->dir.'/download.php?f='.$tfile.'&amp;n='.$tname.'">'.$tname.'</a>').'<br/>';
1197
  echo sprintf(__('Backup of counter options and collection saved in %s.', 'cpd'),
1198
- '<a href="'.$this->dir.'/download.php?f='.$tofile.'&amp;n='.$toname.'">'.$toname.'</a>');
1199
  }
1200
  else
1201
  {
@@ -1558,4 +1568,30 @@ function cpdColumnContent($column_name, $id = 0)
1558
  }
1559
  }
1560
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1561
  } // class
4
  * Count Per Day - core functions
5
  */
6
 
7
+ if (!defined('ABSPATH'))
8
+ exit;
9
+
10
  /**
11
+ * include GeoIP addon if available
12
  */
13
+ $cpd_geoip_dir = WP_CONTENT_DIR.'/count-per-day-geoip/';
14
+ if ( file_exists($cpd_geoip_dir.'geoip.inc') )
15
+ include_once('geoip.php');
16
+ $cpd_geoip = ( class_exists('GeoIp') && file_exists($cpd_geoip_dir.'GeoIP.dat') ) ? 1 : 0;
17
 
18
  /**
19
  * helper functions
93
  }
94
 
95
  // locale support
 
96
  load_plugin_textdomain('cpd', false, $cpd_dir_name.'/locale');
97
 
98
  // adds stylesheet
128
  if (strpos($_SERVER['SCRIPT_NAME'], '/wp-admin/') !== false )
129
  add_action('admin_enqueue_scripts', array(&$this,'addThickbox'));
130
 
 
 
 
 
131
  $this->aton = 'INET_ATON';
132
  $this->ntoa = 'INET_NTOA';
133
+
134
+ // include scripts
135
+ if (is_admin())
136
+ {
137
+ add_action('init', array(&$this,'addCpdIncludes'));
138
+ }
139
+ }
140
+
141
+ /**
142
+ * include scripts
143
+ */
144
+ function addCpdIncludes()
145
+ {
146
+ global $count_per_day, $wpdb, $cpd_geoip, $cpd_geoip_dir;
147
+
148
+ if (empty($_GET['page']))
149
+ return;
150
+
151
+ switch ($_GET['page'])
152
+ {
153
+ case 'cpd_notes':
154
+ include_once('notes.php');
155
+ exit;
156
+ case 'cpd_massbots':
157
+ include_once('massbots.php');
158
+ exit;
159
+ case 'cpd_userperspan':
160
+ include_once('userperspan.php');
161
+ exit;
162
+ case 'cpd_map':
163
+ include_once('map/map.php');
164
+ exit;
165
+ case 'cpd_ajax':
166
+ include_once('ajax.php');
167
+ exit;
168
+ case 'cpd_download':
169
+ include_once('download.php');
170
+ exit;
171
+ }
172
  }
173
 
174
  /**
193
  function addThickbox()
194
  {
195
  wp_enqueue_script('thickbox');
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  }
197
 
198
  /**
233
  if ( $this->options['debug'] )
234
  {
235
  $con = $wpdb->dbh;
236
+ $errno = (isset($con->errno)) ? $con->errno : mysqli_errno($con);
237
+ $error = (isset($con->error)) ? $con->error : mysqli_error($con);
238
  $d = number_format( microtime(true) - $t , 5);
239
  $m = sprintf("%.2f", memory_get_usage()/1048576).' MB';
240
  $error = (!$r && $errno) ? '<b style="color:red">ERROR:</b> '.$errno.' - '.$error.' - ' : '';
241
+ $this->queries[] = $func." : <b>$d</b> - $m<br/><code>$kind - $preparedSql</code><br/>$error";
242
  $this->queries[0] += $d;
243
  }
244
 
254
  if ( $this->options['version'] != $cpd_version )
255
  {
256
  $this->checkVersion();
257
+ echo '<div class="updated">
258
+ <p>'.sprintf(__('"Count per Day" updated to version %s.', 'cpd'), $cpd_version).'</p>
259
+ <p>'.sprintf(__('Please check the %s section!', 'cpd'), '<a href="options-general.php?page=count-per-day%2Fcounter-options.php&tab=tools">GeoIP</a>').'</p>
260
+ </div>';
261
  }
262
  }
263
 
297
  global $wp_query;
298
  // find PostID
299
  if ( !is_404() ) :
300
+ // index, date, search and other "list" pages will count only once
301
+ $p = 0;
302
  if ( $this->options['autocount'] && is_singular() )
303
  {
304
  // single page with autocount on
318
  else if ( is_category() || is_tag() )
319
  // category or tag => negativ ID in CpD DB
320
  $p = 0 - $wp_query->get_queried_object_id();
 
 
 
321
  $this->page = $p;
322
  if ( $this->options['debug'] )
323
  $this->queries[] = 'called Function: <b style="color:blue">getPostID</b> page ID: <code>'.$p.'</code>';
420
  $sql = "CREATE TABLE IF NOT EXISTS `$cpd_c` (
421
  `id` int(10) NOT NULL auto_increment,
422
  `ip` int(10) unsigned NOT NULL,
423
+ `client` varchar(500) NOT NULL,
424
  `date` date NOT NULL,
425
  `page` mediumint(9) NOT NULL,
426
  `country` CHAR(2) NOT NULL,
427
+ `referer` varchar(500) NOT NULL,
428
  PRIMARY KEY (`id`),
429
  KEY `idx_page` (`page`),
430
  KEY `idx_dateip` (`date`,`ip`) )
470
  $sql .= 'ADD KEY `idx_dateip` (`date`,`ip`), ADD KEY `idx_page` (`page`)';
471
  $this->mysqlQuery('', $sql, 'make keys '.__LINE__);
472
 
 
 
 
 
 
 
 
 
 
 
473
  // delete table "counter-online", since v3.0
474
  $this->mysqlQuery('', "DROP TABLE IF EXISTS `$cpd_o`", 'table online '.__LINE__);
475
 
514
 
515
  echo '<div style="position:absolute;margin:10px;padding:10px;border:1px red solid;background:#fff;clear:both">
516
  <b>Count per Day - DEBUG: '.round($this->queries[0], 3).' s</b><ol>'."\n";
 
517
  echo '<li>'
518
  .'<b>Server:</b> '.$_SERVER['SERVER_SOFTWARE'].'<br/>'
519
  .'<b>PHP:</b> '.phpversion().'<br/>'
529
  echo "\n<li><b>POST:</b><br/>\n";
530
  var_dump($_POST);
531
  echo '</li>';
 
 
532
  echo '</li>';
533
  echo "\n<li><b>Table:</b><br /><b>$wpdb->cpd_counter</b>:\n";
534
  $res = $this->mysqlQuery('rows', "SHOW FIELDS FROM `$wpdb->cpd_counter`", 'showFields' );
546
  echo "</ol>\n";
547
  ?>
548
  <p>GeoIP:
549
+ dir=<?php echo substr(decoct(fileperms($cpd_geoip_dir)), -3) ?>
550
+ file=<?php echo (is_file($cpd_geoip_dir.'GeoIP.dat')) ? substr(decoct(fileperms($cpd_geoip_dir.'GeoIP.dat')), -3) : '-'; ?>
551
+ fopen=<?php echo (function_exists('fopen')) ? 'true' : 'false' ?>
552
+ gzopen=<?php echo (function_exists('gzopen')) ? 'true' : 'false' ?>
553
+ allow_url_fopen=<?php echo (ini_get('allow_url_fopen')) ? 'true' : 'false' ?>
554
  </p>
555
  <?php
556
  echo '</div>';
585
  function addAjaxScript()
586
  {
587
  $this->getPostID();
588
+ $wp = ADMIN_COOKIE_PATH;
589
  echo <<< JSEND
590
  <script type="text/javascript">
591
  // Count per Day
593
  var cpdTime = new Date().getTime() / 1000;
594
  jQuery(document).ready( function()
595
  {
596
+ jQuery.get('{$wp}/?page=cpd_ajax&f=count&cpage={$this->page}&time='+cpdTime, function(text)
597
  {
598
  var cpd_funcs = text.split('|');
599
  for(var i = 0; i < cpd_funcs.length; i++)
649
  global $cpd_dir_name;
650
  if (function_exists('add_options_page'))
651
  {
 
652
  $menutitle = 'Count per Day';
653
  add_options_page('CountPerDay', $menutitle, 'manage_options', $cpd_dir_name.'/counter-options.php') ;
654
  }
697
  'startreads' => '',
698
  'anoip' => 0,
699
  'massbotlimit' => 25,
700
+ 'clients' => 'Firefox, Edge, MSIE, Chrome, Safari, Opera',
701
  'ajax' => 0,
702
  'debug' => 0,
703
  'referers' => 1,
752
  */
753
  function setAdminMenu()
754
  {
 
755
  $menutitle = 'Count per Day';
756
  $this->pagehook = add_submenu_page('index.php', 'CountPerDay', $menutitle, $this->options['whocansee'], CPD_METABOX, array(&$this, 'onShowPage'));
757
  add_action('load-'.$this->pagehook, array(&$this, 'onLoadPage'));
913
  function shortUserPerPost() { return $this->getUserPerPost(0, true, true); }
914
  function shortCountries() { return $this->getCountries(0, true, false, true); }
915
  function shortCountriesUsers(){ return $this->getCountries(0, true, true, true); }
 
916
  function shortReferers() { return $this->getReferers(0, true, 0); }
917
  function shortDayWithMostReads(){ return $this->getDayWithMostReads(true, true); }
918
  function shortDayWithMostUsers(){ return $this->getDayWithMostUsers(true, true); }
948
  extract( shortcode_atts( array(
949
  'width' => 500,
950
  'height' => 340,
951
+ 'what' => 'reads'
 
952
  ), $atts) );
953
+ return $this->getMap( $what, $width, $height );
954
  }
955
 
956
  /**
999
  function export( $days = 180 )
1000
  {
1001
  global $wpdb;
1002
+ $days = intval($days);
1003
  $t = $wpdb->cpd_counter;
1004
  $tname = $t.'_last_'.$days.'_days_'.date_i18n('Y-m-d_H-i-s').'.csv';
1005
  $path = tempnam(sys_get_temp_dir(), 'cpdexport');
1057
  $tfile = basename($path);
1058
  echo '<div class="updated"><p>';
1059
  _e('Download the export file:', 'cpd');
1060
+ echo ' <a href="index.php?page=cpd_download&amp;f='.$tfile.'&amp;n='.$tname.'">'.$tname.'</a><br/>';
1061
  echo '</p></div>';
1062
 
1063
  endif;
1138
  // add values
1139
  $v = '';
1140
  foreach ($row as $val)
 
1141
  $v .= "'".esc_sql($val)."',";
1142
  $v = '('.substr($v,0,-1).'),';
1143
 
1203
  $tfile = basename($path);
1204
  $tofile = basename($opath);
1205
  echo sprintf(__('Backup of counter table saved in %s.', 'cpd'),
1206
+ '<a href="index.php?page=cpd_download&amp;f='.$tfile.'&amp;n='.$tname.'">'.$tname.'</a>').'<br/>';
1207
  echo sprintf(__('Backup of counter options and collection saved in %s.', 'cpd'),
1208
+ '<a href="index.php?page=cpd_download&amp;f='.$tofile.'&amp;n='.$toname.'">'.$toname.'</a>');
1209
  }
1210
  else
1211
  {
1568
  }
1569
  }
1570
 
1571
+ /**
1572
+ * load GeoIP Script from Maxmind GIT
1573
+ */
1574
+ function loadGeoIpAddon()
1575
+ {
1576
+ global $cpd_path, $cpd_geoip_dir;
1577
+
1578
+ $source = 'https://raw.githubusercontent.com/maxmind/geoip-api-php/master/src/geoip.inc';
1579
+ $dest = $cpd_geoip_dir.'geoip.inc';
1580
+
1581
+ // create dir
1582
+ if (!is_dir($cpd_geoip_dir))
1583
+ mkdir($cpd_geoip_dir);
1584
+
1585
+ // get remote file
1586
+ $file = file_get_contents($source, 'r');
1587
+
1588
+ // write new locale file
1589
+ file_put_contents($dest, $file);
1590
+
1591
+ if (is_file($dest))
1592
+ return __('GeoIP Addon installed.', 'cpd');
1593
+ else
1594
+ echo '<div class="error"><p>'.sprintf(__('Sorry, an error occurred. Load the file from %s and copy it to wp-content/count-per-day-geoip/ directory.', 'cpd'), '<a href="'.$source.'">'.$source.'</a>').'</p></div>';
1595
+ }
1596
+
1597
  } // class
counter-options.php CHANGED
@@ -4,6 +4,9 @@
4
  * Count Per Day - Options and Administration
5
  */
6
 
 
 
 
7
  // check form
8
  if(!empty($_POST['do']))
9
  {
@@ -94,6 +97,24 @@ if(!empty($_POST['do']))
94
  }
95
  break;
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  // delete massbots
98
  case 'cpd_delete_massbots' :
99
  if ( isset($_POST['limit']) )
@@ -125,6 +146,12 @@ if(!empty($_POST['do']))
125
  case 'cpd_reset' :
126
  if(trim($_POST['reset_cpd_yes']) == 'yes')
127
  {
 
 
 
 
 
 
128
  $wpdb->query('TRUNCATE TABLE '.$wpdb->cpd_counter);
129
  $wpdb->query('TRUNCATE TABLE '.$wpdb->cpd_counter_useronline);
130
  $wpdb->query('TRUNCATE TABLE '.$wpdb->cpd_notes);
@@ -338,7 +365,7 @@ if(!empty($_POST['do']))
338
  update_option('count_per_day_search', $searches);
339
  unset($searches);
340
  echo '<div class="updated"><p>'.__('Old search strings deleted', 'cpd').'</p></div>';
341
-
342
 
343
  // delete clients and referers
344
  case 'cpd_clientsclean' :
@@ -353,6 +380,7 @@ if(!empty($_POST['do']))
353
  $count_per_day->mysqlQuery('', $cpd_sql, 'deleteClients '.__LINE__);
354
 
355
  echo '<div class="updated"><p>'.__('Clients and referers deleted', 'cpd').'</p></div>';
 
356
 
357
  default:
358
  break;
@@ -465,7 +493,7 @@ switch($mode) {
465
  echo '<a href="http://www.utrace.de/?query='.$ip.'">'.$ip.'</a></td>'
466
  .'<td style="white-space:nowrap;">'.mysql2date(get_option('date_format'), $row->date).'</td>'
467
  .'<td>'.htmlentities($row->client).'</td>'
468
- .'<td style="text-align:right;"><a href="'.$count_per_day->dir.'/massbots.php?dmbip='.$row->longip.'&amp;dmbdate='.$row->date.'&amp;KeepThis=true&amp;TB_iframe=true" title="Count per Day" class="thickbox">'
469
  .$row->posts.'</a></td>'
470
  .'</tr>';
471
  $sum += $row->posts;
@@ -528,7 +556,7 @@ switch($mode) {
528
  echo '<a href="http://www.utrace.de/?query='.$ip.'">'.$ip.'</a></td>'
529
  .'<td style="white-space:nowrap;">'.mysql2date(get_option('date_format'), $row->date).'</td>'
530
  .'<td>'.htmlentities($row->client).'</td>'
531
- .'<td style="text-align:right;"><a href="'.$count_per_day->dir.'/massbots.php?dmbip='.$row->longip.'&amp;dmbdate='.$row->date.'&amp;KeepThis=true&amp;TB_iframe=true" title="Count per Day" class="thickbox">'
532
  .$row->posts.'</a></td>'
533
  .'</tr>';
534
  $sum += $row->posts;
@@ -722,10 +750,10 @@ switch($mode) {
722
  <div class="postbox">
723
  <h3><span class="cpd_icon cpd_geoip">&nbsp;</span> <?php _e('GeoIP - Countries', 'cpd') ?></h3>
724
  <div class="inside">
725
- <p>
726
- <?php _e('You can get the country data for all entries in database by checking the IP adress against the GeoIP database. This can take a while!', 'cpd') ?>
727
- </p>
728
  <?php if ( $cpd_geoip ) { ?>
 
 
 
729
  <form method="post" action="<?php echo $mysiteurl ?>">
730
  <p>
731
  <input type="hidden" name="do" value="cpd_countries" />
@@ -745,6 +773,19 @@ switch($mode) {
745
  </p>
746
  </form>
747
  <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
748
  <p>
749
  <span class="cpd-r"><?php _e('More informations about GeoIP', 'cpd') ?>:
750
  <a href="https://www.maxmind.com">www.maxmind.com</a></span>&nbsp;
@@ -887,7 +928,7 @@ switch($mode) {
887
  <tr>
888
  <th scope="row" style="white-space:nowrap"><?php _e('Post types', 'cpd') ?>:</th>
889
  <td>
890
- <input class="code" type="text" name="cpd_posttypes" size="50" value="<?php echo str_replace(',', ', ', $o['posttypes']); ?>" /><br/>
891
  <?php _e('Only count these post types. Leave empty to count them all.', 'cpd') ?><br/>
892
  <?php printf(__('Current post types: %s', 'cpd'), '<code>'.implode(', ', get_post_types()).'</code>'); ?>
893
  </td>
@@ -917,10 +958,10 @@ switch($mode) {
917
  <tr>
918
  <th scope="row" style="white-space:nowrap"><?php _e('Who can see it', 'cpd') ?>:</th>
919
  <td>
920
- <?php $cus = (in_array($o['whocansee'], array('manage_options','manage_links','publish_posts','edit_posts','read'))) ? 0 : 1 ?>
921
  <select id="cpd_whocansee" name="cpd_whocansee" onchange="checkcustom()">
922
  <option value="manage_options" <?php selected($o['whocansee'], 'manage_options') ?>><?php echo translate_user_role('Administrator') ?> </option>
923
- <option value="manage_links" <?php selected($o['whocansee'], 'manage_links') ?>><?php echo translate_user_role('Editor') ?></option>
924
  <option value="publish_posts" <?php selected($o['whocansee'], 'publish_posts') ?>><?php echo translate_user_role('Author') ?></option>
925
  <option value="edit_posts" <?php selected($o['whocansee'], 'edit_posts') ?>><?php echo translate_user_role('Contributor') ?></option>
926
  <option value="read" <?php selected($o['whocansee'], 'read') ?>><?php echo translate_user_role('Subscriber') ?></option>
4
  * Count Per Day - Options and Administration
5
  */
6
 
7
+ if (!defined('ABSPATH'))
8
+ exit;
9
+
10
  // check form
11
  if(!empty($_POST['do']))
12
  {
97
  }
98
  break;
99
 
100
+ // install GeoIP addon
101
+ case 'cpd_loadgeoipaddon' :
102
+ $result = $count_per_day->loadGeoIpAddon();
103
+ if ($result)
104
+ echo '<div class="updated"><p>'.$result.'</p></div>';
105
+ if ( file_exists($cpd_path.'geoip.php') && file_exists($cpd_geoip_dir.'geoip.inc') )
106
+ {
107
+ include_once($cpd_path.'geoip.php');
108
+ if ( !file_exists($cpd_geoip_dir.'GeoIP.dat') )
109
+ {
110
+ // download new GeoIP database
111
+ $result = CpdGeoIp::updateGeoIpFile();
112
+ echo '<div class="updated"><p>'.$result.'</p></div>';
113
+ }
114
+ $cpd_geoip = 1;
115
+ }
116
+ break;
117
+
118
  // delete massbots
119
  case 'cpd_delete_massbots' :
120
  if ( isset($_POST['limit']) )
146
  case 'cpd_reset' :
147
  if(trim($_POST['reset_cpd_yes']) == 'yes')
148
  {
149
+ delete_option('count_per_day_notes');
150
+ delete_option('count_per_day_search');
151
+ delete_option('count_per_day_online');
152
+ delete_option('count_per_day_summary');
153
+ delete_option('count_per_day_collected');
154
+ delete_option('count_per_day_posts');
155
  $wpdb->query('TRUNCATE TABLE '.$wpdb->cpd_counter);
156
  $wpdb->query('TRUNCATE TABLE '.$wpdb->cpd_counter_useronline);
157
  $wpdb->query('TRUNCATE TABLE '.$wpdb->cpd_notes);
365
  update_option('count_per_day_search', $searches);
366
  unset($searches);
367
  echo '<div class="updated"><p>'.__('Old search strings deleted', 'cpd').'</p></div>';
368
+ break;
369
 
370
  // delete clients and referers
371
  case 'cpd_clientsclean' :
380
  $count_per_day->mysqlQuery('', $cpd_sql, 'deleteClients '.__LINE__);
381
 
382
  echo '<div class="updated"><p>'.__('Clients and referers deleted', 'cpd').'</p></div>';
383
+ break;
384
 
385
  default:
386
  break;
493
  echo '<a href="http://www.utrace.de/?query='.$ip.'">'.$ip.'</a></td>'
494
  .'<td style="white-space:nowrap;">'.mysql2date(get_option('date_format'), $row->date).'</td>'
495
  .'<td>'.htmlentities($row->client).'</td>'
496
+ .'<td style="text-align:right;"><a href="?page=cpd_massbots&amp;dmbip='.$row->longip.'&amp;dmbdate='.$row->date.'&amp;KeepThis=true&amp;TB_iframe=true" title="Count per Day" class="thickbox">'
497
  .$row->posts.'</a></td>'
498
  .'</tr>';
499
  $sum += $row->posts;
556
  echo '<a href="http://www.utrace.de/?query='.$ip.'">'.$ip.'</a></td>'
557
  .'<td style="white-space:nowrap;">'.mysql2date(get_option('date_format'), $row->date).'</td>'
558
  .'<td>'.htmlentities($row->client).'</td>'
559
+ .'<td style="text-align:right;"><a href="index.php?page=cpd_massbots&amp;dmbip='.$row->longip.'&amp;dmbdate='.$row->date.'&amp;KeepThis=true&amp;TB_iframe=true" title="Count per Day" class="thickbox">'
560
  .$row->posts.'</a></td>'
561
  .'</tr>';
562
  $sum += $row->posts;
750
  <div class="postbox">
751
  <h3><span class="cpd_icon cpd_geoip">&nbsp;</span> <?php _e('GeoIP - Countries', 'cpd') ?></h3>
752
  <div class="inside">
 
 
 
753
  <?php if ( $cpd_geoip ) { ?>
754
+ <p>
755
+ <?php _e('You can get the country data for all entries in database by checking the IP adress against the GeoIP database. This can take a while!', 'cpd') ?>
756
+ </p>
757
  <form method="post" action="<?php echo $mysiteurl ?>">
758
  <p>
759
  <input type="hidden" name="do" value="cpd_countries" />
773
  </p>
774
  </form>
775
  <?php } ?>
776
+
777
+ <?php if ( !file_exists($cpd_geoip_dir.'geoip.inc') ) {
778
+ // install GeoIP Addon
779
+ echo '<p style="color:red">'.__('To get country data by checking the IP addresses you need to install the GeoIP Addon.<br>Because it is not under GPL I had to delete this function from WordPress plugin repository.', 'cpd').'</p>';
780
+ echo '<p>'.sprintf(__('The directory %s will be created.', 'cpd'), '<code>wp-content/count-per-day-geoip</code>').'</p>';
781
+ ?>
782
+ <form method="post" action="<?php echo $mysiteurl ?>">
783
+ <p>
784
+ <input type="hidden" name="do" value="cpd_loadgeoipaddon" />
785
+ <input type="submit" name="loadgeoipaddon" value="<?php _e('Install GeoIP addon', 'cpd') ?>" class="button" />
786
+ </p>
787
+ </form>
788
+ <?php } ?>
789
  <p>
790
  <span class="cpd-r"><?php _e('More informations about GeoIP', 'cpd') ?>:
791
  <a href="https://www.maxmind.com">www.maxmind.com</a></span>&nbsp;
928
  <tr>
929
  <th scope="row" style="white-space:nowrap"><?php _e('Post types', 'cpd') ?>:</th>
930
  <td>
931
+ <input class="code" type="text" name="cpd_posttypes" size="50" value="<?php echo (isset($o['posttypes'])) ? str_replace(',', ', ', $o['posttypes']) : ''; ?>" /><br/>
932
  <?php _e('Only count these post types. Leave empty to count them all.', 'cpd') ?><br/>
933
  <?php printf(__('Current post types: %s', 'cpd'), '<code>'.implode(', ', get_post_types()).'</code>'); ?>
934
  </td>
958
  <tr>
959
  <th scope="row" style="white-space:nowrap"><?php _e('Who can see it', 'cpd') ?>:</th>
960
  <td>
961
+ <?php $cus = (in_array($o['whocansee'], array('manage_options','edit_others_posts','publish_posts','edit_posts','read'))) ? 0 : 1 ?>
962
  <select id="cpd_whocansee" name="cpd_whocansee" onchange="checkcustom()">
963
  <option value="manage_options" <?php selected($o['whocansee'], 'manage_options') ?>><?php echo translate_user_role('Administrator') ?> </option>
964
+ <option value="edit_others_posts" <?php selected($o['whocansee'], 'edit_others_posts') ?>><?php echo translate_user_role('Editor') ?></option>
965
  <option value="publish_posts" <?php selected($o['whocansee'], 'publish_posts') ?>><?php echo translate_user_role('Author') ?></option>
966
  <option value="edit_posts" <?php selected($o['whocansee'], 'edit_posts') ?>><?php echo translate_user_role('Contributor') ?></option>
967
  <option value="read" <?php selected($o['whocansee'], 'read') ?>><?php echo translate_user_role('Subscriber') ?></option>
counter.css CHANGED
@@ -13,7 +13,11 @@
13
 
14
  h2 .cpd_icon {
15
  vertical-align: top;
16
- margin-top:5px;
 
 
 
 
17
  }
18
 
19
  .cpd_backups {
13
 
14
  h2 .cpd_icon {
15
  vertical-align: top;
16
+ margin-top:2px;
17
+ }
18
+
19
+ #cpdtoolccs h3 {
20
+ margin-left: 1em;
21
  }
22
 
23
  .cpd_backups {
counter.php CHANGED
@@ -3,14 +3,17 @@
3
  Plugin Name: Count Per Day
4
  Plugin URI: http://www.tomsdimension.de/wp-plugins/count-per-day
5
  Description: Counter, shows reads and visitors per page; today, yesterday, last week, last months ... on dashboard, per shortcode or in widget.
6
- Version: 3.4.1
7
  License: Postcardware
8
  Author: Tom Braider
9
  Author URI: http://www.tomsdimension.de
10
  */
11
 
 
 
 
12
  $cpd_dir_name = 'count-per-day';
13
- $cpd_version = '3.4.1';
14
 
15
  if (strpos($_SERVER['SERVER_NAME'], '.test'))
16
  $cpd_path = str_replace('/', DIRECTORY_SEPARATOR, ABSPATH.PLUGINDIR.'/'.$cpd_dir_name.'/');
@@ -27,7 +30,7 @@ class CountPerDay extends CountPerDayCore
27
  /**
28
  * constructor
29
  */
30
- function CountPerDay()
31
  {
32
  $this->init();
33
  }
@@ -70,7 +73,7 @@ function show( $before='', $after=' reads', $show = true, $count = true, $page =
70
  */
71
  function count( $x, $page = 'x' )
72
  {
73
- global $wpdb, $wp_query, $cpd_path, $cpd_geoip, $userdata;
74
 
75
  if ($this->options['debug'])
76
  $this->queries[] = 'called Function: <b style="color:blue">count</b> page: <code>'.$page.'</code>';
@@ -145,35 +148,42 @@ function count( $x, $page = 'x' )
145
  $count = $this->mysqlQuery('var', $wpdb->prepare("SELECT COUNT(*) FROM $wpdb->cpd_counter WHERE ip=$this->aton(%s) AND date=%s AND page=%d", $userip, $date, $page), 'count check '.__LINE__);
146
  if ( !$count )
147
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  // save count
149
  if ($cpd_geoip)
150
  {
151
  // with GeoIP addon save country
152
- $gi = cpd_geoip_open($cpd_path.'geoip/GeoIP.dat', GEOIP_STANDARD);
153
 
154
  if (!filter_var($userip, FILTER_VALIDATE_IP))
155
  $userip = '127.0.0.1';
156
 
157
  if ( strpos($userip,'.') !== false && strpos($userip,':') === false)
158
- {
159
  // IPv4
160
- $country = strtolower(cpd_geoip_country_code_by_addr_v6($gi, '::'.$userip));
161
- $userip2 = $userip;
162
- }
163
  else
164
- {
165
  // IPv6
166
- $country = strtolower(cpd_geoip_country_code_by_addr_v6($gi, $userip));
167
-
168
- // store dummy ipv4 until we can handle ipv6
169
- $packed = cpd_inet_pton($userip);
170
- if (strlen($packed) === 4)
171
- $unpacked = array_pad(unpack( "C4", $packed), -16, 0);
172
- else
173
- $unpacked = array_merge(unpack( "C16", $packed));
174
- $unpacked = array_slice($unpacked, 12);
175
- $userip2 = implode('.', $unpacked);
176
- }
177
  if (empty($country))
178
  $country = '-';
179
 
@@ -185,7 +195,7 @@ function count( $x, $page = 'x' )
185
  else
186
  // without country
187
  $this->mysqlQuery('', $wpdb->prepare("INSERT INTO $wpdb->cpd_counter (page, ip, client, date, referer)
188
- VALUES (%d, $this->aton(%s), %s, %s, %s)", $page, $userip2, $client, $date, $referer), 'count insert '.__LINE__);
189
  }
190
  // online counter
191
  $oc = (array) get_option('count_per_day_online');
@@ -282,7 +292,7 @@ function getFlotChart( $limit = 0 )
282
  // create data array
283
  $data = array();
284
  for ( $day = $start_time; $day < $end_time; $day = $day + 86400 )
285
- $data[$day] = array(0, 0);
286
 
287
  // reads
288
  $sql = $wpdb->prepare("
@@ -294,7 +304,7 @@ function getFlotChart( $limit = 0 )
294
  $res = $this->mysqlQuery('rows', $sql, 'ChartReads '.__LINE__);
295
  if ($res)
296
  foreach ($res as $row)
297
- $data[strtotime($row->date)][0] = $row->count;
298
 
299
  // visitors
300
  $sql = $wpdb->prepare("
@@ -309,15 +319,15 @@ function getFlotChart( $limit = 0 )
309
  $res = $this->mysqlQuery('rows', $sql, 'ChartVisitors '.__LINE__);
310
  if ($res)
311
  foreach ($res as $row)
312
- $data[strtotime($row->date)][1] = $row->count;
313
-
314
  // fill data array
315
  $reads = array();
316
  $visitors = array();
317
  foreach ( $data as $day => $values )
318
  {
319
- $reads[] = '['.$day.'000,'.$values[0].']';
320
- $visitors[] = '['.$day.'000,'.$values[1].']';
321
  }
322
  $reads_line = '['.implode(',', $reads).']';
323
  $visitors_line = '['.implode(',', $visitors).']';
@@ -413,6 +423,10 @@ function getFlotChart( $limit = 0 )
413
  });
414
  }
415
 
 
 
 
 
416
  plotAccordingToChoices();
417
  });
418
  //]]>
@@ -425,7 +439,7 @@ function getFlotChart( $limit = 0 )
425
  */
426
  function getUserOnline( $frontend = false, $country = false, $return = false )
427
  {
428
- global $wpdb, $cpd_geoip, $cpd_path;
429
  $c = '';
430
 
431
  $oc = get_option('count_per_day_online');
@@ -434,22 +448,22 @@ function getUserOnline( $frontend = false, $country = false, $return = false )
434
  {
435
  // map link
436
  if ( !$frontend && file_exists($cpd_path.'map/map.php') )
437
- $c .= '<div style="margin: 5px 0 10px 0;"><a href="'.$this->dir.'/map/map.php?map=online'
438
  .'&amp;KeepThis=true&amp;TB_iframe=true" title="Count per Day - '.__('Map', 'cpd').'" class="thickbox button">'.__('Map', 'cpd').'</a></div>';
439
 
440
  // countries list
441
- $geoip = new GeoIPCpd();
442
- $gi = cpd_geoip_open($cpd_path.'geoip/GeoIP.dat', GEOIP_STANDARD);
443
 
444
  $vo = array();
445
  foreach ( $oc as $ip=>$x )
446
  {
447
  if ( strpos($ip,'.') !== false && strpos($ip,':') === false)
448
  // IPv4
449
- $country = strtolower(cpd_geoip_country_code_by_addr_v6($gi, '::'.$ip));
450
  else
451
  // IPv6
452
- $country = strtolower(cpd_geoip_country_code_by_addr_v6($gi, $ip));
453
  $id = $geoip->GEOIP_COUNTRY_CODE_TO_NUMBER[strtoupper($country)];
454
  if ( empty($id) )
455
  {
@@ -892,7 +906,7 @@ function getVisitedPostsOnDay( $date = 0, $limit = 0, $show_form = true, $show_n
892
  <input name="daytoshow" value="'.$date.'" size="11" />
893
  <input type="submit" name="showday" value="'.__('Show').'" class="button" />';
894
  if ( $show_notes )
895
- echo ' <a href="'.$this->dir.'/notes.php?KeepThis=true&amp;TB_iframe=true" title="Count per Day - '.__('Notes', 'cpd').'" class="button thickbox">'.__('Notes', 'cpd').'</a> ';
896
  echo '</form>';
897
  }
898
  if (isset($note))
@@ -949,8 +963,11 @@ function getClients( $return = false )
949
  {
950
  $c = trim($c);
951
  $sql = "SELECT COUNT(*) FROM $wpdb->cpd_counter WHERE client LIKE '%%".$c."%%'";
952
- if ( strtolower($c) == 'safari' ) // don't count chrome too while counting safari
953
- $sql .= " AND client NOT LIKE '%%chrome%%'";
 
 
 
954
  $count = $this->mysqlQuery('var', $sql, 'getClients_'.$c.'_ '.__LINE__);
955
  $percent = number_format(100 * $count / $all, 0);
956
  $rest -= $percent;
@@ -1123,17 +1140,16 @@ function getUserPer_SQL( $sql, $name = '', $frontend = false, $limit = 0 )
1123
  return;
1124
  }
1125
 
1126
-
1127
  $r = '<ul class="cpd_front_list">';
1128
  foreach ( $m as $row )
1129
  {
1130
  $r .= '<li>';
1131
  // link only for editors in backend
1132
- if ( current_user_can('manage_links') && !$frontend )
1133
  {
1134
  if ( $row->post_id > 0 )
1135
  $r .= '<a href="post.php?action=edit&amp;post='.$row->post_id.'"><img src="'.$this->img('cpd_pen.png').'" alt="[e]" title="'.__('Edit Post').'" style="width:9px;height:12px;" /></a> '
1136
- .'<a href="'.$this->dir.'/userperspan.php?page='.$row->post_id.'&amp;KeepThis=true&amp;TB_iframe=true" class="thickbox" title="Count per Day"><img src="'.$this->img('cpd_calendar.png').'" alt="[v]" style="width:12px;height:12px;" /></a> ';
1137
  else
1138
  $r .= '<img src="'.$this->img('cpd_trans.png').'" alt="" style="width:25px;height:12px;" />';
1139
  }
@@ -1159,12 +1175,6 @@ function getUserPer_SQL( $sql, $name = '', $frontend = false, $limit = 0 )
1159
  return $r;
1160
  }
1161
 
1162
-
1163
- /**
1164
- * shows visitors of the last days
1165
- */
1166
-
1167
-
1168
  /**
1169
  * shows searchstrings
1170
  */
@@ -1233,20 +1243,20 @@ function dashboardWidget()
1233
  */
1234
  function getCountries( $limit = 0, $frontend = false, $visitors = false, $return = false )
1235
  {
1236
- global $wpdb, $cpd_path, $cpd_geoip;
1237
  $c = '';
1238
 
1239
  // with GeoIP addon only
1240
  if ( $cpd_geoip )
1241
  {
1242
- $geoip = new GeoIPCpD();
1243
  if ( $limit == 0 )
1244
  $limit = max( 0, $this->options['countries'] );
1245
 
1246
  // map link
1247
  if (!$frontend && file_exists($cpd_path.'map/map.php') )
1248
  {
1249
- $c .= '<div style="margin: 5px 0 10px 0;"><a href="'.$this->dir.'/map/map.php?map=';
1250
  if ( $visitors )
1251
  $c .= 'visitors';
1252
  else
@@ -1284,29 +1294,91 @@ function getCountries( $limit = 0, $frontend = false, $visitors = false, $return
1284
  * @param string $what visitors|reads|online
1285
  * @param int $width size
1286
  * @param int $height size
1287
- * @param int $min : 1 disable title, legend and zoombar
1288
  */
1289
- function getMap( $what = 'visitors', $width = 500, $height = 340, $min = 0 )
1290
  {
1291
- $divid = uniqid('cpdmap_');
1292
- $dir = $this->dir.'/map/';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1293
  ?>
1294
- <script type="text/javascript" src="<?php echo $dir ?>swfobject.js"></script>
1295
- <div id="<?php echo $divid ?>" class="cpd_worldmap" style="width:<?php echo $width ?>px; height:<?php echo $height ?>px; background:#4499FF;">
1296
- <strong>Flash World Map</strong>
1297
- </div>
1298
  <script type="text/javascript">
1299
- //<![CDATA[
1300
- var so = new SWFObject("<?php echo $dir ?>ammap.swf", "ammap", "100%", "100%", "8", "#4499FF");
1301
- so.addVariable("path", "<?php echo $dir ?>");
1302
- so.addVariable("settings_file", escape("<?php echo $dir ?>settings.xml.php?map=<?php echo $what ?>&min=<?php echo $min ?>"));
1303
- so.addVariable("data_file", escape("<?php echo $dir ?>data.xml.php?map=<?php echo $what ?>&min=<?php echo $min ?>"));
1304
- so.write("<?php echo $divid ?>");
1305
- //]]>
1306
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1307
  <?php
1308
  }
1309
 
 
1310
  } // class end
1311
 
1312
 
@@ -1332,10 +1404,10 @@ class CountPerDay_Widget extends WP_Widget
1332
  var $names;
1333
 
1334
  // constructor
1335
- function CountPerDay_Widget() {
1336
  $this->funcs = array_slice( $this->fields, 2, 14);
1337
  $this->names = array_slice( $this->fields, 16, 14);
1338
- parent::WP_Widget('countperday_widget', 'Count per Day',
1339
  array('description' => __('Statistics', 'cpd')), array('width' => 270) );
1340
  }
1341
 
3
  Plugin Name: Count Per Day
4
  Plugin URI: http://www.tomsdimension.de/wp-plugins/count-per-day
5
  Description: Counter, shows reads and visitors per page; today, yesterday, last week, last months ... on dashboard, per shortcode or in widget.
6
+ Version: 3.5.1
7
  License: Postcardware
8
  Author: Tom Braider
9
  Author URI: http://www.tomsdimension.de
10
  */
11
 
12
+ if (!defined('ABSPATH'))
13
+ exit;
14
+
15
  $cpd_dir_name = 'count-per-day';
16
+ $cpd_version = '3.5.1';
17
 
18
  if (strpos($_SERVER['SERVER_NAME'], '.test'))
19
  $cpd_path = str_replace('/', DIRECTORY_SEPARATOR, ABSPATH.PLUGINDIR.'/'.$cpd_dir_name.'/');
30
  /**
31
  * constructor
32
  */
33
+ function __construct()
34
  {
35
  $this->init();
36
  }
73
  */
74
  function count( $x, $page = 'x' )
75
  {
76
+ global $wpdb, $wp_query, $cpd_path, $cpd_geoip, $cpd_geoip_dir, $userdata;
77
 
78
  if ($this->options['debug'])
79
  $this->queries[] = 'called Function: <b style="color:blue">count</b> page: <code>'.$page.'</code>';
148
  $count = $this->mysqlQuery('var', $wpdb->prepare("SELECT COUNT(*) FROM $wpdb->cpd_counter WHERE ip=$this->aton(%s) AND date=%s AND page=%d", $userip, $date, $page), 'count check '.__LINE__);
149
  if ( !$count )
150
  {
151
+
152
+ // IP to IPv4
153
+ if ( strpos($userip,'.') !== false && strpos($userip,':') === false)
154
+ {
155
+ // IPv4
156
+ $userip2 = $userip;
157
+ }
158
+ else
159
+ {
160
+ // IPv6
161
+ // store dummy ipv4 until we can handle ipv6
162
+ $packed = cpd_inet_pton($userip);
163
+ if (strlen($packed) === 4)
164
+ $unpacked = array_pad(unpack( "C4", $packed), -16, 0);
165
+ else
166
+ $unpacked = array_merge(unpack( "C16", $packed));
167
+ $unpacked = array_slice($unpacked, 12);
168
+ $userip2 = implode('.', $unpacked);
169
+ }
170
+
171
  // save count
172
  if ($cpd_geoip)
173
  {
174
  // with GeoIP addon save country
175
+ $gi = geoip_open($cpd_geoip_dir.'GeoIP.dat', GEOIP_STANDARD);
176
 
177
  if (!filter_var($userip, FILTER_VALIDATE_IP))
178
  $userip = '127.0.0.1';
179
 
180
  if ( strpos($userip,'.') !== false && strpos($userip,':') === false)
 
181
  // IPv4
182
+ $country = strtolower(geoip_country_code_by_addr_v6($gi, '::'.$userip));
 
 
183
  else
 
184
  // IPv6
185
+ $country = strtolower(geoip_country_code_by_addr_v6($gi, $userip));
186
+
 
 
 
 
 
 
 
 
 
187
  if (empty($country))
188
  $country = '-';
189
 
195
  else
196
  // without country
197
  $this->mysqlQuery('', $wpdb->prepare("INSERT INTO $wpdb->cpd_counter (page, ip, client, date, referer)
198
+ VALUES (%d, $this->aton(%s), %s, %s, %s)", $page, $userip2, $client, $date, $referer), 'count insert '.__LINE__.' - '.$userip.' - '.$userip2.' -');
199
  }
200
  // online counter
201
  $oc = (array) get_option('count_per_day_online');
292
  // create data array
293
  $data = array();
294
  for ( $day = $start_time; $day < $end_time; $day = $day + 86400 )
295
+ $data[date('Y,n,j', $day)] = array(0, 0);
296
 
297
  // reads
298
  $sql = $wpdb->prepare("
304
  $res = $this->mysqlQuery('rows', $sql, 'ChartReads '.__LINE__);
305
  if ($res)
306
  foreach ($res as $row)
307
+ $data[date('Y,n,j', strtotime($row->date))][0] = $row->count;
308
 
309
  // visitors
310
  $sql = $wpdb->prepare("
319
  $res = $this->mysqlQuery('rows', $sql, 'ChartVisitors '.__LINE__);
320
  if ($res)
321
  foreach ($res as $row)
322
+ $data[date('Y,n,j', strtotime($row->date))][1] = $row->count;
323
+
324
  // fill data array
325
  $reads = array();
326
  $visitors = array();
327
  foreach ( $data as $day => $values )
328
  {
329
+ $reads[] = '[gd('.$day.'),'.$values[0].']';
330
+ $visitors[] = '[gd('.$day.'),'.$values[1].']';
331
  }
332
  $reads_line = '['.implode(',', $reads).']';
333
  $visitors_line = '['.implode(',', $visitors).']';
423
  });
424
  }
425
 
426
+ function gd(year, month, day) {
427
+ return new Date(year, month - 1, day).getTime();
428
+ }
429
+
430
  plotAccordingToChoices();
431
  });
432
  //]]>
439
  */
440
  function getUserOnline( $frontend = false, $country = false, $return = false )
441
  {
442
+ global $wpdb, $cpd_geoip, $cpd_path, $cpd_geoip_dir;
443
  $c = '';
444
 
445
  $oc = get_option('count_per_day_online');
448
  {
449
  // map link
450
  if ( !$frontend && file_exists($cpd_path.'map/map.php') )
451
+ $c .= '<div style="margin: 5px 0 10px 0;"><a href="?page=cpd_map&amp;map=online'
452
  .'&amp;KeepThis=true&amp;TB_iframe=true" title="Count per Day - '.__('Map', 'cpd').'" class="thickbox button">'.__('Map', 'cpd').'</a></div>';
453
 
454
  // countries list
455
+ $geoip = new GeoIP();
456
+ $gi = geoip_open($cpd_geoip_dir.'GeoIP.dat', GEOIP_STANDARD);
457
 
458
  $vo = array();
459
  foreach ( $oc as $ip=>$x )
460
  {
461
  if ( strpos($ip,'.') !== false && strpos($ip,':') === false)
462
  // IPv4
463
+ $country = strtolower(geoip_country_code_by_addr_v6($gi, '::'.$ip));
464
  else
465
  // IPv6
466
+ $country = strtolower(geoip_country_code_by_addr_v6($gi, $ip));
467
  $id = $geoip->GEOIP_COUNTRY_CODE_TO_NUMBER[strtoupper($country)];
468
  if ( empty($id) )
469
  {
906
  <input name="daytoshow" value="'.$date.'" size="11" />
907
  <input type="submit" name="showday" value="'.__('Show').'" class="button" />';
908
  if ( $show_notes )
909
+ echo ' <a href="?page=cpd_notes&amp;KeepThis=true&amp;TB_iframe=true" title="Count per Day - '.__('Notes', 'cpd').'" class="button thickbox">'.__('Notes', 'cpd').'</a> ';
910
  echo '</form>';
911
  }
912
  if (isset($note))
963
  {
964
  $c = trim($c);
965
  $sql = "SELECT COUNT(*) FROM $wpdb->cpd_counter WHERE client LIKE '%%".$c."%%'";
966
+ if ( strtolower($c) == 'safari' ) // don't count chrome and egde too while counting safari
967
+ $sql .= " AND client NOT LIKE '%%chrome%%'
968
+ AND client NOT LIKE '%%edge%%'";
969
+ if ( strtolower($c) == 'chrome' ) // don't count edge too while counting chrome
970
+ $sql .= " AND client NOT LIKE '%%edge%%'";
971
  $count = $this->mysqlQuery('var', $sql, 'getClients_'.$c.'_ '.__LINE__);
972
  $percent = number_format(100 * $count / $all, 0);
973
  $rest -= $percent;
1140
  return;
1141
  }
1142
 
 
1143
  $r = '<ul class="cpd_front_list">';
1144
  foreach ( $m as $row )
1145
  {
1146
  $r .= '<li>';
1147
  // link only for editors in backend
1148
+ if ( current_user_can('edit_others_posts') && !$frontend )
1149
  {
1150
  if ( $row->post_id > 0 )
1151
  $r .= '<a href="post.php?action=edit&amp;post='.$row->post_id.'"><img src="'.$this->img('cpd_pen.png').'" alt="[e]" title="'.__('Edit Post').'" style="width:9px;height:12px;" /></a> '
1152
+ .'<a href="?page=cpd_userperspan&amp;cpage='.$row->post_id.'&amp;KeepThis=true&amp;TB_iframe=true" class="thickbox" title="Count per Day"><img src="'.$this->img('cpd_calendar.png').'" alt="[v]" style="width:12px;height:12px;" /></a> ';
1153
  else
1154
  $r .= '<img src="'.$this->img('cpd_trans.png').'" alt="" style="width:25px;height:12px;" />';
1155
  }
1175
  return $r;
1176
  }
1177
 
 
 
 
 
 
 
1178
  /**
1179
  * shows searchstrings
1180
  */
1243
  */
1244
  function getCountries( $limit = 0, $frontend = false, $visitors = false, $return = false )
1245
  {
1246
+ global $wpdb, $cpd_path, $c, $cpd_geoip;
1247
  $c = '';
1248
 
1249
  // with GeoIP addon only
1250
  if ( $cpd_geoip )
1251
  {
1252
+ $geoip = new GeoIP();
1253
  if ( $limit == 0 )
1254
  $limit = max( 0, $this->options['countries'] );
1255
 
1256
  // map link
1257
  if (!$frontend && file_exists($cpd_path.'map/map.php') )
1258
  {
1259
+ $c .= '<div style="margin: 5px 0 10px 0;"><a href="?page=cpd_map&amp;map=';
1260
  if ( $visitors )
1261
  $c .= 'visitors';
1262
  else
1294
  * @param string $what visitors|reads|online
1295
  * @param int $width size
1296
  * @param int $height size
 
1297
  */
1298
+ function getMap( $what = 'visitors', $width = 500, $height = 430 )
1299
  {
1300
+ global $cpd_geoip, $cpd_geoip_dir, $cpd_data;
1301
+
1302
+ if ( !$cpd_geoip || !in_array($what, array('visitors','reads','online')) )
1303
+ return;
1304
+
1305
+ $cpd_data = array('-' => 0);
1306
+ if ( $what == 'online' )
1307
+ {
1308
+ require_once(WP_PLUGIN_DIR.'/count-per-day/geoip.php');
1309
+ $oc = get_option('count_per_day_online', array());
1310
+ $gi = geoip_open($cpd_geoip_dir.'GeoIP.dat', GEOIP_STANDARD);
1311
+ $vo = array();
1312
+ foreach ($oc as $ip => $x)
1313
+ {
1314
+ if ( strpos($ip,'.') !== false && strpos($ip,':') === false)
1315
+ // IPv4 -> IPv6
1316
+ $ip = '::'.$ip;
1317
+ $country = strtoupper(geoip_country_code_by_addr_v6($gi, $ip));
1318
+ $cpd_data[$country] = (isset($cpd_data[$country])) ? $cpd_data[$country] + 1 : 1;
1319
+ }
1320
+ }
1321
+ else
1322
+ {
1323
+ $temp = $this->addCollectionToCountries( ($what == 'visitors') );
1324
+ foreach ($temp as $country => $value)
1325
+ if ($country != '-')
1326
+ $cpd_data[strtoupper($country)] = $value;
1327
+ }
1328
+ ?>
1329
+ <div id="mapdiv" class="cpdmap-frontend" style="width:<?php echo $width ?>px;height:<?php echo $height ?>px;"></div>
1330
+ <?php
1331
+ wp_enqueue_script( 'cpd_ammap', $this->dir.'/map/ammap.js', false );
1332
+ wp_enqueue_script( 'cpd_worldLow', $this->dir.'/map/worldLow.js', false );
1333
+ add_action('wp_footer', array(&$this,'addMapScript'), 100);
1334
+ }
1335
+
1336
+
1337
+ function addMapScript()
1338
+ {
1339
+ global $cpd_dir, $cpd_data;
1340
+ var_dump($cpd_data);
1341
  ?>
 
 
 
 
1342
  <script type="text/javascript">
1343
+ AmCharts.ready(function() {
1344
+ var map = new AmCharts.AmMap();
1345
+ map.pathToImages = "<?php echo WP_PLUGIN_URL ?>/count-per-day/map/images/";
1346
+ map.addTitle("Your Visitors all over the World", 14);
1347
+ map.mouseWheelZoomEnabled = true;
1348
+ var c = "#38E";
1349
+ map.dataProvider = {
1350
+ mapVar: AmCharts.maps.worldLow,
1351
+ getAreasFromMap:true,
1352
+ areas: [
1353
+ {id:"AE",value:0,color:c},{id:"AF",value:0,color:c},{id:"AL",value:0,color:c},{id:"AM",value:0,color:c},{id:"AO",value:0,color:c},{id:"AR",value:0,color:c},{id:"AT",value:0,color:c},{id:"AU",value:0,color:c},{id:"AZ",value:0,color:c},{id:"BA",value:0,color:c},{id:"BD",value:0,color:c},{id:"BE",value:0,color:c},{id:"BF",value:0,color:c},{id:"BG",value:0,color:c},{id:"BI",value:0,color:c},{id:"BJ",value:0,color:c},{id:"BN",value:0,color:c},{id:"BO",value:0,color:c},{id:"BR",value:0,color:c},{id:"BS",value:0,color:c},{id:"BT",value:0,color:c},{id:"BW",value:0,color:c},{id:"BY",value:0,color:c},{id:"BZ",value:0,color:c},{id:"CA",value:0,color:c},{id:"CD",value:0,color:c},{id:"CF",value:0,color:c},{id:"CG",value:0,color:c},{id:"CH",value:0,color:c},{id:"CI",value:0,color:c},{id:"CL",value:0,color:c},{id:"CM",value:0,color:c},{id:"CN",value:0,color:c},{id:"CO",value:0,color:c},{id:"CR",value:0,color:c},{id:"CU",value:0,color:c},{id:"CY",value:0,color:c},{id:"CZ",value:0,color:c},{id:"DE",value:0,color:c},{id:"DJ",value:0,color:c},{id:"DK",value:0,color:c},{id:"DO",value:0,color:c},{id:"DZ",value:0,color:c},{id:"EC",value:0,color:c},{id:"EE",value:0,color:c},{id:"EG",value:0,color:c},{id:"EH",value:0,color:c},{id:"ER",value:0,color:c},{id:"ES",value:0,color:c},{id:"ET",value:0,color:c},{id:"FK",value:0,color:c},{id:"FI",value:0,color:c},{id:"FJ",value:0,color:c},{id:"FR",value:0,color:c},{id:"GA",value:0,color:c},{id:"GB",value:0,color:c},{id:"GE",value:0,color:c},{id:"GF",value:0,color:c},{id:"GH",value:0,color:c},{id:"GL",value:0,color:c},{id:"GM",value:0,color:c},{id:"GN",value:0,color:c},{id:"GQ",value:0,color:c},{id:"GR",value:0,color:c},{id:"GT",value:0,color:c},{id:"GW",value:0,color:c},{id:"GY",value:0,color:c},{id:"HN",value:0,color:c},{id:"HR",value:0,color:c},{id:"HT",value:0,color:c},{id:"HU",value:0,color:c},{id:"ID",value:0,color:c},{id:"IE",value:0,color:c},{id:"IL",value:0,color:c},{id:"IN",value:0,color:c},{id:"IQ",value:0,color:c},{id:"IR",value:0,color:c},{id:"IS",value:0,color:c},{id:"IT",value:0,color:c},{id:"JM",value:0,color:c},{id:"JO",value:0,color:c},{id:"JP",value:0,color:c},{id:"KE",value:0,color:c},{id:"KG",value:0,color:c},{id:"KH",value:0,color:c},{id:"KP",value:0,color:c},{id:"KR",value:0,color:c},{id:"XK",value:0,color:c},{id:"KW",value:0,color:c},{id:"KZ",value:0,color:c},{id:"LA",value:0,color:c},{id:"LB",value:0,color:c},{id:"LK",value:0,color:c},{id:"LR",value:0,color:c},{id:"LS",value:0,color:c},{id:"LT",value:0,color:c},{id:"LU",value:0,color:c},{id:"LV",value:0,color:c},{id:"LY",value:0,color:c},{id:"MA",value:0,color:c},{id:"MD",value:0,color:c},{id:"ME",value:0,color:c},{id:"MG",value:0,color:c},{id:"MK",value:0,color:c},{id:"ML",value:0,color:c},{id:"MM",value:0,color:c},{id:"MN",value:0,color:c},{id:"MR",value:0,color:c},{id:"MW",value:0,color:c},{id:"MX",value:0,color:c},{id:"MY",value:0,color:c},{id:"MZ",value:0,color:c},{id:"NA",value:0,color:c},{id:"NC",value:0,color:c},{id:"NE",value:0,color:c},{id:"NG",value:0,color:c},{id:"NI",value:0,color:c},{id:"NL",value:0,color:c},{id:"NO",value:0,color:c},{id:"NP",value:0,color:c},{id:"NZ",value:0,color:c},{id:"OM",value:0,color:c},{id:"PA",value:0,color:c},{id:"PE",value:0,color:c},{id:"PG",value:0,color:c},{id:"PH",value:0,color:c},{id:"PL",value:0,color:c},{id:"PK",value:0,color:c},{id:"PR",value:0,color:c},{id:"PS",value:0,color:c},{id:"PT",value:0,color:c},{id:"PY",value:0,color:c},{id:"QA",value:0,color:c},{id:"RO",value:0,color:c},{id:"RS",value:0,color:c},{id:"RU",value:0,color:c},{id:"RW",value:0,color:c},{id:"SA",value:0,color:c},{id:"SB",value:0,color:c},{id:"SD",value:0,color:c},{id:"SE",value:0,color:c},{id:"SI",value:0,color:c},{id:"SJ",value:0,color:c},{id:"SK",value:0,color:c},{id:"SL",value:0,color:c},{id:"SN",value:0,color:c},{id:"SO",value:0,color:c},{id:"SR",value:0,color:c},{id:"SS",value:0,color:c},{id:"SV",value:0,color:c},{id:"SY",value:0,color:c},{id:"SZ",value:0,color:c},{id:"TD",value:0,color:c},{id:"TF",value:0,color:c},{id:"TG",value:0,color:c},{id:"TH",value:0,color:c},{id:"TJ",value:0,color:c},{id:"TL",value:0,color:c},{id:"TM",value:0,color:c},{id:"TN",value:0,color:c},{id:"TR",value:0,color:c},{id:"TT",value:0,color:c},{id:"TW",value:0,color:c},{id:"TZ",value:0,color:c},{id:"UA",value:0,color:c},{id:"UG",value:0,color:c},{id:"US",value:0,color:c},{id:"UY",value:0,color:c},{id:"UZ",value:0,color:c},{id:"VE",value:0,color:c},{id:"VN",value:0,color:c},{id:"VU",value:0,color:c},{id:"YE",value:0,color:c},{id:"ZA",value:0,color:c},{id:"ZM",value:0,color:c},{id:"ZW",value:0,color:c},
1354
+ <?php
1355
+ $r = __('Reads','cpd');
1356
+ foreach ( $cpd_data as $k => $v )
1357
+ echo "{id:'$k',value:$v,balloonText:'[[title]]<br><b>[[value]]</b> $r<br>[[percent]]%'},"
1358
+ ?>
1359
+ ]};
1360
+ map.areasSettings = {
1361
+ color: "#FFFFFF",
1362
+ outlineColor: "#CCCCCC",
1363
+ outlineThickness: 0.2,
1364
+ rollOverColor: "#FFFF00"
1365
+ };
1366
+ var legend = new AmCharts.ValueLegend();
1367
+ legend.minValue = <?php echo min($cpd_data) ?>;
1368
+ legend.left = 10;
1369
+ legend.bottom = 25;
1370
+ legend.width = 150;
1371
+ legend.borderThickness = 0;
1372
+ legend.showAsGradient = true;
1373
+ map.valueLegend = legend;
1374
+
1375
+ map.write("mapdiv");
1376
+ });
1377
+ </script>
1378
  <?php
1379
  }
1380
 
1381
+
1382
  } // class end
1383
 
1384
 
1404
  var $names;
1405
 
1406
  // constructor
1407
+ function __construct() {
1408
  $this->funcs = array_slice( $this->fields, 2, 14);
1409
  $this->names = array_slice( $this->fields, 16, 14);
1410
+ parent::__construct('countperday_widget', 'Count per Day',
1411
  array('description' => __('Statistics', 'cpd')), array('width' => 270) );
1412
  }
1413
 
download.php CHANGED
@@ -1,8 +1,23 @@
1
  <?php
2
  /*
 
3
  * f = filename in tempdir
4
  * n = download filename
5
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  if ( empty($_GET['f']) || empty($_GET['n']) )
7
  die('no way');
8
  $file = sys_get_temp_dir().'/'.strip_tags($_GET['f']);
1
  <?php
2
  /*
3
+ * Download backup files
4
  * f = filename in tempdir
5
  * n = download filename
6
  */
7
+
8
+ if (!defined('ABSPATH'))
9
+ exit;
10
+
11
+ // check user
12
+ $o = get_option('count_per_day');
13
+ $can_see = str_replace(
14
+ // administrator, editor, author, contributor, subscriber
15
+ array(10, 7, 2, 1, 0),
16
+ array('manage_options', 'moderate_comments', 'edit_published_posts', 'edit_posts', 'read'),
17
+ $o['show_in_lists']);
18
+ if ( !current_user_can($can_see) )
19
+ die('no way');
20
+
21
  if ( empty($_GET['f']) || empty($_GET['n']) )
22
  die('no way');
23
  $file = sys_get_temp_dir().'/'.strip_tags($_GET['f']);
geoip/geoip.php → geoip.php RENAMED
@@ -4,10 +4,11 @@
4
  * Count Per Day - GeoIP Addon
5
  */
6
 
7
- /**
8
- */
9
- if (!class_exists('GeoIpCpD'))
10
- include_once('geoip.inc');
 
11
 
12
  class CpdGeoIp
13
  {
@@ -19,19 +20,18 @@ class CpdGeoIp
19
  */
20
  static function getCountry( $ip )
21
  {
22
- global $cpd_path;
23
 
24
  // IPv4 > IPv6
25
  if ( strpos($ip,'.') !== false && strpos($ip,':') === false)
26
  $ip = "::$ip";
27
 
28
- $gi = cpd_geoip_open($cpd_path.'/geoip/GeoIP.dat', GEOIP_STANDARD);
29
 
30
- // if ( strpos($ip, 'u') !== false ) // 'unknow...'
31
  if (filter_var($ip, FILTER_VALIDATE_IP))
32
  {
33
- $c = strtolower(cpd_geoip_country_code_by_addr_v6($gi, $ip));
34
- $cname = cpd_geoip_country_name_by_addr_v6($gi, $ip);
35
  }
36
 
37
  if ( empty($c) )
@@ -39,7 +39,7 @@ static function getCountry( $ip )
39
  $c = 'unknown';
40
  $cname = '';
41
  }
42
- cpd_geoip_close($gi);
43
  $country = array( $c, '<div class="cpd-flag cpd-flag-'.$c.'" title="'.$cname.'"></div>', $cname );
44
  return $country;
45
  }
@@ -49,16 +49,11 @@ static function getCountry( $ip )
49
  */
50
  static function updateDB()
51
  {
52
- global $count_per_day, $cpd_path, $wpdb;
53
-
54
- $count_per_day->mysqlQuery('rows', "SELECT country FROM $wpdb->cpd_counter LIMIT 1", 'GeoIP updateDB Table '.__LINE__);
55
- if ((int) mysql_errno() == 1054)
56
- // add row "country" to table
57
- $count_per_day->mysqlQuery('', "ALTER TABLE $wpdb->cpd_counter ADD `country` CHAR( 2 ) NOT NULL", 'GeoIP updateDB create column '.__LINE__);
58
 
59
  $limit = 20;
60
  $res = $count_per_day->mysqlQuery('rows', "SELECT ip, $count_per_day->ntoa(ip) realip FROM $wpdb->cpd_counter WHERE country LIKE '' GROUP BY ip LIMIT $limit", 'GeoIP updateDB '.__LINE__);
61
- $gi = cpd_geoip_open($cpd_path.'/geoip/GeoIP.dat', GEOIP_STANDARD);
62
 
63
  foreach ($res as $r)
64
  {
@@ -76,7 +71,7 @@ static function updateDB()
76
  $c = '-';
77
  else
78
  // get country
79
- $c = strtolower(cpd_geoip_country_code_by_addr_v6($gi, '::'.$r->realip));
80
  }
81
  else
82
  {
@@ -88,14 +83,14 @@ static function updateDB()
88
  $c = '-';
89
  else
90
  // get country
91
- $c = strtolower(cpd_geoip_country_code_by_addr_v6($gi, $r->realip));
92
  }
93
 
94
  if ( !empty($c) )
95
  $count_per_day->mysqlQuery('', "UPDATE $wpdb->cpd_counter SET country = '$c' WHERE ip = '$r->ip'", 'GeoIP updateDB '.__LINE__);
96
  }
97
 
98
- cpd_geoip_close($gi);
99
 
100
  $rest = $count_per_day->mysqlQuery('var', "SELECT COUNT(*) FROM $wpdb->cpd_counter WHERE country like ''", 'GeoIP updateDB '.__LINE__);
101
  return (int) $rest;
@@ -103,11 +98,11 @@ static function updateDB()
103
 
104
  /**
105
  * updates the GeoIP database file
106
- * works only if directory geoip has rights 777, set it in ftp client
107
  */
108
  static function updateGeoIpFile()
109
  {
110
- global $cpd_path;
111
 
112
  // function checks
113
  if ( !ini_get('allow_url_fopen') )
@@ -116,13 +111,12 @@ static function updateGeoIpFile()
116
  if ( !function_exists('gzopen') )
117
  return __('Sorry, necessary functions (zlib) not installed or enabled in php.ini.', 'cpd');
118
 
119
- // $gzfile = 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz';
120
  $gzfile = 'http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz';
121
- $file = $cpd_path.'/geoip/GeoIP.dat';
122
 
123
  // get remote file
124
  $h = gzopen($gzfile, 'rb');
125
- $content = gzread($h, 1500000);
126
  fclose($h);
127
 
128
  // delete local file
@@ -141,7 +135,7 @@ static function updateGeoIpFile()
141
  if (is_file($file) && $del)
142
  return __('New GeoIP database installed.', 'cpd');
143
  else
144
- return __('Sorry, an error occurred. Try again or check the access rights of directory "geoip" is 777.', 'cpd');
145
  }
146
 
147
 
4
  * Count Per Day - GeoIP Addon
5
  */
6
 
7
+ if (!defined('ABSPATH'))
8
+ exit;
9
+
10
+ if (!class_exists('GeoIp'))
11
+ include_once($cpd_geoip_dir.'geoip.inc');
12
 
13
  class CpdGeoIp
14
  {
20
  */
21
  static function getCountry( $ip )
22
  {
23
+ global $cpd_geoip_dir;
24
 
25
  // IPv4 > IPv6
26
  if ( strpos($ip,'.') !== false && strpos($ip,':') === false)
27
  $ip = "::$ip";
28
 
29
+ $gi = geoip_open($cpd_geoip_dir.'GeoIP.dat', GEOIP_STANDARD);
30
 
 
31
  if (filter_var($ip, FILTER_VALIDATE_IP))
32
  {
33
+ $c = strtolower(geoip_country_code_by_addr_v6($gi, $ip));
34
+ $cname = geoip_country_name_by_addr_v6($gi, $ip);
35
  }
36
 
37
  if ( empty($c) )
39
  $c = 'unknown';
40
  $cname = '';
41
  }
42
+ geoip_close($gi);
43
  $country = array( $c, '<div class="cpd-flag cpd-flag-'.$c.'" title="'.$cname.'"></div>', $cname );
44
  return $country;
45
  }
49
  */
50
  static function updateDB()
51
  {
52
+ global $count_per_day, $cpd_geoip_dir, $wpdb;
 
 
 
 
 
53
 
54
  $limit = 20;
55
  $res = $count_per_day->mysqlQuery('rows', "SELECT ip, $count_per_day->ntoa(ip) realip FROM $wpdb->cpd_counter WHERE country LIKE '' GROUP BY ip LIMIT $limit", 'GeoIP updateDB '.__LINE__);
56
+ $gi = geoip_open($cpd_geoip_dir.'GeoIP.dat', GEOIP_STANDARD);
57
 
58
  foreach ($res as $r)
59
  {
71
  $c = '-';
72
  else
73
  // get country
74
+ $c = strtolower(geoip_country_code_by_addr_v6($gi, '::'.$r->realip));
75
  }
76
  else
77
  {
83
  $c = '-';
84
  else
85
  // get country
86
+ $c = strtolower(geoip_country_code_by_addr_v6($gi, $r->realip));
87
  }
88
 
89
  if ( !empty($c) )
90
  $count_per_day->mysqlQuery('', "UPDATE $wpdb->cpd_counter SET country = '$c' WHERE ip = '$r->ip'", 'GeoIP updateDB '.__LINE__);
91
  }
92
 
93
+ geoip_close($gi);
94
 
95
  $rest = $count_per_day->mysqlQuery('var', "SELECT COUNT(*) FROM $wpdb->cpd_counter WHERE country like ''", 'GeoIP updateDB '.__LINE__);
96
  return (int) $rest;
98
 
99
  /**
100
  * updates the GeoIP database file
101
+ * works only if directory wp-content/count-per-day-geoip has correct permissions, set it in ftp client
102
  */
103
  static function updateGeoIpFile()
104
  {
105
+ global $cpd_geoip_dir;
106
 
107
  // function checks
108
  if ( !ini_get('allow_url_fopen') )
111
  if ( !function_exists('gzopen') )
112
  return __('Sorry, necessary functions (zlib) not installed or enabled in php.ini.', 'cpd');
113
 
 
114
  $gzfile = 'http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz';
115
+ $file = $cpd_geoip_dir.'GeoIP.dat';
116
 
117
  // get remote file
118
  $h = gzopen($gzfile, 'rb');
119
+ $content = gzread($h, 2000000);
120
  fclose($h);
121
 
122
  // delete local file
135
  if (is_file($file) && $del)
136
  return __('New GeoIP database installed.', 'cpd');
137
  else
138
+ return __('Sorry, an error occurred. Try again or check the access rights of directory "wp-content/count-per-day-geoip".', 'cpd');
139
  }
140
 
141
 
geoip/GeoIP.dat DELETED
Binary file
geoip/geoip.inc DELETED
@@ -1,753 +0,0 @@
1
- <?php
2
-
3
- /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
4
- /* geoip.inc
5
- *
6
- * Copyright (C) 2007 MaxMind LLC
7
- *
8
- * This library is free software; you can redistribute it and/or
9
- * modify it under the terms of the GNU Lesser General Public
10
- * License as published by the Free Software Foundation; either
11
- * version 2.1 of the License, or (at your option) any later version.
12
- *
13
- * This library is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
- * Lesser General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU Lesser General Public
19
- * License along with this library; if not, write to the Free Software
20
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
- */
22
-
23
- define("GEOIP_COUNTRY_BEGIN", 16776960);
24
- define("GEOIP_STATE_BEGIN_REV0", 16700000);
25
- define("GEOIP_STATE_BEGIN_REV1", 16000000);
26
- define("GEOIP_STANDARD", 0);
27
- define("GEOIP_MEMORY_CACHE", 1);
28
- define("GEOIP_SHARED_MEMORY", 2);
29
- define("STRUCTURE_INFO_MAX_SIZE", 20);
30
- define("DATABASE_INFO_MAX_SIZE", 100);
31
- define("GEOIP_COUNTRY_EDITION", 106);
32
- define("GEOIP_PROXY_EDITION", 8);
33
- define("GEOIP_ASNUM_EDITION", 9);
34
- define("GEOIP_NETSPEED_EDITION", 10);
35
- define("GEOIP_REGION_EDITION_REV0", 112);
36
- define("GEOIP_REGION_EDITION_REV1", 3);
37
- define("GEOIP_CITY_EDITION_REV0", 111);
38
- define("GEOIP_CITY_EDITION_REV1", 2);
39
- define("GEOIP_ORG_EDITION", 110);
40
- define("GEOIP_ISP_EDITION", 4);
41
- define("SEGMENT_RECORD_LENGTH", 3);
42
- define("STANDARD_RECORD_LENGTH", 3);
43
- define("ORG_RECORD_LENGTH", 4);
44
- define("MAX_RECORD_LENGTH", 4);
45
- define("MAX_ORG_RECORD_LENGTH", 300);
46
- define("GEOIP_SHM_KEY", 0x4f415401);
47
- define("US_OFFSET", 1);
48
- define("CANADA_OFFSET", 677);
49
- define("WORLD_OFFSET", 1353);
50
- define("FIPS_RANGE", 360);
51
- define("GEOIP_UNKNOWN_SPEED", 0);
52
- define("GEOIP_DIALUP_SPEED", 1);
53
- define("GEOIP_CABLEDSL_SPEED", 2);
54
- define("GEOIP_CORPORATE_SPEED", 3);
55
- define("GEOIP_DOMAIN_EDITION", 11);
56
- define("GEOIP_COUNTRY_EDITION_V6", 12);
57
- define("GEOIP_LOCATIONA_EDITION", 13);
58
- define("GEOIP_ACCURACYRADIUS_EDITION", 14);
59
- define("GEOIP_CITYCOMBINED_EDITION", 15);
60
- define("GEOIP_CITY_EDITION_REV1_V6", 30);
61
- define("GEOIP_CITY_EDITION_REV0_V6",31);
62
- define("GEOIP_NETSPEED_EDITION_REV1",32);
63
- define("GEOIP_NETSPEED_EDITION_REV1_V6",33);
64
- define("GEOIP_USERTYPE_EDITION",28);
65
- define("GEOIP_USERTYPE_EDITION_V6",29);
66
- define("GEOIP_ASNUM_EDITION_V6",21);
67
- define("GEOIP_ISP_EDITION_V6",22);
68
- define("GEOIP_ORG_EDITION_V6",23);
69
- define("GEOIP_DOMAIN_EDITION_V6",24);
70
-
71
- define("CITYCOMBINED_FIXED_RECORD", 7 );
72
-
73
- class GeoIPCpd {
74
- var $flags;
75
- var $filehandle;
76
- var $memory_buffer;
77
- var $databaseType;
78
- var $databaseSegments;
79
- var $record_length;
80
- var $shmid;
81
- var $GEOIP_COUNTRY_CODE_TO_NUMBER = array(
82
- "" => 0, "AP" => 1, "EU" => 2, "AD" => 3, "AE" => 4, "AF" => 5,
83
- "AG" => 6, "AI" => 7, "AL" => 8, "AM" => 9, "CW" => 10, "AO" => 11,
84
- "AQ" => 12, "AR" => 13, "AS" => 14, "AT" => 15, "AU" => 16, "AW" => 17,
85
- "AZ" => 18, "BA" => 19, "BB" => 20, "BD" => 21, "BE" => 22, "BF" => 23,
86
- "BG" => 24, "BH" => 25, "BI" => 26, "BJ" => 27, "BM" => 28, "BN" => 29,
87
- "BO" => 30, "BR" => 31, "BS" => 32, "BT" => 33, "BV" => 34, "BW" => 35,
88
- "BY" => 36, "BZ" => 37, "CA" => 38, "CC" => 39, "CD" => 40, "CF" => 41,
89
- "CG" => 42, "CH" => 43, "CI" => 44, "CK" => 45, "CL" => 46, "CM" => 47,
90
- "CN" => 48, "CO" => 49, "CR" => 50, "CU" => 51, "CV" => 52, "CX" => 53,
91
- "CY" => 54, "CZ" => 55, "DE" => 56, "DJ" => 57, "DK" => 58, "DM" => 59,
92
- "DO" => 60, "DZ" => 61, "EC" => 62, "EE" => 63, "EG" => 64, "EH" => 65,
93
- "ER" => 66, "ES" => 67, "ET" => 68, "FI" => 69, "FJ" => 70, "FK" => 71,
94
- "FM" => 72, "FO" => 73, "FR" => 74, "SX" => 75, "GA" => 76, "GB" => 77,
95
- "GD" => 78, "GE" => 79, "GF" => 80, "GH" => 81, "GI" => 82, "GL" => 83,
96
- "GM" => 84, "GN" => 85, "GP" => 86, "GQ" => 87, "GR" => 88, "GS" => 89,
97
- "GT" => 90, "GU" => 91, "GW" => 92, "GY" => 93, "HK" => 94, "HM" => 95,
98
- "HN" => 96, "HR" => 97, "HT" => 98, "HU" => 99, "ID" => 100, "IE" => 101,
99
- "IL" => 102, "IN" => 103, "IO" => 104, "IQ" => 105, "IR" => 106, "IS" => 107,
100
- "IT" => 108, "JM" => 109, "JO" => 110, "JP" => 111, "KE" => 112, "KG" => 113,
101
- "KH" => 114, "KI" => 115, "KM" => 116, "KN" => 117, "KP" => 118, "KR" => 119,
102
- "KW" => 120, "KY" => 121, "KZ" => 122, "LA" => 123, "LB" => 124, "LC" => 125,
103
- "LI" => 126, "LK" => 127, "LR" => 128, "LS" => 129, "LT" => 130, "LU" => 131,
104
- "LV" => 132, "LY" => 133, "MA" => 134, "MC" => 135, "MD" => 136, "MG" => 137,
105
- "MH" => 138, "MK" => 139, "ML" => 140, "MM" => 141, "MN" => 142, "MO" => 143,
106
- "MP" => 144, "MQ" => 145, "MR" => 146, "MS" => 147, "MT" => 148, "MU" => 149,
107
- "MV" => 150, "MW" => 151, "MX" => 152, "MY" => 153, "MZ" => 154, "NA" => 155,
108
- "NC" => 156, "NE" => 157, "NF" => 158, "NG" => 159, "NI" => 160, "NL" => 161,
109
- "NO" => 162, "NP" => 163, "NR" => 164, "NU" => 165, "NZ" => 166, "OM" => 167,
110
- "PA" => 168, "PE" => 169, "PF" => 170, "PG" => 171, "PH" => 172, "PK" => 173,
111
- "PL" => 174, "PM" => 175, "PN" => 176, "PR" => 177, "PS" => 178, "PT" => 179,
112
- "PW" => 180, "PY" => 181, "QA" => 182, "RE" => 183, "RO" => 184, "RU" => 185,
113
- "RW" => 186, "SA" => 187, "SB" => 188, "SC" => 189, "SD" => 190, "SE" => 191,
114
- "SG" => 192, "SH" => 193, "SI" => 194, "SJ" => 195, "SK" => 196, "SL" => 197,
115
- "SM" => 198, "SN" => 199, "SO" => 200, "SR" => 201, "ST" => 202, "SV" => 203,
116
- "SY" => 204, "SZ" => 205, "TC" => 206, "TD" => 207, "TF" => 208, "TG" => 209,
117
- "TH" => 210, "TJ" => 211, "TK" => 212, "TM" => 213, "TN" => 214, "TO" => 215,
118
- "TL" => 216, "TR" => 217, "TT" => 218, "TV" => 219, "TW" => 220, "TZ" => 221,
119
- "UA" => 222, "UG" => 223, "UM" => 224, "US" => 225, "UY" => 226, "UZ" => 227,
120
- "VA" => 228, "VC" => 229, "VE" => 230, "VG" => 231, "VI" => 232, "VN" => 233,
121
- "VU" => 234, "WF" => 235, "WS" => 236, "YE" => 237, "YT" => 238, "RS" => 239,
122
- "ZA" => 240, "ZM" => 241, "ME" => 242, "ZW" => 243, "A1" => 244, "A2" => 245,
123
- "O1" => 246, "AX" => 247, "GG" => 248, "IM" => 249, "JE" => 250, "BL" => 251,
124
- "MF" => 252, "BQ" => 253, "SS" => 254
125
- );
126
- var $GEOIP_COUNTRY_CODES = array(
127
- "","AP","EU","AD","AE","AF","AG","AI","AL","AM","CW",
128
- "AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB",
129
- "BD","BE","BF","BG","BH","BI","BJ","BM","BN","BO",
130
- "BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD",
131
- "CF","CG","CH","CI","CK","CL","CM","CN","CO","CR",
132
- "CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO",
133
- "DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ",
134
- "FK","FM","FO","FR","SX","GA","GB","GD","GE","GF",
135
- "GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT",
136
- "GU","GW","GY","HK","HM","HN","HR","HT","HU","ID",
137
- "IE","IL","IN","IO","IQ","IR","IS","IT","JM","JO",
138
- "JP","KE","KG","KH","KI","KM","KN","KP","KR","KW",
139
- "KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT",
140
- "LU","LV","LY","MA","MC","MD","MG","MH","MK","ML",
141
- "MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV",
142
- "MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI",
143
- "NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF",
144
- "PG","PH","PK","PL","PM","PN","PR","PS","PT","PW",
145
- "PY","QA","RE","RO","RU","RW","SA","SB","SC","SD",
146
- "SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO",
147
- "SR","ST","SV","SY","SZ","TC","TD","TF","TG","TH",
148
- "TJ","TK","TM","TN","TO","TL","TR","TT","TV","TW",
149
- "TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE",
150
- "VG","VI","VN","VU","WF","WS","YE","YT","RS","ZA",
151
- "ZM","ME","ZW","A1","A2","O1","AX","GG","IM","JE",
152
- "BL","MF", "BQ", "SS", "O1" );
153
- var $GEOIP_COUNTRY_CODES3 = array(
154
- "","AP","EU","AND","ARE","AFG","ATG","AIA","ALB","ARM","CUW",
155
- "AGO","ATA","ARG","ASM","AUT","AUS","ABW","AZE","BIH","BRB",
156
- "BGD","BEL","BFA","BGR","BHR","BDI","BEN","BMU","BRN","BOL",
157
- "BRA","BHS","BTN","BVT","BWA","BLR","BLZ","CAN","CCK","COD",
158
- "CAF","COG","CHE","CIV","COK","CHL","CMR","CHN","COL","CRI",
159
- "CUB","CPV","CXR","CYP","CZE","DEU","DJI","DNK","DMA","DOM",
160
- "DZA","ECU","EST","EGY","ESH","ERI","ESP","ETH","FIN","FJI",
161
- "FLK","FSM","FRO","FRA","SXM","GAB","GBR","GRD","GEO","GUF",
162
- "GHA","GIB","GRL","GMB","GIN","GLP","GNQ","GRC","SGS","GTM",
163
- "GUM","GNB","GUY","HKG","HMD","HND","HRV","HTI","HUN","IDN",
164
- "IRL","ISR","IND","IOT","IRQ","IRN","ISL","ITA","JAM","JOR",
165
- "JPN","KEN","KGZ","KHM","KIR","COM","KNA","PRK","KOR","KWT",
166
- "CYM","KAZ","LAO","LBN","LCA","LIE","LKA","LBR","LSO","LTU",
167
- "LUX","LVA","LBY","MAR","MCO","MDA","MDG","MHL","MKD","MLI",
168
- "MMR","MNG","MAC","MNP","MTQ","MRT","MSR","MLT","MUS","MDV",
169
- "MWI","MEX","MYS","MOZ","NAM","NCL","NER","NFK","NGA","NIC",
170
- "NLD","NOR","NPL","NRU","NIU","NZL","OMN","PAN","PER","PYF",
171
- "PNG","PHL","PAK","POL","SPM","PCN","PRI","PSE","PRT","PLW",
172
- "PRY","QAT","REU","ROU","RUS","RWA","SAU","SLB","SYC","SDN",
173
- "SWE","SGP","SHN","SVN","SJM","SVK","SLE","SMR","SEN","SOM",
174
- "SUR","STP","SLV","SYR","SWZ","TCA","TCD","ATF","TGO","THA",
175
- "TJK","TKL","TKM","TUN","TON","TLS","TUR","TTO","TUV","TWN",
176
- "TZA","UKR","UGA","UMI","USA","URY","UZB","VAT","VCT","VEN",
177
- "VGB","VIR","VNM","VUT","WLF","WSM","YEM","MYT","SRB","ZAF",
178
- "ZMB","MNE","ZWE","A1","A2","O1","ALA","GGY","IMN","JEY",
179
- "BLM","MAF", "BES", "SSD", "O1"
180
- );
181
- var $GEOIP_COUNTRY_NAMES = array(
182
- "","Asia/Pacific Region","Europe","Andorra","United Arab Emirates","Afghanistan","Antigua and Barbuda","Anguilla","Albania","Armenia","Curacao",
183
- "Angola","Antarctica","Argentina","American Samoa","Austria","Australia","Aruba","Azerbaijan","Bosnia and Herzegovina","Barbados",
184
- "Bangladesh","Belgium","Burkina Faso","Bulgaria","Bahrain","Burundi","Benin","Bermuda","Brunei Darussalam","Bolivia",
185
- "Brazil","Bahamas","Bhutan","Bouvet Island","Botswana","Belarus","Belize","Canada","Cocos (Keeling) Islands","Congo, The Democratic Republic of the",
186
- "Central African Republic","Congo","Switzerland","Cote D'Ivoire","Cook Islands","Chile","Cameroon","China","Colombia","Costa Rica",
187
- "Cuba","Cape Verde","Christmas Island","Cyprus","Czech Republic","Germany","Djibouti","Denmark","Dominica","Dominican Republic",
188
- "Algeria","Ecuador","Estonia","Egypt","Western Sahara","Eritrea","Spain","Ethiopia","Finland","Fiji",
189
- "Falkland Islands (Malvinas)","Micronesia, Federated States of","Faroe Islands","France","Sint Maarten (Dutch part)","Gabon","United Kingdom","Grenada","Georgia","French Guiana",
190
- "Ghana","Gibraltar","Greenland","Gambia","Guinea","Guadeloupe","Equatorial Guinea","Greece","South Georgia and the South Sandwich Islands","Guatemala",
191
- "Guam","Guinea-Bissau","Guyana","Hong Kong","Heard Island and McDonald Islands","Honduras","Croatia","Haiti","Hungary","Indonesia",
192
- "Ireland","Israel","India","British Indian Ocean Territory","Iraq","Iran, Islamic Republic of","Iceland","Italy","Jamaica","Jordan",
193
- "Japan","Kenya","Kyrgyzstan","Cambodia","Kiribati","Comoros","Saint Kitts and Nevis","Korea, Democratic People's Republic of","Korea, Republic of","Kuwait",
194
- "Cayman Islands","Kazakhstan","Lao People's Democratic Republic","Lebanon","Saint Lucia","Liechtenstein","Sri Lanka","Liberia","Lesotho","Lithuania",
195
- "Luxembourg","Latvia","Libya","Morocco","Monaco","Moldova, Republic of","Madagascar","Marshall Islands","Macedonia","Mali",
196
- "Myanmar","Mongolia","Macau","Northern Mariana Islands","Martinique","Mauritania","Montserrat","Malta","Mauritius","Maldives",
197
- "Malawi","Mexico","Malaysia","Mozambique","Namibia","New Caledonia","Niger","Norfolk Island","Nigeria","Nicaragua",
198
- "Netherlands","Norway","Nepal","Nauru","Niue","New Zealand","Oman","Panama","Peru","French Polynesia",
199
- "Papua New Guinea","Philippines","Pakistan","Poland","Saint Pierre and Miquelon","Pitcairn Islands","Puerto Rico","Palestinian Territory","Portugal","Palau",
200
- "Paraguay","Qatar","Reunion","Romania","Russian Federation","Rwanda","Saudi Arabia","Solomon Islands","Seychelles","Sudan",
201
- "Sweden","Singapore","Saint Helena","Slovenia","Svalbard and Jan Mayen","Slovakia","Sierra Leone","San Marino","Senegal","Somalia","Suriname",
202
- "Sao Tome and Principe","El Salvador","Syrian Arab Republic","Swaziland","Turks and Caicos Islands","Chad","French Southern Territories","Togo","Thailand",
203
- "Tajikistan","Tokelau","Turkmenistan","Tunisia","Tonga","Timor-Leste","Turkey","Trinidad and Tobago","Tuvalu","Taiwan",
204
- "Tanzania, United Republic of","Ukraine","Uganda","United States Minor Outlying Islands","United States","Uruguay","Uzbekistan","Holy See (Vatican City State)","Saint Vincent and the Grenadines","Venezuela",
205
- "Virgin Islands, British","Virgin Islands, U.S.","Vietnam","Vanuatu","Wallis and Futuna","Samoa","Yemen","Mayotte","Serbia","South Africa",
206
- "Zambia","Montenegro","Zimbabwe","Anonymous Proxy","Satellite Provider","Other","Aland Islands","Guernsey","Isle of Man","Jersey",
207
- "Saint Barthelemy","Saint Martin", "Bonaire, Saint Eustatius and Saba",
208
- "South Sudan", "Other"
209
- );
210
-
211
- var $GEOIP_CONTINENT_CODES = array(
212
- "--", "AS","EU","EU","AS","AS","NA","NA","EU","AS","NA",
213
- "AF","AN","SA","OC","EU","OC","NA","AS","EU","NA",
214
- "AS","EU","AF","EU","AS","AF","AF","NA","AS","SA",
215
- "SA","NA","AS","AN","AF","EU","NA","NA","AS","AF",
216
- "AF","AF","EU","AF","OC","SA","AF","AS","SA","NA",
217
- "NA","AF","AS","AS","EU","EU","AF","EU","NA","NA",
218
- "AF","SA","EU","AF","AF","AF","EU","AF","EU","OC",
219
- "SA","OC","EU","EU","NA","AF","EU","NA","AS","SA",
220
- "AF","EU","NA","AF","AF","NA","AF","EU","AN","NA",
221
- "OC","AF","SA","AS","AN","NA","EU","NA","EU","AS",
222
- "EU","AS","AS","AS","AS","AS","EU","EU","NA","AS",
223
- "AS","AF","AS","AS","OC","AF","NA","AS","AS","AS",
224
- "NA","AS","AS","AS","NA","EU","AS","AF","AF","EU",
225
- "EU","EU","AF","AF","EU","EU","AF","OC","EU","AF",
226
- "AS","AS","AS","OC","NA","AF","NA","EU","AF","AS",
227
- "AF","NA","AS","AF","AF","OC","AF","OC","AF","NA",
228
- "EU","EU","AS","OC","OC","OC","AS","NA","SA","OC",
229
- "OC","AS","AS","EU","NA","OC","NA","AS","EU","OC",
230
- "SA","AS","AF","EU","EU","AF","AS","OC","AF","AF",
231
- "EU","AS","AF","EU","EU","EU","AF","EU","AF","AF",
232
- "SA","AF","NA","AS","AF","NA","AF","AN","AF","AS",
233
- "AS","OC","AS","AF","OC","AS","EU","NA","OC","AS",
234
- "AF","EU","AF","OC","NA","SA","AS","EU","NA","SA",
235
- "NA","NA","AS","OC","OC","OC","AS","AF","EU","AF",
236
- "AF","EU","AF","--","--","--","EU","EU","EU","EU",
237
- "NA","NA","NA", "AF", "--"
238
- );
239
-
240
- }
241
- function cpd_geoip_load_shared_mem ($file) {
242
-
243
- $fp = fopen($file, "rb");
244
- if (!$fp) {
245
- print "error opening $file: $php_errormsg\n";
246
- exit;
247
- }
248
- $s_array = fstat($fp);
249
- $size = $s_array['size'];
250
- if ($shmid = @shmop_open (GEOIP_SHM_KEY, "w", 0, 0)) {
251
- shmop_delete ($shmid);
252
- shmop_close ($shmid);
253
- }
254
- $shmid = shmop_open (GEOIP_SHM_KEY, "c", 0644, $size);
255
- shmop_write ($shmid, fread($fp, $size), 0);
256
- shmop_close ($shmid);
257
- }
258
-
259
- function _cpd_setup_segments($gi){
260
- $gi->databaseType = GEOIP_COUNTRY_EDITION;
261
- $gi->record_length = STANDARD_RECORD_LENGTH;
262
- if ($gi->flags & GEOIP_SHARED_MEMORY) {
263
- $offset = @shmop_size ($gi->shmid) - 3;
264
- for ($i = 0; $i < STRUCTURE_INFO_MAX_SIZE; $i++) {
265
- $delim = @shmop_read ($gi->shmid, $offset, 3);
266
- $offset += 3;
267
- if ($delim == (chr(255).chr(255).chr(255))) {
268
- $gi->databaseType = ord(@shmop_read ($gi->shmid, $offset, 1));
269
- $offset++;
270
-
271
- if ($gi->databaseType == GEOIP_REGION_EDITION_REV0){
272
- $gi->databaseSegments = GEOIP_STATE_BEGIN_REV0;
273
- } else if ($gi->databaseType == GEOIP_REGION_EDITION_REV1){
274
- $gi->databaseSegments = GEOIP_STATE_BEGIN_REV1;
275
- } else if (($gi->databaseType == GEOIP_CITY_EDITION_REV0)||
276
- ($gi->databaseType == GEOIP_CITY_EDITION_REV1)
277
- || ($gi->databaseType == GEOIP_ORG_EDITION)
278
- || ($gi->databaseType == GEOIP_ORG_EDITION_V6)
279
- || ($gi->databaseType == GEOIP_DOMAIN_EDITION)
280
- || ($gi->databaseType == GEOIP_DOMAIN_EDITION_V6)
281
- || ($gi->databaseType == GEOIP_ISP_EDITION)
282
- || ($gi->databaseType == GEOIP_ISP_EDITION_V6)
283
- || ($gi->databaseType == GEOIP_USERTYPE_EDITION)
284
- || ($gi->databaseType == GEOIP_USERTYPE_EDITION_V6)
285
- || ($gi->databaseType == GEOIP_LOCATIONA_EDITION)
286
- || ($gi->databaseType == GEOIP_ACCURACYRADIUS_EDITION)
287
- || ($gi->databaseType == GEOIP_CITY_EDITION_REV0_V6)
288
- || ($gi->databaseType == GEOIP_CITY_EDITION_REV1_V6)
289
- || ($gi->databaseType == GEOIP_NETSPEED_EDITION_REV1)
290
- || ($gi->databaseType == GEOIP_NETSPEED_EDITION_REV1_V6)
291
- || ($gi->databaseType == GEOIP_ASNUM_EDITION)
292
- || ($gi->databaseType == GEOIP_ASNUM_EDITION_V6)){
293
- $gi->databaseSegments = 0;
294
- $buf = @shmop_read ($gi->shmid, $offset, SEGMENT_RECORD_LENGTH);
295
- for ($j = 0;$j < SEGMENT_RECORD_LENGTH;$j++){
296
- $gi->databaseSegments += (ord($buf[$j]) << ($j * 8));
297
- }
298
- if (($gi->databaseType == GEOIP_ORG_EDITION)
299
- || ($gi->databaseType == GEOIP_ORG_EDITION_V6)
300
- || ($gi->databaseType == GEOIP_DOMAIN_EDITION)
301
- || ($gi->databaseType == GEOIP_DOMAIN_EDITION_V6)
302
- || ($gi->databaseType == GEOIP_ISP_EDITION)
303
- || ($gi->databaseType == GEOIP_ISP_EDITION_V6)) {
304
- $gi->record_length = ORG_RECORD_LENGTH;
305
- }
306
- }
307
- break;
308
- } else {
309
- $offset -= 4;
310
- }
311
- }
312
- if (($gi->databaseType == GEOIP_COUNTRY_EDITION)||
313
- ($gi->databaseType == GEOIP_COUNTRY_EDITION_V6)||
314
- ($gi->databaseType == GEOIP_PROXY_EDITION)||
315
- ($gi->databaseType == GEOIP_NETSPEED_EDITION)){
316
- $gi->databaseSegments = GEOIP_COUNTRY_BEGIN;
317
- }
318
- } else {
319
- $filepos = ftell($gi->filehandle);
320
- fseek($gi->filehandle, -3, SEEK_END);
321
- for ($i = 0; $i < STRUCTURE_INFO_MAX_SIZE; $i++) {
322
- $delim = fread($gi->filehandle,3);
323
- if ($delim == (chr(255).chr(255).chr(255))){
324
- $gi->databaseType = ord(fread($gi->filehandle,1));
325
- if ($gi->databaseType == GEOIP_REGION_EDITION_REV0){
326
- $gi->databaseSegments = GEOIP_STATE_BEGIN_REV0;
327
- }
328
- else if ($gi->databaseType == GEOIP_REGION_EDITION_REV1){
329
- $gi->databaseSegments = GEOIP_STATE_BEGIN_REV1;
330
- } else if (($gi->databaseType == GEOIP_CITY_EDITION_REV0)
331
- || ($gi->databaseType == GEOIP_CITY_EDITION_REV1)
332
- || ($gi->databaseType == GEOIP_CITY_EDITION_REV0_V6)
333
- || ($gi->databaseType == GEOIP_CITY_EDITION_REV1_V6)
334
- || ($gi->databaseType == GEOIP_ORG_EDITION)
335
- || ($gi->databaseType == GEOIP_DOMAIN_EDITION)
336
- || ($gi->databaseType == GEOIP_ISP_EDITION)
337
- || ($gi->databaseType == GEOIP_ORG_EDITION_V6)
338
- || ($gi->databaseType == GEOIP_DOMAIN_EDITION_V6)
339
- || ($gi->databaseType == GEOIP_ISP_EDITION_V6)
340
- || ($gi->databaseType == GEOIP_LOCATIONA_EDITION)
341
- || ($gi->databaseType == GEOIP_ACCURACYRADIUS_EDITION)
342
- || ($gi->databaseType == GEOIP_CITY_EDITION_REV0_V6)
343
- || ($gi->databaseType == GEOIP_CITY_EDITION_REV1_V6)
344
- || ($gi->databaseType == GEOIP_NETSPEED_EDITION_REV1)
345
- || ($gi->databaseType == GEOIP_NETSPEED_EDITION_REV1_V6)
346
- || ($gi->databaseType == GEOIP_USERTYPE_EDITION)
347
- || ($gi->databaseType == GEOIP_USERTYPE_EDITION_V6)
348
- || ($gi->databaseType == GEOIP_ASNUM_EDITION)
349
- || ($gi->databaseType == GEOIP_ASNUM_EDITION_V6)){
350
- $gi->databaseSegments = 0;
351
- $buf = fread($gi->filehandle,SEGMENT_RECORD_LENGTH);
352
- for ($j = 0;$j < SEGMENT_RECORD_LENGTH;$j++){
353
- $gi->databaseSegments += (ord($buf[$j]) << ($j * 8));
354
- }
355
- if ( ( $gi->databaseType == GEOIP_ORG_EDITION )
356
- || ( $gi->databaseType == GEOIP_DOMAIN_EDITION )
357
- || ( $gi->databaseType == GEOIP_ISP_EDITION )
358
- || ( $gi->databaseType == GEOIP_ORG_EDITION_V6 )
359
- || ( $gi->databaseType == GEOIP_DOMAIN_EDITION_V6 )
360
- || ( $gi->databaseType == GEOIP_ISP_EDITION_V6 )) {
361
- $gi->record_length = ORG_RECORD_LENGTH;
362
- }
363
- }
364
- break;
365
- } else {
366
- fseek($gi->filehandle, -4, SEEK_CUR);
367
- }
368
- }
369
- if (($gi->databaseType == GEOIP_COUNTRY_EDITION)||
370
- ($gi->databaseType == GEOIP_COUNTRY_EDITION_V6)||
371
- ($gi->databaseType == GEOIP_PROXY_EDITION)||
372
- ($gi->databaseType == GEOIP_NETSPEED_EDITION)){
373
- $gi->databaseSegments = GEOIP_COUNTRY_BEGIN;
374
- }
375
- fseek($gi->filehandle,$filepos,SEEK_SET);
376
- }
377
- return $gi;
378
- }
379
-
380
- function cpd_geoip_open($filename, $flags) {
381
- $gi = new GeoIPCpd;
382
- $gi->flags = $flags;
383
- if ($gi->flags & GEOIP_SHARED_MEMORY) {
384
- $gi->shmid = @shmop_open (GEOIP_SHM_KEY, "a", 0, 0);
385
- } else {
386
- $gi->filehandle = fopen($filename,"rb") or die( "Can not open $filename\n" );
387
- if ($gi->flags & GEOIP_MEMORY_CACHE) {
388
- $s_array = fstat($gi->filehandle);
389
- $gi->memory_buffer = fread($gi->filehandle, $s_array['size']);
390
- }
391
- }
392
-
393
- $gi = _cpd_setup_segments($gi);
394
- return $gi;
395
- }
396
-
397
- function cpd_geoip_close($gi) {
398
- if ($gi->flags & GEOIP_SHARED_MEMORY) {
399
- return true;
400
- }
401
-
402
- return fclose($gi->filehandle);
403
- }
404
-
405
- function cpd_geoip_country_id_by_name_v6($gi, $name) {
406
- $rec = dns_get_record($name, DNS_AAAA);
407
- if ( !$rec ) {
408
- return false;
409
- }
410
- $addr = $rec[0]["ipv6"];
411
- if (!$addr || $addr == $name) {
412
- return false;
413
- }
414
- return cpd_geoip_country_id_by_addr_v6($gi, $addr);
415
- }
416
-
417
- function cpd_geoip_country_id_by_name($gi, $name) {
418
- $addr = gethostbyname($name);
419
- if (!$addr || $addr == $name) {
420
- return false;
421
- }
422
- return cpd_geoip_country_id_by_addr($gi, $addr);
423
- }
424
-
425
- function cpd_geoip_country_code_by_name_v6($gi, $name) {
426
- $country_id = cpd_geoip_country_id_by_name_v6($gi,$name);
427
- if ($country_id !== false) {
428
- return $gi->GEOIP_COUNTRY_CODES[$country_id];
429
- }
430
- return false;
431
- }
432
-
433
- function cpd_geoip_country_code_by_name($gi, $name) {
434
- $country_id = cpd_geoip_country_id_by_name($gi,$name);
435
- if ($country_id !== false) {
436
- return $gi->GEOIP_COUNTRY_CODES[$country_id];
437
- }
438
- return false;
439
- }
440
-
441
- function cpd_geoip_country_name_by_name_v6($gi, $name) {
442
- $country_id = cpd_geoip_country_id_by_name_v6($gi,$name);
443
- if ($country_id !== false) {
444
- return $gi->GEOIP_COUNTRY_NAMES[$country_id];
445
- }
446
- return false;
447
- }
448
-
449
- function cpd_geoip_country_name_by_name($gi, $name) {
450
- $country_id = cpd_geoip_country_id_by_name($gi,$name);
451
- if ($country_id !== false) {
452
- return $gi->GEOIP_COUNTRY_NAMES[$country_id];
453
- }
454
- return false;
455
- }
456
-
457
- function cpd_geoip_country_id_by_addr_v6($gi, $addr) {
458
- $ipnum = cpd_inet_pton($addr);
459
- return _cpd_geoip_seek_country_v6($gi, $ipnum) - GEOIP_COUNTRY_BEGIN;
460
- }
461
-
462
- function cpd_geoip_country_id_by_addr($gi, $addr) {
463
- $ipnum = ip2long($addr);
464
- return _cpd_geoip_seek_country($gi, $ipnum) - GEOIP_COUNTRY_BEGIN;
465
- }
466
-
467
- function cpd_geoip_country_code_by_addr_v6($gi, $addr) {
468
- $country_id = cpd_geoip_country_id_by_addr_v6($gi,$addr);
469
- if ($country_id !== false) {
470
- return $gi->GEOIP_COUNTRY_CODES[$country_id];
471
- }
472
- return false;
473
- }
474
-
475
- function cpd_geoip_country_code_by_addr($gi, $addr) {
476
- if ($gi->databaseType == GEOIP_CITY_EDITION_REV1) {
477
- $record = cpd_geoip_record_by_addr($gi,$addr);
478
- if ( $record !== false ) {
479
- return $record->country_code;
480
- }
481
- } else {
482
- $country_id = cpd_geoip_country_id_by_addr($gi,$addr);
483
- if ($country_id !== false) {
484
- return $gi->GEOIP_COUNTRY_CODES[$country_id];
485
- }
486
- }
487
- return false;
488
- }
489
-
490
- function cpd_geoip_country_name_by_addr_v6($gi, $addr) {
491
- $country_id = cpd_geoip_country_id_by_addr_v6($gi,$addr);
492
- if ($country_id !== false) {
493
- return $gi->GEOIP_COUNTRY_NAMES[$country_id];
494
- }
495
- return false;
496
- }
497
-
498
- function cpd_geoip_country_name_by_addr($gi, $addr) {
499
- if ($gi->databaseType == GEOIP_CITY_EDITION_REV1) {
500
- $record = cpd_geoip_record_by_addr($gi,$addr);
501
- return $record->country_name;
502
- } else {
503
- $country_id = cpd_geoip_country_id_by_addr($gi,$addr);
504
- if ($country_id !== false) {
505
- return $gi->GEOIP_COUNTRY_NAMES[$country_id];
506
- }
507
- }
508
- return false;
509
- }
510
-
511
- function _cpd_geoip_seek_country_v6($gi, $ipnum) {
512
-
513
- # arrays from unpack start with offset 1
514
- # yet another php mystery. array_merge work around
515
- # this broken behaviour
516
- if (strlen($ipnum) === 4) // IPv4
517
- $v6vec = array_pad(unpack( "C4", $ipnum), -16, 0);
518
- else
519
- $v6vec = array_merge(unpack( "C16", $ipnum));
520
-
521
- $offset = 0;
522
- for ($depth = 127; $depth >= 0; --$depth) {
523
- if ($gi->flags & GEOIP_MEMORY_CACHE) {
524
- // workaround php's broken substr, strpos, etc handling with
525
- // mbstring.func_overload and mbstring.internal_encoding
526
- $enc = mb_internal_encoding();
527
- mb_internal_encoding('ISO-8859-1');
528
-
529
- $buf = substr($gi->memory_buffer,
530
- 2 * $gi->record_length * $offset,
531
- 2 * $gi->record_length);
532
-
533
- mb_internal_encoding($enc);
534
- } elseif ($gi->flags & GEOIP_SHARED_MEMORY) {
535
- $buf = @shmop_read ($gi->shmid,
536
- 2 * $gi->record_length * $offset,
537
- 2 * $gi->record_length );
538
- } else {
539
- fseek($gi->filehandle, 2 * $gi->record_length * $offset, SEEK_SET) == 0
540
- or die("fseek failed");
541
- $buf = fread($gi->filehandle, 2 * $gi->record_length);
542
- }
543
- $x = array(0,0);
544
- for ($i = 0; $i < 2; ++$i) {
545
- for ($j = 0; $j < $gi->record_length; ++$j) {
546
- $x[$i] += ord($buf[$gi->record_length * $i + $j]) << ($j * 8);
547
- }
548
- }
549
-
550
- $bnum = 127 - $depth;
551
- $idx = $bnum >> 3;
552
- $b_mask = 1 << ( $bnum & 7 ^ 7 );
553
- if (($v6vec[$idx] & $b_mask) > 0) {
554
- if ($x[1] >= $gi->databaseSegments) {
555
- return $x[1];
556
- }
557
- $offset = $x[1];
558
- } else {
559
- if ($x[0] >= $gi->databaseSegments) {
560
- return $x[0];
561
- }
562
- $offset = $x[0];
563
- }
564
- }
565
- trigger_error("error traversing database - perhaps it is corrupt?", E_USER_ERROR);
566
- return false;
567
- }
568
-
569
- function _cpd_geoip_seek_country($gi, $ipnum) {
570
- $offset = 0;
571
- for ($depth = 31; $depth >= 0; --$depth) {
572
- if ($gi->flags & GEOIP_MEMORY_CACHE) {
573
- // workaround php's broken substr, strpos, etc handling with
574
- // mbstring.func_overload and mbstring.internal_encoding
575
- $enc = mb_internal_encoding();
576
- mb_internal_encoding('ISO-8859-1');
577
-
578
- $buf = substr($gi->memory_buffer,
579
- 2 * $gi->record_length * $offset,
580
- 2 * $gi->record_length);
581
-
582
- mb_internal_encoding($enc);
583
- } elseif ($gi->flags & GEOIP_SHARED_MEMORY) {
584
- $buf = @shmop_read ($gi->shmid,
585
- 2 * $gi->record_length * $offset,
586
- 2 * $gi->record_length );
587
- } else {
588
- fseek($gi->filehandle, 2 * $gi->record_length * $offset, SEEK_SET) == 0
589
- or die("fseek failed");
590
- $buf = fread($gi->filehandle, 2 * $gi->record_length);
591
- }
592
- $x = array(0,0);
593
- for ($i = 0; $i < 2; ++$i) {
594
- for ($j = 0; $j < $gi->record_length; ++$j) {
595
- $x[$i] += ord($buf[$gi->record_length * $i + $j]) << ($j * 8);
596
- }
597
- }
598
- if ($ipnum & (1 << $depth)) {
599
- if ($x[1] >= $gi->databaseSegments) {
600
- return $x[1];
601
- }
602
- $offset = $x[1];
603
- } else {
604
- if ($x[0] >= $gi->databaseSegments) {
605
- return $x[0];
606
- }
607
- $offset = $x[0];
608
- }
609
- }
610
- trigger_error("error traversing database - perhaps it is corrupt?", E_USER_ERROR);
611
- return false;
612
- }
613
-
614
- function _cpd_common_get_org($gi, $seek_org){
615
- $record_pointer = $seek_org + (2 * $gi->record_length - 1) * $gi->databaseSegments;
616
- if ($gi->flags & GEOIP_SHARED_MEMORY) {
617
- $org_buf = @shmop_read ($gi->shmid, $record_pointer, MAX_ORG_RECORD_LENGTH);
618
- } else {
619
- fseek($gi->filehandle, $record_pointer, SEEK_SET);
620
- $org_buf = fread($gi->filehandle,MAX_ORG_RECORD_LENGTH);
621
- }
622
- // workaround php's broken substr, strpos, etc handling with
623
- // mbstring.func_overload and mbstring.internal_encoding
624
- $enc = mb_internal_encoding();
625
- mb_internal_encoding('ISO-8859-1');
626
- $org_buf = substr($org_buf, 0, strpos($org_buf, "\0"));
627
- mb_internal_encoding($enc);
628
- return $org_buf;
629
- }
630
-
631
- function _cpd_get_org_v6($gi,$ipnum){
632
- $seek_org = _cpd_geoip_seek_country_v6($gi,$ipnum);
633
- if ($seek_org == $gi->databaseSegments) {
634
- return NULL;
635
- }
636
- return _cpd_common_get_org($gi, $seek_org);
637
- }
638
-
639
- function _cpd_get_org($gi,$ipnum){
640
- $seek_org = _cpd_geoip_seek_country($gi,$ipnum);
641
- if ($seek_org == $gi->databaseSegments) {
642
- return NULL;
643
- }
644
- return _cpd_common_get_org($gi, $seek_org);
645
- }
646
-
647
-
648
-
649
- function cpd_geoip_name_by_addr_v6 ($gi,$addr) {
650
- if ($addr == NULL) {
651
- return 0;
652
- }
653
- $ipnum = cpd_inet_pton($addr);
654
- return _cpd_get_org_v6($gi, $ipnum);
655
- }
656
-
657
- function cpd_geoip_name_by_addr ($gi,$addr) {
658
- if ($addr == NULL) {
659
- return 0;
660
- }
661
- $ipnum = ip2long($addr);
662
- return _cpd_get_org($gi, $ipnum);
663
- }
664
-
665
- function cpd_geoip_org_by_addr ($gi,$addr) {
666
- return cpd_geoip_name_by_addr($gi, $addr);
667
- }
668
-
669
- function _cpd_get_region($gi,$ipnum){
670
- if ($gi->databaseType == GEOIP_REGION_EDITION_REV0){
671
- $seek_region = _cpd_geoip_seek_country($gi,$ipnum) - GEOIP_STATE_BEGIN_REV0;
672
- if ($seek_region >= 1000){
673
- $country_code = "US";
674
- $region = chr(($seek_region - 1000)/26 + 65) . chr(($seek_region - 1000)%26 + 65);
675
- } else {
676
- $country_code = $gi->GEOIP_COUNTRY_CODES[$seek_region];
677
- $region = "";
678
- }
679
- return array ($country_code,$region);
680
- } else if ($gi->databaseType == GEOIP_REGION_EDITION_REV1) {
681
- $seek_region = _cpd_geoip_seek_country($gi,$ipnum) - GEOIP_STATE_BEGIN_REV1;
682
- //print $seek_region;
683
- if ($seek_region < US_OFFSET){
684
- $country_code = "";
685
- $region = "";
686
- } else if ($seek_region < CANADA_OFFSET) {
687
- $country_code = "US";
688
- $region = chr(($seek_region - US_OFFSET)/26 + 65) . chr(($seek_region - US_OFFSET)%26 + 65);
689
- } else if ($seek_region < WORLD_OFFSET) {
690
- $country_code = "CA";
691
- $region = chr(($seek_region - CANADA_OFFSET)/26 + 65) . chr(($seek_region - CANADA_OFFSET)%26 + 65);
692
- } else {
693
- $country_code = $gi->GEOIP_COUNTRY_CODES[($seek_region - WORLD_OFFSET) / FIPS_RANGE];
694
- $region = "";
695
- }
696
- return array ($country_code,$region);
697
- }
698
- }
699
-
700
- function cpd_geoip_region_by_addr ($gi,$addr) {
701
- if ($addr == NULL) {
702
- return 0;
703
- }
704
- $ipnum = ip2long($addr);
705
- return _cpd_get_region($gi, $ipnum);
706
- }
707
-
708
- function cpd_getdnsattributes ($l,$ip){
709
- $r = new Net_DNS_Resolver();
710
- $r->nameservers = array("ws1.maxmind.com");
711
- $p = $r->search($l."." . $ip .".s.maxmind.com","TXT","IN");
712
- $str = is_object($p->answer[0])?$p->answer[0]->string():'';
713
- $str = substr( $str, 1, -1 );
714
- return $str;
715
- }
716
-
717
- // Windows server < PHP 5.3
718
- // PHP without IPv6 support
719
- function cpd_inet_pton($ip)
720
- {
721
- # ipv4
722
- if (strpos($ip, '.') !== FALSE)
723
- {
724
- if (strpos($ip, ':') === FALSE)
725
- $ip = pack('N',ip2long($ip));
726
- else
727
- {
728
- $ip = explode(':',$ip);
729
- $ip = pack('N',ip2long($ip[count($ip)-1]));
730
- }
731
- }
732
- # ipv6
733
- elseif (strpos($ip, ':') !== FALSE)
734
- {
735
- $ip = explode(':', $ip);
736
- $parts=8-count($ip);
737
- $res='';$replaced=0;
738
- foreach ($ip as $seg)
739
- {
740
- if ($seg!='')
741
- $res .= str_pad($seg, 4, '0', STR_PAD_LEFT);
742
- elseif ($replaced==0)
743
- {
744
- for ($i=0;$i<=$parts;$i++)
745
- $res.='0000';
746
- $replaced=1;
747
- } elseif ($replaced==1)
748
- $res.='0000';
749
- }
750
- $ip = pack('H'.strlen($res), $res);
751
- }
752
- return $ip;
753
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
locale/cpd-de_DE.mo CHANGED
Binary file
locale/cpd-de_DE.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Count Per Day v3.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2008-11-02 12:13+0100\n"
6
- "PO-Revision-Date: 2015-02-13 08:17:28+0000\n"
7
  "Last-Translator: Tom Braider <post@tomsdimension.de>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -25,301 +25,301 @@ msgstr ""
25
  msgid "Options updated"
26
  msgstr "Einstellungen aktualisiert"
27
 
28
- #: counter-options.php:121
29
  #, php-format
30
  #@ cpd
31
  msgid "Database cleaned. %s rows deleted."
32
  msgstr "Datenbank aufger&auml;umt. %s Datens&auml;tze gel&ouml;scht."
33
 
34
- #: counter-options.php:136
35
- #: counter-options.php:806
36
  #@ cpd
37
  msgid "UNINSTALL Count per Day"
38
  msgstr "DEINSTALLIERE Count per Day"
39
 
40
- #: counter-options.php:141
41
- #: counter-options.php:142
42
- #: counter-options.php:143
43
  #, php-format
44
  #@ cpd
45
  msgid "Table %s deleted"
46
  msgstr "Tabelle %s gel&ouml;scht"
47
 
48
- #: counter-options.php:144
49
  #@ cpd
50
  msgid "Options deleted"
51
  msgstr "Einstellungen gel&ouml;scht"
52
 
53
- #: counter-options.php:385
54
- #: counter-options.php:792
55
  #@ cpd
56
  msgid "Uninstall"
57
  msgstr "Deinstallation"
58
 
59
- #: counter-options.php:386
60
  #@ cpd
61
  msgid "Click here"
62
  msgstr "Klick hier"
63
 
64
- #: counter-options.php:386
65
  #@ cpd
66
  msgid "to finish the uninstall and to deactivate \"Count per Day\"."
67
  msgstr "um die Deinstallation zu beenden und \"Count per Day\" zu deaktivieren."
68
 
69
- #: counter-options.php:835
70
  #@ cpd
71
  msgid "Online time"
72
  msgstr "Onlinezeit"
73
 
74
- #: counter-options.php:836
75
  #@ cpd
76
  msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
77
  msgstr "Sekunden f&uuml;r Onlinecounter. Wird f&uuml;r die Anzeige der \"Besucher momentan online\" im Dashboard verwendet."
78
 
79
- #: counter-options.php:839
80
  #@ cpd
81
  msgid "Logged on Users"
82
  msgstr "Angemeldete Benutzer"
83
 
84
- #: counter-options.php:841
85
  #@ cpd
86
  msgid "count too"
87
  msgstr "auch mit z&auml;hlen"
88
 
89
- #: counter-options.php:853
90
  #@ cpd
91
  msgid "Auto counter"
92
  msgstr "Auto-Counter"
93
 
94
- #: counter-options.php:854
95
  #@ cpd
96
  msgid "Counts automatically single-posts and pages, no changes on template needed."
97
  msgstr "Z&auml;hlt automatisch Besuche auf Single-Posts und Seiten ohne &Auml;nderungen am Template."
98
 
99
- #: counter-options.php:857
100
  #@ cpd
101
  msgid "Bots to ignore"
102
  msgstr "Spam/Suchmaschinen Bots ignorieren"
103
 
104
- #: counter-options.php:1055
105
  #@ cpd
106
  msgid "Update options"
107
  msgstr "Einstellungen aktualisieren"
108
 
109
- #: counter-options.php:640
110
- #: counter-options.php:648
111
  #@ cpd
112
  msgid "Clean the database"
113
  msgstr "Datenbank aufr&auml;umen"
114
 
115
- #: counter-options.php:644
116
  #@ cpd
117
  msgid "You can clean the counter table by delete the \"spam data\".<br />If you add new bots above the old \"spam data\" keeps in the database.<br />Here you can run the bot filter again and delete the visits of the bots."
118
  msgstr "Du kannst die Counter-Tabelle von \"Spam-Daten\" befreien.<br />Wenn du neue Bots zu der Liste oben hinzuf&uuml;gst bleiben die alten \"Spam-Daten\" erhalten.<br />Hier kannst du den Filter erneut laufen lassen und die Besuche von Bots nachtr&auml;glich l&ouml;schen."
119
 
120
- #: counter-options.php:795
121
  #@ cpd
122
  msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
123
  msgstr "Wenn \"Count per Day\" nur deaktiviert wird, bleiben die Tabellen in der Datenbank erhalten."
124
 
125
- #: counter-options.php:796
126
  #@ cpd
127
  msgid "Here you can delete the tables and disable \"Count per Day\"."
128
  msgstr "Hier kannst du \"Count per Day\" deinstallieren und die Tabellen l&ouml;schen."
129
 
130
- #: counter-options.php:799
131
  #@ cpd
132
  msgid "WARNING"
133
  msgstr "WARNUNG"
134
 
135
- #: counter-options.php:800
136
  #@ cpd
137
  msgid "These tables (with ALL counter data) will be deleted."
138
  msgstr "Diese Tabellen werden mit ALLEN Z&auml;hlerdaten gel&ouml;scht."
139
 
140
- #: counter-options.php:802
141
  #@ cpd
142
  msgid "If \"Count per Day\" re-installed, the counter starts at 0."
143
  msgstr "Wenn \"Count per Day\" erneut installiert wird, beginnt der Z&auml;hler bei 0."
144
 
145
- #: counter-options.php:782
146
- #: counter-options.php:805
147
  #@ cpd
148
  msgid "Yes"
149
  msgstr "Ja, los!"
150
 
151
- #: counter-options.php:806
152
  #@ cpd
153
  msgid "You are sure to disable Count per Day and delete all data?"
154
  msgstr "Bist du sicher, dass du Count per Day deaktivieren und alle Daten l&ouml;schen willst?"
155
 
156
- #: counter-core.php:823
157
- #: counter.php:1339
158
  #@ cpd
159
  msgid "Statistics"
160
  msgstr "Statistiken"
161
 
162
- #: counter-core.php:791
163
- #: counter.php:241
164
- #: counter.php:1223
165
- #: counter.php:1417
166
  #@ cpd
167
  msgid "Total visitors"
168
  msgstr "Besucher gesamt"
169
 
170
- #: counter.php:242
171
- #: counter.php:1423
172
  #@ cpd
173
  msgid "Visitors currently online"
174
  msgstr "Besucher momentan online"
175
 
176
- #: counter.php:243
177
- #: counter.php:1418
178
  #@ cpd
179
  msgid "Visitors today"
180
  msgstr "Besucher heute"
181
 
182
- #: counter.php:244
183
- #: counter.php:1419
184
  #@ cpd
185
  msgid "Visitors yesterday"
186
  msgstr "Besucher gestern"
187
 
188
- #: counter.php:245
189
- #: counter.php:1420
190
  #@ cpd
191
  msgid "Visitors last week"
192
  msgstr "Besucher letzte Woche"
193
 
194
- #: counter.php:974
195
- #: counter.php:1424
196
  #@ cpd
197
  msgid "Counter starts on"
198
  msgstr "gez&auml;hlt ab"
199
 
200
- #: counter-core.php:797
201
- #: counter.php:247
202
- #: counter.php:348
203
- #: counter.php:1225
204
- #: counter.php:1422
205
- #: userperspan.php:46
206
  #@ cpd
207
  msgid "Visitors per day"
208
  msgstr "Besucher pro Tag"
209
 
210
- #: counter-core.php:793
211
- #: counter.php:1421
212
  #@ cpd
213
  msgid "Visitors per month"
214
  msgstr "Besucher pro Monat"
215
 
216
- #: counter-core.php:795
217
- #: counter-options.php:937
218
  #@ cpd
219
  msgid "Visitors per post"
220
  msgstr "Besucher pro Artikel"
221
 
222
- #: counter-options.php:131
223
  #@ cpd
224
  msgid "Counter reseted."
225
  msgstr "Z&auml;hler zur&uuml;ckgesetzt."
226
 
227
- #: counter-options.php:938
228
- #: counter-options.php:942
229
  #@ cpd
230
  msgid "How many posts do you want to see on dashboard page?"
231
  msgstr "Wie viele Eintr&auml;ge m&ouml;chtest du auf der Dashboard Seite sehen?"
232
 
233
- #: counter-options.php:941
234
  #@ cpd
235
  msgid "Latest Counts - Posts"
236
  msgstr "Aktuelle Besuche - Artikel"
237
 
238
- #: counter-options.php:945
239
  #@ cpd
240
  msgid "Latest Counts - Days"
241
  msgstr "Aktuelle Besuche - Tage"
242
 
243
- #: counter-options.php:946
244
- #: counter-options.php:950
245
- #: counter-options.php:972
246
  #@ cpd
247
  msgid "How many days do you want look back?"
248
  msgstr "Wie viele Tage m&ouml;chtest du zur&uuml;ck schauen?"
249
 
250
- #: counter-options.php:986
251
  #@ cpd
252
  msgid "Show in lists"
253
  msgstr "In &Uuml;bersichten anzeigen"
254
 
255
- #: counter-options.php:987
256
  #@ cpd
257
  msgid "Show \"Reads per Post\" in a new column in post management views."
258
  msgstr "Zeige \"Besucher pro Artikel\" in einer eigenen Spalte in der Artikel&uuml;bersicht."
259
 
260
- #: counter-options.php:773
261
- #: counter-options.php:783
262
  #@ cpd
263
  msgid "Reset the counter"
264
  msgstr "Z&auml;hler zur&uuml;cksetzen"
265
 
266
- #: counter-options.php:776
267
  #@ cpd
268
  msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
269
  msgstr "Du kannst die Z&auml;hler zur&uuml;cksetzen und die Tabelle leeren. Alles auf 0!<br />Wenn du die aktuellen Zahlen brauchst, mache ein Backup der Datenbank!"
270
 
271
- #: counter.php:776
272
  #, php-format
273
  #@ cpd
274
  msgid "The %s most visited posts in last %s days:"
275
  msgstr "Die %s am meisten besuchten Seiten der letzten %s Tage:"
276
 
277
- #: counter-core.php:653
278
- #: counter-options.php:412
279
  #@ default
280
  msgid "Settings"
281
  msgstr ""
282
 
283
- #: counter-core.php:1541
284
- #: counter-options.php:879
285
- #: counter.php:240
286
- #: counter.php:1024
287
- #: map/map.php:60
288
  #@ cpd
289
  msgid "Reads"
290
  msgstr "Seitenaufrufe"
291
 
292
- #: counter-core.php:796
293
  #@ cpd
294
  msgid "Latest Counts"
295
  msgstr "Letzte Seitenaufrufe"
296
 
297
- #: counter-options.php:949
298
  #@ cpd
299
  msgid "Chart - Days"
300
  msgstr "Diagramm - Tage"
301
 
302
- #: counter-options.php:953
303
  #@ cpd
304
  msgid "Chart - Height"
305
  msgstr "Diagramm - H&ouml;he"
306
 
307
- #: counter-options.php:954
308
  #@ cpd
309
  msgid "Height of the biggest bar"
310
  msgstr "H&ouml;he des gr&ouml;&szlig;ten Balkens"
311
 
312
- #: counter.php:1411
313
  #@ cpd
314
  msgid "This post"
315
  msgstr "Diese Seite"
316
 
317
- #: counter-options.php:902
318
  #@ default
319
  msgid "Dashboard"
320
  msgstr ""
321
 
322
- #: counter.php:347
323
  #@ cpd
324
  msgid "Reads per day"
325
  msgstr "Seitenaufrufe pro Tag"
@@ -335,901 +335,934 @@ msgstr "L&auml;nder aktualisiert. <b>%s</b> Datens&auml;tze in %s noch offen."
335
  msgid "update next"
336
  msgstr "weiter aktualisieren"
337
 
338
- #: counter-options.php:723
339
  #@ cpd
340
  msgid "GeoIP - Countries"
341
  msgstr "GeoIP - L&auml;nder"
342
 
343
- #: counter-options.php:732
344
  #@ cpd
345
  msgid "Update old counter data"
346
  msgstr "Aktualisiere alte Z&auml;hlerdaten"
347
 
348
- #: counter-options.php:744
349
  #@ cpd
350
  msgid "Update GeoIP database"
351
  msgstr "Aktualisiere GeoIP Datenbank"
352
 
353
- #: counter-options.php:739
354
  #@ cpd
355
  msgid "Download a new version of GeoIP.dat file."
356
  msgstr "Neue Version von GeoIP.dat herunterladen."
357
 
358
- #: counter-options.php:749
359
  #@ cpd
360
  msgid "More informations about GeoIP"
361
  msgstr "Mehr Informationen über GeoIP"
362
 
363
- #: counter-core.php:807
364
  #@ cpd
365
  msgid "Reads per Country"
366
  msgstr "Seitenaufrufe pro Land"
367
 
368
- #: geoip/geoip.php:142
369
  #@ cpd
370
  msgid "New GeoIP database installed."
371
  msgstr "Neue GeoIP Datenbank installiert."
372
 
373
- #: geoip/geoip.php:144
374
- #@ cpd
375
- msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
376
- msgstr "Leider gab es einen Fehler. Versuche es noch einmal oder &uuml;berpr&uuml;fe ob du für das Verzeichnis \"geoip\" Schreibrechte (777) hast."
377
-
378
- #: geoip/geoip.php:117
379
  #@ cpd
380
  msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
381
  msgstr "Leider ist eine notwendige Funktion (zlib) nicht installiert oder nicht in der php.ini aktiviert."
382
 
383
- #: counter-options.php:958
384
  #@ cpd
385
  msgid "Countries"
386
  msgstr "L&auml;nder"
387
 
388
- #: counter-options.php:959
389
  #@ cpd
390
  msgid "How many countries do you want to see on dashboard page?"
391
  msgstr "Wie viele L&auml;nder m&ouml;chtest du auf der Dashboard Seite sehen?"
392
 
393
- #: counter-options.php:109
394
  #, php-format
395
  #@ cpd
396
  msgid "Mass Bots cleaned. %s counts deleted."
397
  msgstr "Massen-Bots bereinigt. %s Z&auml;hlerdaten gel&ouml;scht."
398
 
399
- #: counter-options.php:432
400
- #: massbots.php:46
401
  #@ cpd
402
  msgid "Mass Bots"
403
  msgstr "Massen-Bots"
404
 
405
- #: counter-options.php:436
406
  #, php-format
407
  #@ cpd
408
  msgid "Show all IPs with more than %s page views per day"
409
  msgstr "Zeige alle IP-Adressen mit mehr als %s Seitenaufrufe pro Tag"
410
 
411
- #: counter-options.php:437
412
- #: counter-options.php:501
413
- #: notes.php:84
414
- #: userperspan.php:56
415
  #@ cpd
416
  msgid "show"
417
  msgstr "anzeigen"
418
 
419
- #: counter-options.php:463
420
- #: counter-options.php:479
421
- #: counter-options.php:526
422
  #, php-format
423
  #@ cpd
424
  msgid "Delete these %s counts"
425
  msgstr "L&ouml;sche diese %s Z&auml;hlerdaten"
426
 
427
- #: counter.php:963
428
  #@ cpd
429
  msgid "Other"
430
  msgstr "Sonstige"
431
 
432
- #: massbots.php:63
433
- #: userperspan.php:75
434
  #@ default
435
  msgid "Front page displays"
436
  msgstr ""
437
 
438
- #: counter-core.php:802
439
- #: counter-options.php:963
440
  #@ cpd
441
  msgid "Browsers"
442
  msgstr "Browser"
443
 
444
- #: counter-options.php:445
445
- #: counter-options.php:509
446
  #@ cpd
447
  msgid "IP"
448
  msgstr "IP"
449
 
450
- #: counter-options.php:446
451
- #: counter-options.php:510
452
- #: notes.php:88
453
  #@ cpd
454
  #@ default
455
  msgid "Date"
456
  msgstr "Datum"
457
 
458
- #: counter-options.php:447
459
- #: counter-options.php:511
460
  #@ cpd
461
  msgid "Client"
462
  msgstr "Browser"
463
 
464
- #: counter-options.php:448
465
- #: counter-options.php:512
466
  #@ cpd
467
  msgid "Views"
468
  msgstr "Seitenaufrufe"
469
 
470
- #: counter-options.php:994
471
  #@ cpd
472
  msgid "Start Values"
473
  msgstr "Startwerte"
474
 
475
- #: counter-options.php:998
476
  #@ cpd
477
  msgid "Here you can change the date of first count and add a start count."
478
  msgstr "Hier kannst du das Startdatum und den Startz&auml;hlerstand überschreiben."
479
 
480
- #: counter-options.php:1002
481
  #@ cpd
482
  msgid "Start date"
483
  msgstr "Startdatum"
484
 
485
- #: counter-options.php:1003
486
  #@ cpd
487
  msgid "Your old Counter starts at?"
488
  msgstr "Dein alter Z&auml;hler begann am?"
489
 
490
- #: counter-options.php:1006
491
- #: counter-options.php:1010
492
  #@ cpd
493
  msgid "Start count"
494
  msgstr "Startz&auml;hlerstand"
495
 
496
- #: counter-options.php:1007
497
  #@ cpd
498
  msgid "Add this value to \"Total visitors\"."
499
  msgstr "Addiere diesen Wert zu \"Besucher gesamt\"."
500
 
501
- #: counter-options.php:814
502
  #@ cpd
503
  msgid "Support"
504
  msgstr "Kontakt"
505
 
506
- #: counter-core.php:757
507
  #@ cpd
508
  msgid "Bug? Problem? Question? Hint? Praise?"
509
  msgstr "Bug? Problem? Frage? Tipp? Lob?"
510
 
511
- #: counter-core.php:758
512
  #, php-format
513
  #@ cpd
514
  msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
515
  msgstr "Schreib einen Kommentar auf der <a href=\"%s\">Plugin-Seite</a>."
516
 
517
- #: counter.php:893
518
  #@ default
519
  msgid "Show"
520
  msgstr ""
521
 
522
- #: counter.php:1135
523
  #@ default
524
  msgid "Edit Post"
525
  msgstr ""
526
 
527
- #: counter-core.php:756
528
  #, php-format
529
  #@ cpd
530
  msgid "Time for Count per Day: <code>%s</code>."
531
  msgstr "Zeit bei Count per Day: <code>%s</code>"
532
 
533
- #: counter-options.php:842
534
  #@ cpd
535
  msgid "until User Level"
536
  msgstr "bis Benutzerlevel"
537
 
538
- #: counter-core.php:799
539
  #@ default
540
  msgid "Plugin"
541
  msgstr ""
542
 
543
- #: counter.php:895
544
- #: notes.php:55
545
- #: notes.php:89
546
  #@ cpd
547
  msgid "Notes"
548
  msgstr "Notizen"
549
 
550
- #: notes.php:90
551
  #@ default
552
  msgid "Action"
553
  msgstr ""
554
 
555
- #: notes.php:95
556
  #@ cpd
557
  msgid "add"
558
  msgstr "hinzuf&uuml;gen"
559
 
560
- #: notes.php:111
561
  #@ cpd
562
  msgid "save"
563
  msgstr "speichern"
564
 
565
- #: notes.php:112
566
  #@ cpd
567
  msgid "delete"
568
  msgstr "l&ouml;schen"
569
 
570
- #: notes.php:123
571
  #@ cpd
572
  msgid "edit"
573
  msgstr "&auml;ndern"
574
 
575
- #: counter-options.php:1011
576
  #@ cpd
577
  msgid "Add this value to \"Total reads\"."
578
  msgstr "Addiere diesen Wert zu \"Seitenaufrufe gesamt\"."
579
 
580
- #: counter.php:236
581
- #: counter.php:1412
582
  #@ cpd
583
  msgid "Total reads"
584
  msgstr "Seitenaufrufe gesamt"
585
 
586
- #: counter.php:237
587
- #: counter.php:1413
588
  #@ cpd
589
  msgid "Reads today"
590
  msgstr "Seitenaufrufe heute"
591
 
592
- #: counter.php:238
593
- #: counter.php:1414
594
  #@ cpd
595
  msgid "Reads yesterday"
596
  msgstr "Seitenaufrufe gestern"
597
 
598
- #: counter.php:438
599
- #: counter.php:1254
600
  #@ cpd
601
  msgid "Map"
602
  msgstr "Weltkarte"
603
 
604
- #: counter-options.php:868
605
  #@ cpd
606
  msgid "Anonymous IP"
607
  msgstr "Anonyme IP-Adresse"
608
 
609
- #: counter-options.php:872
610
  #@ cpd
611
  msgid "Cache"
612
  msgstr "Cache"
613
 
614
- #: counter-options.php:873
615
  #@ cpd
616
  msgid "I use a cache plugin. Count these visits with ajax."
617
  msgstr "Ich benutze ein Cache-Plugin. Zähle diese Seiten mit Ajax."
618
 
619
- #: counter-options.php:964
620
  #@ cpd
621
  msgid "Substring of the user agent, separated by comma"
622
  msgstr "Teil der Browserkennung (user agent), getrennt durch Komma."
623
 
624
- #: counter-core.php:808
625
  #@ cpd
626
  msgid "Visitors per Country"
627
  msgstr "Besucher pro Land"
628
 
629
- #: counter-options.php:1048
630
  #@ cpd
631
  msgid "Debug mode"
632
  msgstr "Debug Modus"
633
 
634
- #: counter-options.php:1050
635
  #@ cpd
636
  msgid "Show debug informations at the bottom of all pages."
637
  msgstr "Zeigt Informationen zum Plugin am unteren Ende aller Seiten an."
638
 
639
- #: userperspan.php:50
640
  #@ cpd
641
  msgid "Start"
642
  msgstr "Start"
643
 
644
- #: userperspan.php:52
645
  #@ cpd
646
  msgid "End"
647
  msgstr "Ende"
648
 
649
- #: userperspan.php:54
650
  #@ cpd
651
  msgid "PostID"
652
  msgstr "Artikel-ID"
653
 
654
- #: userperspan.php:62
655
  #@ cpd
656
  msgid "no data found"
657
  msgstr "keine passenden Daten gefunden"
658
 
659
- #: counter-options.php:726
660
  #@ cpd
661
  msgid "You can get the country data for all entries in database by checking the IP adress against the GeoIP database. This can take a while!"
662
  msgstr "Du kannst zu allen Zählerdaten das Herkunftsland speichern. Dazu wird die IP mit der GeoIP Datenbank abgeglichen. Das kann je nach Anzahl der Daten eine ganze Weile dauern."
663
 
664
- #: counter-options.php:831
665
  #@ cpd
666
  msgid "Counter"
667
  msgstr "Z&auml;hler"
668
 
669
- #: counter-options.php:975
670
  #@ cpd
671
  msgid "Local URLs"
672
  msgstr "Lokale URLs"
673
 
674
- #: counter-options.php:976
675
  #@ cpd
676
  msgid "Show local referrers too."
677
  msgstr "Zeige auch lokale Referrer."
678
 
679
- #: counter-options.php:983
680
  #@ default
681
  msgid "Posts"
682
  msgstr ""
683
 
684
- #: counter-options.php:983
685
  #@ default
686
  msgid "Pages"
687
  msgstr ""
688
 
689
- #: counter.php:1144
690
  #@ default
691
  msgid "Category"
692
  msgstr ""
693
 
694
- #: counter.php:1147
695
  #@ default
696
  msgid "Tag"
697
  msgstr ""
698
 
699
- #: counter-core.php:759
700
  #@ default
701
  msgid "License"
702
  msgstr ""
703
 
704
- #: counter-core.php:803
705
  #@ cpd
706
  msgid "Referrer"
707
  msgstr "Herkunft"
708
 
709
- #: counter.php:1436
710
  #@ default
711
  msgid "Title"
712
  msgstr ""
713
 
714
- #: counter-options.php:879
715
  #@ cpd
716
  msgid "Save and show clients and referrers.<br />Needs a lot of space in the database but gives you more detailed informations of your visitors."
717
  msgstr "Browser und Herkunft speichern und anzeigen.<br />Diese Daten brauchen mit Abstand den meisten Platz in der Datenbank, liefern aber auch detailliertere Informationen über die Besucher."
718
 
719
- #: counter-options.php:876
720
  #@ cpd
721
  msgid "Clients and referrers"
722
  msgstr "Browser und Herkunft"
723
 
724
- #: counter.php:239
725
- #: counter.php:1415
726
  #@ cpd
727
  msgid "Reads last week"
728
  msgstr "Seitenaufrufe letzte Woche"
729
 
730
- #: counter-core.php:794
731
- #: counter.php:1416
732
  #@ cpd
733
  msgid "Reads per month"
734
  msgstr "Seitenaufrufe pro Monat"
735
 
736
- #: counter-options.php:967
737
  #@ cpd
738
  msgid "Referrers - Entries"
739
  msgstr "Herkunft - Einträge"
740
 
741
- #: counter-options.php:968
742
  #@ cpd
743
  msgid "How many referrers do you want to see on dashboard page?"
744
  msgstr "Wie viele Herkunftsseiten möchtest du auf der Dashbord Seite sehen?"
745
 
746
- #: counter-options.php:971
747
  #@ cpd
748
  msgid "Referrers - Days"
749
  msgstr "Herkunft - Tage"
750
 
751
- #: counter.php:994
752
  #, php-format
753
  #@ cpd
754
  msgid "The %s referrers in last %s days:"
755
  msgstr "Die %s Herkunftsseiten der letzten %s Tage:"
756
 
757
- #: counter-core.php:792
758
  #@ cpd
759
  msgid "Visitors online"
760
  msgstr "Besucher online"
761
 
762
- #: counter-options.php:1018
763
  #@ cpd
764
  msgid "Stylesheet"
765
  msgstr "Stylesheet"
766
 
767
- #: counter-options.php:1021
768
  #@ cpd
769
  msgid "NO Stylesheet in Frontend"
770
  msgstr "KEIN Stylesheet im Frontend"
771
 
772
- #: counter-options.php:1022
773
  #@ cpd
774
  msgid "Do not load the stylesheet \"counter.css\" in frontend."
775
  msgstr "Lade die Datei \"counter.css\" nicht im Frontend."
776
 
777
- #: counter-options.php:918
778
  #@ cpd
779
  msgid "Who can see it"
780
  msgstr "Wer darf es sehen"
781
 
782
- #: counter-options.php:927
783
  #@ cpd
784
  msgid "custom"
785
  msgstr "benutzerdefiniert"
786
 
787
- #: counter-options.php:929
788
  #@ cpd
789
  msgid "and higher are allowed to see the statistics page."
790
  msgstr "und höher haben Zugriff auf die Statistikseite."
791
 
792
- #: counter-options.php:931
793
  #, php-format
794
  #@ cpd
795
  msgid "Set the %s capability %s a user need:"
796
  msgstr "Gibt die benötigte %s Rolle %s ein."
797
 
798
- #: counter-core.php:232
799
  #, php-format
800
  #@ cpd
801
  msgid "\"Count per Day\" updated to version %s."
802
  msgstr "&quot;Count per Day&quot; aktualisiert auf Version %s."
803
 
804
- #: counter-core.php:1076
805
  #@ cpd
806
  msgid "Backup failed! Cannot open file"
807
  msgstr "Backup fehlgeschlagen! Kann die Datei nicht öffnen"
808
 
809
- #: counter-core.php:1195
810
- #: counter-core.php:1203
811
  #, php-format
812
  #@ cpd
813
  msgid "Backup of counter table saved in %s."
814
  msgstr "Die Zähler-Tabelle wurde in %s gesichert."
815
 
816
- #: counter-core.php:1197
817
- #: counter-core.php:1205
818
  #, php-format
819
  #@ cpd
820
  msgid "Backup of counter options and collection saved in %s."
821
  msgstr "Die Optionen und Zusammenfassung wurden in %s gesichert."
822
 
823
- #: counter-options.php:177
824
  #@ cpd
825
  msgid "Collection in progress..."
826
  msgstr "Zusammenfassung erfolgt ..."
827
 
828
- #: counter-options.php:271
829
  #@ cpd
830
  msgid "Get Visitors per Post..."
831
  msgstr "Besucher pro Artikel bearbeiten..."
832
 
833
- #: counter-options.php:316
834
  #, php-format
835
  #@ cpd
836
  msgid "Counter entries until %s collected and counter table %s optimized (size before = %s &gt; size after = %s)."
837
  msgstr "Zähler-Eintr&auml;ge bis %s zusammengefasst und Tabelle %s optimiert (Gr&ouml;&szlig;e vorher = %s &gt; Gr&ouml;&szlig;e nachher = %s)."
838
 
839
- #: counter-options.php:325
840
  #@ cpd
841
  msgid "Installation of \"Count per Day\" checked"
842
  msgstr "Installation von &quot;Count per Day&quot; überpr&uuml;ft"
843
 
844
- #: counter-options.php:411
845
  #@ default
846
  msgid "Tools"
847
  msgstr ""
848
 
849
- #: counter-options.php:881
850
  #@ cpd
851
  msgid "Save URL only, no query string."
852
  msgstr "Speichere nur die URL, keinen Query-String."
853
 
854
- #: counter-options.php:563
855
- #: counter-options.php:1029
856
  #@ cpd
857
  msgid "Backup"
858
  msgstr "Backup"
859
 
860
- #: counter-options.php:1032
861
  #@ cpd
862
  msgid "Entries per pass"
863
  msgstr "Einträge pro Durchgang"
864
 
865
- #: counter-options.php:1035
866
  #@ cpd
867
  msgid "How many entries should be saved per pass? Default: 10000"
868
  msgstr "Wie viele Eintr&auml;ge sollen pro Durchgang bearbeitet werden? Standard: 10000"
869
 
870
- #: counter-options.php:1040
871
  #@ cpd
872
  msgid "If your PHP memory limit less then 50 MB and you get a white page or error messages try a smaller value."
873
  msgstr "Wenn dein PHP-Speicher-Limit kleiner als 50 MB ist und du nur eine wei&szlig;e Seite oder Fehlermeldungen bekommst versuche einen kleineren Wert."
874
 
875
- #: counter-options.php:567
876
  #, php-format
877
  #@ cpd
878
  msgid "Create a backup of the counter table %s in your wp-content directory (if writable)."
879
  msgstr "Erstelle eine Sicherungskopie der Z&auml;hler-Tabelle %s in deinem wp-content Verzeichnis (wenn beschreibbar)."
880
 
881
- #: counter-options.php:574
882
  #@ cpd
883
  msgid "Backup the database"
884
  msgstr "Datenbank sichern"
885
 
886
- #: counter-options.php:678
887
- #: counter-options.php:710
888
  #@ cpd
889
  msgid "Collect old data"
890
  msgstr "Alte Daten zusammenfassen"
891
 
892
- #: counter-options.php:664
893
- #: counter-options.php:683
894
  #, php-format
895
  #@ cpd
896
  msgid "Current size of your counter table %s is %s."
897
  msgstr "Die aktuelle Gr&ouml;&szlig;e der Z&auml;hler-Tabelle %s ist %s."
898
 
899
- #: counter-options.php:685
900
  #@ cpd
901
  msgid "You can collect old data and clean up the counter table.<br/>Reads and visitors will be saved per month, per country and per post.<br/>Clients and referrers will deleted."
902
  msgstr "Du kannst alte Daten zusammenfassen und die Z&auml;hler-Tabelle bereinigen.<br/>Seitenaufrufe und Besucher werden pro Monat, pro Land und pro Beitrag zusammengefasst.<br/>Browser und Herkunftsdaten werden gel&ouml;scht."
903
 
904
- #: counter-options.php:690
905
  #, php-format
906
  #@ cpd
907
  msgid "Currently your collection contains data until %s."
908
  msgstr "Momentan enth&auml;lt die Zusammenfassung Daten bis %s."
909
 
910
- #: counter-options.php:694
911
  #@ cpd
912
  msgid "Normally new data will be added to the collection."
913
  msgstr "Normalerweise werden neue Daten zur Zusammenfassung hinzugef&uuml;gt."
914
 
915
- #: counter-options.php:700
916
  #@ cpd
917
  msgid "Delete old collection and create a new one which contains only the data currently in counter table."
918
  msgstr "L&ouml;sche die aktuelle Zusammenfassung und erstelle eine neue, die nur die Daten enth&auml;lt, die momentan in der Z&auml;hler-Tabelle sind."
919
 
920
- #: counter-options.php:701
921
  #, php-format
922
  #@ cpd
923
  msgid "All collected data until %s will deleted."
924
  msgstr "Alle zusammengefassten Daten bis %s werden gel&ouml;scht."
925
 
926
- #: counter-options.php:706
927
  #, php-format
928
  #@ cpd
929
  msgid "Keep entries of last %s full months + current month in counter table."
930
  msgstr "Behalte die Eintr&auml;ge der letzten %s vollen Monate plus des aktuellen Monats in der Z&auml;hler-Tabelle."
931
 
932
- #: counter-options.php:757
933
  #@ cpd
934
  msgid "ReActivation"
935
  msgstr "ReAktivierung"
936
 
937
- #: counter-options.php:760
938
  #@ cpd
939
  msgid "Here you can start the installation functions manually.<br/>Same as deactivate and reactivate the plugin."
940
  msgstr "Hier kannst du die Installationsfunktionen manuell starten.<br/>Macht das gleiche, als würdest du das Plugin deaktivieren und wieder aktivieren."
941
 
942
- #: counter-options.php:765
943
  #@ cpd
944
  msgid "ReActivate the plugin"
945
  msgstr "ReAktiviere das Plugin"
946
 
947
- #: counter.php:246
948
- #: counter.php:1048
949
  #@ cpd
950
  msgid "Visitors"
951
  msgstr "Besucher"
952
 
953
- #: counter.php:249
954
- #: counter.php:250
955
  #@ cpd
956
  msgid "Most visited day"
957
  msgstr "meistbesuchter Tag"
958
 
959
- #: counter.php:1455
960
  #@ cpd
961
  msgid "drag and drop to sort"
962
  msgstr "per Drag &amp; Drop sortieren"
963
 
964
- #: counter-core.php:1191
965
  #@ cpd
966
  msgid "Your can download the backup files here and now."
967
  msgstr "Du kannst die Sicherungen nur hier und jetzt herunterladen."
968
 
969
- #: counter-options.php:570
970
  #@ cpd
971
  msgid "Download only"
972
  msgstr "nur zum Download anbieten, nicht speichern"
973
 
974
- #: counter-options.php:620
975
  #@ default
976
  msgid "Delete"
977
  msgstr ""
978
 
979
- #: counter-options.php:621
980
  #, php-format
981
  #@ cpd
982
  msgid "Delete the backup file %s ?"
983
  msgstr "Sicherung %s l&ouml;schen?"
984
 
985
- #: counter-core.php:798
986
- #: counter-options.php:967
987
- #: counter-options.php:971
988
  #@ cpd
989
  msgid "Search strings"
990
  msgstr "Suchw&ouml;rter"
991
 
992
- #: counter-core.php:1261
993
  #@ cpd
994
  msgid "Error while reading backup file!"
995
  msgstr "Fehler beim Lesen der Sicherungsdatei!"
996
 
997
- #: counter-core.php:1265
998
  #, php-format
999
  #@ cpd
1000
  msgid "The backup was added to counter table %s."
1001
  msgstr "Die Sicherung wurde zur Tabelle %s hinzugef&uuml;gt."
1002
 
1003
- #: counter-core.php:1267
1004
  #, php-format
1005
  #@ cpd
1006
  msgid "The counter table %s was restored from backup."
1007
  msgstr "Die Z&auml;hlertabelle %s wurde wiederhergestellt."
1008
 
1009
- #: counter-core.php:1284
1010
  #@ cpd
1011
  msgid "Options restored from backup."
1012
  msgstr "Einstellungen wiederhergestellt."
1013
 
1014
- #: counter-options.php:602
1015
  #@ cpd
1016
  msgid "Settings and collections"
1017
  msgstr "Einstellungen und Zusammenfassung"
1018
 
1019
- #: counter-options.php:607
1020
  #, php-format
1021
  #@ cpd
1022
  msgid "Counter table %s"
1023
  msgstr "Z&auml;hlertabelle %s"
1024
 
1025
- #: counter-options.php:614
1026
  #, php-format
1027
  #@ cpd
1028
  msgid "Add data from the backup file %s to existing counter table?"
1029
  msgstr "Die Daten der Sicherung zur vorhandenen Z&auml;hlertabelle %s hinzuf&uuml;gen?"
1030
 
1031
- #: counter-options.php:618
1032
  #, php-format
1033
  #@ cpd
1034
  msgid "Restore data from the backup file %s ?"
1035
  msgstr "Daten aus der Sicherung %s wiederherstellen?"
1036
 
1037
- #: counter-options.php:618
1038
  #@ default
1039
  msgid "Restore"
1040
  msgstr ""
1041
 
1042
- #: counter-options.php:627
1043
  #@ cpd
1044
  msgid "add backup to current counter table"
1045
  msgstr "Sicherung zu aktuellen Daten hinzuf&uuml;gen"
1046
 
1047
- #: counter-options.php:628
1048
  #@ cpd
1049
  msgid "replace current counter table with with backup"
1050
  msgstr "aktuelle Daten durch Sicherung ersetzen"
1051
 
1052
- #: counter-options.php:629
1053
  #@ cpd
1054
  msgid "delete backup file"
1055
  msgstr "Sicherung l&ouml;schen"
1056
 
1057
- #: counter.php:1198
1058
  #, php-format
1059
  #@ cpd
1060
  msgid "The %s most searched strings:"
1061
  msgstr "Die %s am meisten gesuchten W&ouml;rter:"
1062
 
1063
- #: counter.php:1207
1064
  #, php-format
1065
  #@ cpd
1066
  msgid "The search strings of the last %s days:"
1067
  msgstr "Die Suchw&ouml;rter der letzten %s Tage:"
1068
 
1069
- #: counter-options.php:340
1070
  #@ cpd
1071
  msgid "Old search strings deleted"
1072
  msgstr "Alte Suchw&ouml;rter wurden gel&ouml;scht."
1073
 
1074
- #: counter-options.php:654
1075
  #, php-format
1076
  #@ cpd
1077
  msgid "Delete search strings older than %s days."
1078
  msgstr "L&ouml;sche Suchw&ouml;rter die älter als %s Tage sind!"
1079
 
1080
- #: counter-options.php:658
1081
  #@ cpd
1082
  msgid "Delete search strings"
1083
  msgstr "L&ouml;sche Suchw&ouml;rter"
1084
 
1085
- #: counter-options.php:614
1086
  #@ cpd
1087
  msgid "Add"
1088
  msgstr "Hinzuf&uuml;gen"
1089
 
1090
- #: counter-options.php:355
1091
  #@ cpd
1092
  msgid "Clients and referers deleted"
1093
  msgstr "Browser und Herkunftsdaten gelöscht"
1094
 
1095
- #: counter-options.php:665
1096
  #, php-format
1097
  #@ cpd
1098
  msgid "Delete clients and referers older than %s days to reduce the size of the counter table."
1099
  msgstr "Lösche Browser und Herkunftsdaten bei Einträgen die älter als %s Tage sind um die Datenbank zu verkleinern."
1100
 
1101
- #: counter-options.php:669
1102
  #@ cpd
1103
  msgid "Delete clients and referers"
1104
  msgstr "Browser und Herkunftsdaten löschen"
1105
 
1106
- #: counter.php:1150
1107
  #@ default
1108
  msgid "Front page"
1109
  msgstr ""
1110
 
1111
- #: counter.php:1371
1112
  #@ default
1113
  msgid "_name"
1114
  msgstr ""
1115
 
1116
- #: counter-core.php:1048
1117
  #@ cpd
1118
  msgid "Download the export file:"
1119
  msgstr "Export-Datei herunterladen:"
1120
 
1121
- #: counter-core.php:1103
1122
  #, php-format
1123
  #@ cpd
1124
  msgid "Backup of %s entries in progress. Every point comprises %s entries."
1125
  msgstr "Backup von %s Datensätzen. Jeder Punkt entspricht %s Einträgen."
1126
 
1127
- #: counter-options.php:292
1128
  #@ cpd
1129
  msgid "Deleting old data..."
1130
  msgstr "Alte Daten werden gelöscht..."
1131
 
1132
- #: counter-options.php:496
1133
  #@ cpd
1134
  msgid "Most Industrious Visitors"
1135
  msgstr "Die fleißigsten Besucher"
1136
 
1137
- #: counter-options.php:500
1138
  #, php-format
1139
  #@ cpd
1140
  msgid "Show the %s most industrious visitors of the last %s days"
1141
  msgstr "Zeige die %s fleißigsten Besucher der letzten %s Tage"
1142
 
1143
- #: counter-options.php:547
1144
  #@ cpd
1145
  msgid "Export"
1146
  msgstr "Exportieren"
1147
 
1148
- #: counter-options.php:551
1149
  #, php-format
1150
  #@ cpd
1151
  msgid "Export the last %s days as CSV-File"
1152
  msgstr "Exportiere die Einträge der letzten %s Tage als CSV-Datei"
1153
 
1154
- #: counter-options.php:555
1155
  #@ cpd
1156
  msgid "Export entries"
1157
  msgstr "Datensätze exportieren"
1158
 
1159
- #: counter-options.php:888
1160
  #@ cpd
1161
  msgid "Post types"
1162
  msgstr "Beitragstypen"
1163
 
1164
- #: counter-options.php:891
1165
  #@ cpd
1166
  msgid "Only count these post types. Leave empty to count them all."
1167
  msgstr "Nur diese Beitragstypen zählen. Leer lassen um alle zu zählen."
1168
 
1169
- #: counter-options.php:892
1170
  #, php-format
1171
  #@ cpd
1172
  msgid "Current post types: %s"
1173
  msgstr "Aktuelle Beitragstypen: %s"
1174
 
1175
- #: counter.php:248
1176
  #@ cpd
1177
  msgid "Since"
1178
  msgstr "Seit"
1179
 
1180
- #: counter.php:1509
1181
  #@ cpd
1182
  msgid "List of Popular Posts"
1183
  msgstr "Liste der populärsten Beiträge"
1184
 
1185
- #: counter.php:1507
1186
- #: counter.php:1539
1187
  #@ cpd
1188
  msgid "Popular Posts"
1189
  msgstr "Populäre Beiträge"
1190
 
1191
- #: counter.php:1547
1192
  #@ cpd
1193
  msgid "Title:"
1194
  msgstr "Titel:"
1195
 
1196
- #: counter.php:1551
1197
  #@ cpd
1198
  msgid "Days:"
1199
  msgstr "Tage:"
1200
 
1201
- #: counter.php:1555
1202
  #@ cpd
1203
  msgid "Limit:"
1204
  msgstr "Anzahl:"
1205
 
1206
- #: counter.php:1559
1207
  #@ cpd
1208
  msgid "Show header:"
1209
  msgstr "Zeige Einleitung:"
1210
 
1211
- #: counter.php:1563
1212
  #@ cpd
1213
  msgid "Show counters:"
1214
  msgstr "Zeige Anzahl:"
1215
 
1216
- #: counter-core.php:1000
1217
  #@ cpd
1218
  msgid "Export failed! Cannot open file."
1219
  msgstr "Export fehlgeschlagen! Auf die Datei kann nicht zugegriffen werden."
1220
 
1221
- #: counter-options.php:861
1222
  #@ cpd
1223
  msgid "Exclude Countries"
1224
  msgstr "Länder ausschließen"
1225
 
1226
- #: counter-options.php:864
1227
  #@ cpd
1228
  msgid "Do not count visitors from these countries. Use the country code (de, us, cn,...) Leave empty to count them all."
1229
  msgstr "Besucher aus diesen Ländern nicht zählen. Benutze den Länder-Code (de, us, cn, ...). Leer lassen um alle zu zählen."
1230
 
1231
- #: counter-options.php:884
1232
  #@ cpd
1233
  msgid "Limit the length to reduce database size. (max. 500 chars)"
1234
  msgstr "Die Länge der Daten begrenzen um die die Größe der Datenbank zu reduzieren. (max. 500 Zeichen)"
1235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Count Per Day v3.5\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2008-11-02 12:13+0100\n"
6
+ "PO-Revision-Date: 2016-04-21 10:13:01+0000\n"
7
  "Last-Translator: Tom Braider <post@tomsdimension.de>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
25
  msgid "Options updated"
26
  msgstr "Einstellungen aktualisiert"
27
 
28
+ #: counter-options.php:139
29
  #, php-format
30
  #@ cpd
31
  msgid "Database cleaned. %s rows deleted."
32
  msgstr "Datenbank aufger&auml;umt. %s Datens&auml;tze gel&ouml;scht."
33
 
34
+ #: counter-options.php:160
35
+ #: counter-options.php:844
36
  #@ cpd
37
  msgid "UNINSTALL Count per Day"
38
  msgstr "DEINSTALLIERE Count per Day"
39
 
40
+ #: counter-options.php:165
41
+ #: counter-options.php:166
42
+ #: counter-options.php:167
43
  #, php-format
44
  #@ cpd
45
  msgid "Table %s deleted"
46
  msgstr "Tabelle %s gel&ouml;scht"
47
 
48
+ #: counter-options.php:168
49
  #@ cpd
50
  msgid "Options deleted"
51
  msgstr "Einstellungen gel&ouml;scht"
52
 
53
+ #: counter-options.php:410
54
+ #: counter-options.php:830
55
  #@ cpd
56
  msgid "Uninstall"
57
  msgstr "Deinstallation"
58
 
59
+ #: counter-options.php:411
60
  #@ cpd
61
  msgid "Click here"
62
  msgstr "Klick hier"
63
 
64
+ #: counter-options.php:411
65
  #@ cpd
66
  msgid "to finish the uninstall and to deactivate \"Count per Day\"."
67
  msgstr "um die Deinstallation zu beenden und \"Count per Day\" zu deaktivieren."
68
 
69
+ #: counter-options.php:873
70
  #@ cpd
71
  msgid "Online time"
72
  msgstr "Onlinezeit"
73
 
74
+ #: counter-options.php:874
75
  #@ cpd
76
  msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
77
  msgstr "Sekunden f&uuml;r Onlinecounter. Wird f&uuml;r die Anzeige der \"Besucher momentan online\" im Dashboard verwendet."
78
 
79
+ #: counter-options.php:877
80
  #@ cpd
81
  msgid "Logged on Users"
82
  msgstr "Angemeldete Benutzer"
83
 
84
+ #: counter-options.php:879
85
  #@ cpd
86
  msgid "count too"
87
  msgstr "auch mit z&auml;hlen"
88
 
89
+ #: counter-options.php:891
90
  #@ cpd
91
  msgid "Auto counter"
92
  msgstr "Auto-Counter"
93
 
94
+ #: counter-options.php:892
95
  #@ cpd
96
  msgid "Counts automatically single-posts and pages, no changes on template needed."
97
  msgstr "Z&auml;hlt automatisch Besuche auf Single-Posts und Seiten ohne &Auml;nderungen am Template."
98
 
99
+ #: counter-options.php:895
100
  #@ cpd
101
  msgid "Bots to ignore"
102
  msgstr "Spam/Suchmaschinen Bots ignorieren"
103
 
104
+ #: counter-options.php:1093
105
  #@ cpd
106
  msgid "Update options"
107
  msgstr "Einstellungen aktualisieren"
108
 
109
+ #: counter-options.php:665
110
+ #: counter-options.php:673
111
  #@ cpd
112
  msgid "Clean the database"
113
  msgstr "Datenbank aufr&auml;umen"
114
 
115
+ #: counter-options.php:669
116
  #@ cpd
117
  msgid "You can clean the counter table by delete the \"spam data\".<br />If you add new bots above the old \"spam data\" keeps in the database.<br />Here you can run the bot filter again and delete the visits of the bots."
118
  msgstr "Du kannst die Counter-Tabelle von \"Spam-Daten\" befreien.<br />Wenn du neue Bots zu der Liste oben hinzuf&uuml;gst bleiben die alten \"Spam-Daten\" erhalten.<br />Hier kannst du den Filter erneut laufen lassen und die Besuche von Bots nachtr&auml;glich l&ouml;schen."
119
 
120
+ #: counter-options.php:833
121
  #@ cpd
122
  msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
123
  msgstr "Wenn \"Count per Day\" nur deaktiviert wird, bleiben die Tabellen in der Datenbank erhalten."
124
 
125
+ #: counter-options.php:834
126
  #@ cpd
127
  msgid "Here you can delete the tables and disable \"Count per Day\"."
128
  msgstr "Hier kannst du \"Count per Day\" deinstallieren und die Tabellen l&ouml;schen."
129
 
130
+ #: counter-options.php:837
131
  #@ cpd
132
  msgid "WARNING"
133
  msgstr "WARNUNG"
134
 
135
+ #: counter-options.php:838
136
  #@ cpd
137
  msgid "These tables (with ALL counter data) will be deleted."
138
  msgstr "Diese Tabellen werden mit ALLEN Z&auml;hlerdaten gel&ouml;scht."
139
 
140
+ #: counter-options.php:840
141
  #@ cpd
142
  msgid "If \"Count per Day\" re-installed, the counter starts at 0."
143
  msgstr "Wenn \"Count per Day\" erneut installiert wird, beginnt der Z&auml;hler bei 0."
144
 
145
+ #: counter-options.php:820
146
+ #: counter-options.php:843
147
  #@ cpd
148
  msgid "Yes"
149
  msgstr "Ja, los!"
150
 
151
+ #: counter-options.php:844
152
  #@ cpd
153
  msgid "You are sure to disable Count per Day and delete all data?"
154
  msgstr "Bist du sicher, dass du Count per Day deaktivieren und alle Daten l&ouml;schen willst?"
155
 
156
+ #: counter-core.php:829
157
+ #: counter.php:1334
158
  #@ cpd
159
  msgid "Statistics"
160
  msgstr "Statistiken"
161
 
162
+ #: counter-core.php:797
163
+ #: counter.php:248
164
+ #: counter.php:1231
165
+ #: counter.php:1412
166
  #@ cpd
167
  msgid "Total visitors"
168
  msgstr "Besucher gesamt"
169
 
170
+ #: counter.php:249
171
+ #: counter.php:1418
172
  #@ cpd
173
  msgid "Visitors currently online"
174
  msgstr "Besucher momentan online"
175
 
176
+ #: counter.php:250
177
+ #: counter.php:1413
178
  #@ cpd
179
  msgid "Visitors today"
180
  msgstr "Besucher heute"
181
 
182
+ #: counter.php:251
183
+ #: counter.php:1414
184
  #@ cpd
185
  msgid "Visitors yesterday"
186
  msgstr "Besucher gestern"
187
 
188
+ #: counter.php:252
189
+ #: counter.php:1415
190
  #@ cpd
191
  msgid "Visitors last week"
192
  msgstr "Besucher letzte Woche"
193
 
194
+ #: counter.php:989
195
+ #: counter.php:1419
196
  #@ cpd
197
  msgid "Counter starts on"
198
  msgstr "gez&auml;hlt ab"
199
 
200
+ #: counter-core.php:803
201
+ #: counter.php:254
202
+ #: counter.php:355
203
+ #: counter.php:1233
204
+ #: counter.php:1417
205
+ #: userperspan.php:42
206
  #@ cpd
207
  msgid "Visitors per day"
208
  msgstr "Besucher pro Tag"
209
 
210
+ #: counter-core.php:799
211
+ #: counter.php:1416
212
  #@ cpd
213
  msgid "Visitors per month"
214
  msgstr "Besucher pro Monat"
215
 
216
+ #: counter-core.php:801
217
+ #: counter-options.php:975
218
  #@ cpd
219
  msgid "Visitors per post"
220
  msgstr "Besucher pro Artikel"
221
 
222
+ #: counter-options.php:155
223
  #@ cpd
224
  msgid "Counter reseted."
225
  msgstr "Z&auml;hler zur&uuml;ckgesetzt."
226
 
227
+ #: counter-options.php:976
228
+ #: counter-options.php:980
229
  #@ cpd
230
  msgid "How many posts do you want to see on dashboard page?"
231
  msgstr "Wie viele Eintr&auml;ge m&ouml;chtest du auf der Dashboard Seite sehen?"
232
 
233
+ #: counter-options.php:979
234
  #@ cpd
235
  msgid "Latest Counts - Posts"
236
  msgstr "Aktuelle Besuche - Artikel"
237
 
238
+ #: counter-options.php:983
239
  #@ cpd
240
  msgid "Latest Counts - Days"
241
  msgstr "Aktuelle Besuche - Tage"
242
 
243
+ #: counter-options.php:984
244
+ #: counter-options.php:988
245
+ #: counter-options.php:1010
246
  #@ cpd
247
  msgid "How many days do you want look back?"
248
  msgstr "Wie viele Tage m&ouml;chtest du zur&uuml;ck schauen?"
249
 
250
+ #: counter-options.php:1024
251
  #@ cpd
252
  msgid "Show in lists"
253
  msgstr "In &Uuml;bersichten anzeigen"
254
 
255
+ #: counter-options.php:1025
256
  #@ cpd
257
  msgid "Show \"Reads per Post\" in a new column in post management views."
258
  msgstr "Zeige \"Besucher pro Artikel\" in einer eigenen Spalte in der Artikel&uuml;bersicht."
259
 
260
+ #: counter-options.php:811
261
+ #: counter-options.php:821
262
  #@ cpd
263
  msgid "Reset the counter"
264
  msgstr "Z&auml;hler zur&uuml;cksetzen"
265
 
266
+ #: counter-options.php:814
267
  #@ cpd
268
  msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
269
  msgstr "Du kannst die Z&auml;hler zur&uuml;cksetzen und die Tabelle leeren. Alles auf 0!<br />Wenn du die aktuellen Zahlen brauchst, mache ein Backup der Datenbank!"
270
 
271
+ #: counter.php:787
272
  #, php-format
273
  #@ cpd
274
  msgid "The %s most visited posts in last %s days:"
275
  msgstr "Die %s am meisten besuchten Seiten der letzten %s Tage:"
276
 
277
+ #: counter-core.php:660
278
+ #: counter-options.php:437
279
  #@ default
280
  msgid "Settings"
281
  msgstr ""
282
 
283
+ #: counter-core.php:1546
284
+ #: counter-options.php:917
285
+ #: counter.php:247
286
+ #: counter.php:1039
287
+ #: map/map.php:54
288
  #@ cpd
289
  msgid "Reads"
290
  msgstr "Seitenaufrufe"
291
 
292
+ #: counter-core.php:802
293
  #@ cpd
294
  msgid "Latest Counts"
295
  msgstr "Letzte Seitenaufrufe"
296
 
297
+ #: counter-options.php:987
298
  #@ cpd
299
  msgid "Chart - Days"
300
  msgstr "Diagramm - Tage"
301
 
302
+ #: counter-options.php:991
303
  #@ cpd
304
  msgid "Chart - Height"
305
  msgstr "Diagramm - H&ouml;he"
306
 
307
+ #: counter-options.php:992
308
  #@ cpd
309
  msgid "Height of the biggest bar"
310
  msgstr "H&ouml;he des gr&ouml;&szlig;ten Balkens"
311
 
312
+ #: counter.php:1406
313
  #@ cpd
314
  msgid "This post"
315
  msgstr "Diese Seite"
316
 
317
+ #: counter-options.php:940
318
  #@ default
319
  msgid "Dashboard"
320
  msgstr ""
321
 
322
+ #: counter.php:354
323
  #@ cpd
324
  msgid "Reads per day"
325
  msgstr "Seitenaufrufe pro Tag"
335
  msgid "update next"
336
  msgstr "weiter aktualisieren"
337
 
338
+ #: counter-options.php:748
339
  #@ cpd
340
  msgid "GeoIP - Countries"
341
  msgstr "GeoIP - L&auml;nder"
342
 
343
+ #: counter-options.php:757
344
  #@ cpd
345
  msgid "Update old counter data"
346
  msgstr "Aktualisiere alte Z&auml;hlerdaten"
347
 
348
+ #: counter-options.php:769
349
  #@ cpd
350
  msgid "Update GeoIP database"
351
  msgstr "Aktualisiere GeoIP Datenbank"
352
 
353
+ #: counter-options.php:764
354
  #@ cpd
355
  msgid "Download a new version of GeoIP.dat file."
356
  msgstr "Neue Version von GeoIP.dat herunterladen."
357
 
358
+ #: counter-options.php:787
359
  #@ cpd
360
  msgid "More informations about GeoIP"
361
  msgstr "Mehr Informationen über GeoIP"
362
 
363
+ #: counter-core.php:813
364
  #@ cpd
365
  msgid "Reads per Country"
366
  msgstr "Seitenaufrufe pro Land"
367
 
368
+ #: geoip.php:135
369
  #@ cpd
370
  msgid "New GeoIP database installed."
371
  msgstr "Neue GeoIP Datenbank installiert."
372
 
373
+ #: geoip.php:111
 
 
 
 
 
374
  #@ cpd
375
  msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
376
  msgstr "Leider ist eine notwendige Funktion (zlib) nicht installiert oder nicht in der php.ini aktiviert."
377
 
378
+ #: counter-options.php:996
379
  #@ cpd
380
  msgid "Countries"
381
  msgstr "L&auml;nder"
382
 
383
+ #: counter-options.php:997
384
  #@ cpd
385
  msgid "How many countries do you want to see on dashboard page?"
386
  msgstr "Wie viele L&auml;nder m&ouml;chtest du auf der Dashboard Seite sehen?"
387
 
388
+ #: counter-options.php:127
389
  #, php-format
390
  #@ cpd
391
  msgid "Mass Bots cleaned. %s counts deleted."
392
  msgstr "Massen-Bots bereinigt. %s Z&auml;hlerdaten gel&ouml;scht."
393
 
394
+ #: counter-options.php:457
395
+ #: massbots.php:42
396
  #@ cpd
397
  msgid "Mass Bots"
398
  msgstr "Massen-Bots"
399
 
400
+ #: counter-options.php:461
401
  #, php-format
402
  #@ cpd
403
  msgid "Show all IPs with more than %s page views per day"
404
  msgstr "Zeige alle IP-Adressen mit mehr als %s Seitenaufrufe pro Tag"
405
 
406
+ #: counter-options.php:462
407
+ #: counter-options.php:526
408
+ #: notes.php:80
409
+ #: userperspan.php:52
410
  #@ cpd
411
  msgid "show"
412
  msgstr "anzeigen"
413
 
414
+ #: counter-options.php:488
415
+ #: counter-options.php:504
416
+ #: counter-options.php:551
417
  #, php-format
418
  #@ cpd
419
  msgid "Delete these %s counts"
420
  msgstr "L&ouml;sche diese %s Z&auml;hlerdaten"
421
 
422
+ #: counter.php:978
423
  #@ cpd
424
  msgid "Other"
425
  msgstr "Sonstige"
426
 
427
+ #: massbots.php:59
428
+ #: userperspan.php:71
429
  #@ default
430
  msgid "Front page displays"
431
  msgstr ""
432
 
433
+ #: counter-core.php:808
434
+ #: counter-options.php:1001
435
  #@ cpd
436
  msgid "Browsers"
437
  msgstr "Browser"
438
 
439
+ #: counter-options.php:470
440
+ #: counter-options.php:534
441
  #@ cpd
442
  msgid "IP"
443
  msgstr "IP"
444
 
445
+ #: counter-options.php:471
446
+ #: counter-options.php:535
447
+ #: notes.php:84
448
  #@ cpd
449
  #@ default
450
  msgid "Date"
451
  msgstr "Datum"
452
 
453
+ #: counter-options.php:472
454
+ #: counter-options.php:536
455
  #@ cpd
456
  msgid "Client"
457
  msgstr "Browser"
458
 
459
+ #: counter-options.php:473
460
+ #: counter-options.php:537
461
  #@ cpd
462
  msgid "Views"
463
  msgstr "Seitenaufrufe"
464
 
465
+ #: counter-options.php:1032
466
  #@ cpd
467
  msgid "Start Values"
468
  msgstr "Startwerte"
469
 
470
+ #: counter-options.php:1036
471
  #@ cpd
472
  msgid "Here you can change the date of first count and add a start count."
473
  msgstr "Hier kannst du das Startdatum und den Startz&auml;hlerstand überschreiben."
474
 
475
+ #: counter-options.php:1040
476
  #@ cpd
477
  msgid "Start date"
478
  msgstr "Startdatum"
479
 
480
+ #: counter-options.php:1041
481
  #@ cpd
482
  msgid "Your old Counter starts at?"
483
  msgstr "Dein alter Z&auml;hler begann am?"
484
 
485
+ #: counter-options.php:1044
486
+ #: counter-options.php:1048
487
  #@ cpd
488
  msgid "Start count"
489
  msgstr "Startz&auml;hlerstand"
490
 
491
+ #: counter-options.php:1045
492
  #@ cpd
493
  msgid "Add this value to \"Total visitors\"."
494
  msgstr "Addiere diesen Wert zu \"Besucher gesamt\"."
495
 
496
+ #: counter-options.php:852
497
  #@ cpd
498
  msgid "Support"
499
  msgstr "Kontakt"
500
 
501
+ #: counter-core.php:763
502
  #@ cpd
503
  msgid "Bug? Problem? Question? Hint? Praise?"
504
  msgstr "Bug? Problem? Frage? Tipp? Lob?"
505
 
506
+ #: counter-core.php:764
507
  #, php-format
508
  #@ cpd
509
  msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
510
  msgstr "Schreib einen Kommentar auf der <a href=\"%s\">Plugin-Seite</a>."
511
 
512
+ #: counter.php:904
513
  #@ default
514
  msgid "Show"
515
  msgstr ""
516
 
517
+ #: counter.php:1149
518
  #@ default
519
  msgid "Edit Post"
520
  msgstr ""
521
 
522
+ #: counter-core.php:762
523
  #, php-format
524
  #@ cpd
525
  msgid "Time for Count per Day: <code>%s</code>."
526
  msgstr "Zeit bei Count per Day: <code>%s</code>"
527
 
528
+ #: counter-options.php:880
529
  #@ cpd
530
  msgid "until User Level"
531
  msgstr "bis Benutzerlevel"
532
 
533
+ #: counter-core.php:805
534
  #@ default
535
  msgid "Plugin"
536
  msgstr ""
537
 
538
+ #: counter.php:906
539
+ #: notes.php:51
540
+ #: notes.php:85
541
  #@ cpd
542
  msgid "Notes"
543
  msgstr "Notizen"
544
 
545
+ #: notes.php:86
546
  #@ default
547
  msgid "Action"
548
  msgstr ""
549
 
550
+ #: notes.php:91
551
  #@ cpd
552
  msgid "add"
553
  msgstr "hinzuf&uuml;gen"
554
 
555
+ #: notes.php:107
556
  #@ cpd
557
  msgid "save"
558
  msgstr "speichern"
559
 
560
+ #: notes.php:108
561
  #@ cpd
562
  msgid "delete"
563
  msgstr "l&ouml;schen"
564
 
565
+ #: notes.php:119
566
  #@ cpd
567
  msgid "edit"
568
  msgstr "&auml;ndern"
569
 
570
+ #: counter-options.php:1049
571
  #@ cpd
572
  msgid "Add this value to \"Total reads\"."
573
  msgstr "Addiere diesen Wert zu \"Seitenaufrufe gesamt\"."
574
 
575
+ #: counter.php:243
576
+ #: counter.php:1407
577
  #@ cpd
578
  msgid "Total reads"
579
  msgstr "Seitenaufrufe gesamt"
580
 
581
+ #: counter.php:244
582
+ #: counter.php:1408
583
  #@ cpd
584
  msgid "Reads today"
585
  msgstr "Seitenaufrufe heute"
586
 
587
+ #: counter.php:245
588
+ #: counter.php:1409
589
  #@ cpd
590
  msgid "Reads yesterday"
591
  msgstr "Seitenaufrufe gestern"
592
 
593
+ #: counter.php:449
594
+ #: counter.php:1262
595
  #@ cpd
596
  msgid "Map"
597
  msgstr "Weltkarte"
598
 
599
+ #: counter-options.php:906
600
  #@ cpd
601
  msgid "Anonymous IP"
602
  msgstr "Anonyme IP-Adresse"
603
 
604
+ #: counter-options.php:910
605
  #@ cpd
606
  msgid "Cache"
607
  msgstr "Cache"
608
 
609
+ #: counter-options.php:911
610
  #@ cpd
611
  msgid "I use a cache plugin. Count these visits with ajax."
612
  msgstr "Ich benutze ein Cache-Plugin. Zähle diese Seiten mit Ajax."
613
 
614
+ #: counter-options.php:1002
615
  #@ cpd
616
  msgid "Substring of the user agent, separated by comma"
617
  msgstr "Teil der Browserkennung (user agent), getrennt durch Komma."
618
 
619
+ #: counter-core.php:814
620
  #@ cpd
621
  msgid "Visitors per Country"
622
  msgstr "Besucher pro Land"
623
 
624
+ #: counter-options.php:1086
625
  #@ cpd
626
  msgid "Debug mode"
627
  msgstr "Debug Modus"
628
 
629
+ #: counter-options.php:1088
630
  #@ cpd
631
  msgid "Show debug informations at the bottom of all pages."
632
  msgstr "Zeigt Informationen zum Plugin am unteren Ende aller Seiten an."
633
 
634
+ #: userperspan.php:46
635
  #@ cpd
636
  msgid "Start"
637
  msgstr "Start"
638
 
639
+ #: userperspan.php:48
640
  #@ cpd
641
  msgid "End"
642
  msgstr "Ende"
643
 
644
+ #: userperspan.php:50
645
  #@ cpd
646
  msgid "PostID"
647
  msgstr "Artikel-ID"
648
 
649
+ #: userperspan.php:58
650
  #@ cpd
651
  msgid "no data found"
652
  msgstr "keine passenden Daten gefunden"
653
 
654
+ #: counter-options.php:752
655
  #@ cpd
656
  msgid "You can get the country data for all entries in database by checking the IP adress against the GeoIP database. This can take a while!"
657
  msgstr "Du kannst zu allen Zählerdaten das Herkunftsland speichern. Dazu wird die IP mit der GeoIP Datenbank abgeglichen. Das kann je nach Anzahl der Daten eine ganze Weile dauern."
658
 
659
+ #: counter-options.php:869
660
  #@ cpd
661
  msgid "Counter"
662
  msgstr "Z&auml;hler"
663
 
664
+ #: counter-options.php:1013
665
  #@ cpd
666
  msgid "Local URLs"
667
  msgstr "Lokale URLs"
668
 
669
+ #: counter-options.php:1014
670
  #@ cpd
671
  msgid "Show local referrers too."
672
  msgstr "Zeige auch lokale Referrer."
673
 
674
+ #: counter-options.php:1021
675
  #@ default
676
  msgid "Posts"
677
  msgstr ""
678
 
679
+ #: counter-options.php:1021
680
  #@ default
681
  msgid "Pages"
682
  msgstr ""
683
 
684
+ #: counter.php:1158
685
  #@ default
686
  msgid "Category"
687
  msgstr ""
688
 
689
+ #: counter.php:1161
690
  #@ default
691
  msgid "Tag"
692
  msgstr ""
693
 
694
+ #: counter-core.php:765
695
  #@ default
696
  msgid "License"
697
  msgstr ""
698
 
699
+ #: counter-core.php:809
700
  #@ cpd
701
  msgid "Referrer"
702
  msgstr "Herkunft"
703
 
704
+ #: counter.php:1431
705
  #@ default
706
  msgid "Title"
707
  msgstr ""
708
 
709
+ #: counter-options.php:917
710
  #@ cpd
711
  msgid "Save and show clients and referrers.<br />Needs a lot of space in the database but gives you more detailed informations of your visitors."
712
  msgstr "Browser und Herkunft speichern und anzeigen.<br />Diese Daten brauchen mit Abstand den meisten Platz in der Datenbank, liefern aber auch detailliertere Informationen über die Besucher."
713
 
714
+ #: counter-options.php:914
715
  #@ cpd
716
  msgid "Clients and referrers"
717
  msgstr "Browser und Herkunft"
718
 
719
+ #: counter.php:246
720
+ #: counter.php:1410
721
  #@ cpd
722
  msgid "Reads last week"
723
  msgstr "Seitenaufrufe letzte Woche"
724
 
725
+ #: counter-core.php:800
726
+ #: counter.php:1411
727
  #@ cpd
728
  msgid "Reads per month"
729
  msgstr "Seitenaufrufe pro Monat"
730
 
731
+ #: counter-options.php:1005
732
  #@ cpd
733
  msgid "Referrers - Entries"
734
  msgstr "Herkunft - Einträge"
735
 
736
+ #: counter-options.php:1006
737
  #@ cpd
738
  msgid "How many referrers do you want to see on dashboard page?"
739
  msgstr "Wie viele Herkunftsseiten möchtest du auf der Dashbord Seite sehen?"
740
 
741
+ #: counter-options.php:1009
742
  #@ cpd
743
  msgid "Referrers - Days"
744
  msgstr "Herkunft - Tage"
745
 
746
+ #: counter.php:1009
747
  #, php-format
748
  #@ cpd
749
  msgid "The %s referrers in last %s days:"
750
  msgstr "Die %s Herkunftsseiten der letzten %s Tage:"
751
 
752
+ #: counter-core.php:798
753
  #@ cpd
754
  msgid "Visitors online"
755
  msgstr "Besucher online"
756
 
757
+ #: counter-options.php:1056
758
  #@ cpd
759
  msgid "Stylesheet"
760
  msgstr "Stylesheet"
761
 
762
+ #: counter-options.php:1059
763
  #@ cpd
764
  msgid "NO Stylesheet in Frontend"
765
  msgstr "KEIN Stylesheet im Frontend"
766
 
767
+ #: counter-options.php:1060
768
  #@ cpd
769
  msgid "Do not load the stylesheet \"counter.css\" in frontend."
770
  msgstr "Lade die Datei \"counter.css\" nicht im Frontend."
771
 
772
+ #: counter-options.php:956
773
  #@ cpd
774
  msgid "Who can see it"
775
  msgstr "Wer darf es sehen"
776
 
777
+ #: counter-options.php:965
778
  #@ cpd
779
  msgid "custom"
780
  msgstr "benutzerdefiniert"
781
 
782
+ #: counter-options.php:967
783
  #@ cpd
784
  msgid "and higher are allowed to see the statistics page."
785
  msgstr "und höher haben Zugriff auf die Statistikseite."
786
 
787
+ #: counter-options.php:969
788
  #, php-format
789
  #@ cpd
790
  msgid "Set the %s capability %s a user need:"
791
  msgstr "Gibt die benötigte %s Rolle %s ein."
792
 
793
+ #: counter-core.php:252
794
  #, php-format
795
  #@ cpd
796
  msgid "\"Count per Day\" updated to version %s."
797
  msgstr "&quot;Count per Day&quot; aktualisiert auf Version %s."
798
 
799
+ #: counter-core.php:1082
800
  #@ cpd
801
  msgid "Backup failed! Cannot open file"
802
  msgstr "Backup fehlgeschlagen! Kann die Datei nicht öffnen"
803
 
804
+ #: counter-core.php:1200
805
+ #: counter-core.php:1208
806
  #, php-format
807
  #@ cpd
808
  msgid "Backup of counter table saved in %s."
809
  msgstr "Die Zähler-Tabelle wurde in %s gesichert."
810
 
811
+ #: counter-core.php:1202
812
+ #: counter-core.php:1210
813
  #, php-format
814
  #@ cpd
815
  msgid "Backup of counter options and collection saved in %s."
816
  msgstr "Die Optionen und Zusammenfassung wurden in %s gesichert."
817
 
818
+ #: counter-options.php:201
819
  #@ cpd
820
  msgid "Collection in progress..."
821
  msgstr "Zusammenfassung erfolgt ..."
822
 
823
+ #: counter-options.php:295
824
  #@ cpd
825
  msgid "Get Visitors per Post..."
826
  msgstr "Besucher pro Artikel bearbeiten..."
827
 
828
+ #: counter-options.php:340
829
  #, php-format
830
  #@ cpd
831
  msgid "Counter entries until %s collected and counter table %s optimized (size before = %s &gt; size after = %s)."
832
  msgstr "Zähler-Eintr&auml;ge bis %s zusammengefasst und Tabelle %s optimiert (Gr&ouml;&szlig;e vorher = %s &gt; Gr&ouml;&szlig;e nachher = %s)."
833
 
834
+ #: counter-options.php:349
835
  #@ cpd
836
  msgid "Installation of \"Count per Day\" checked"
837
  msgstr "Installation von &quot;Count per Day&quot; überpr&uuml;ft"
838
 
839
+ #: counter-options.php:436
840
  #@ default
841
  msgid "Tools"
842
  msgstr ""
843
 
844
+ #: counter-options.php:919
845
  #@ cpd
846
  msgid "Save URL only, no query string."
847
  msgstr "Speichere nur die URL, keinen Query-String."
848
 
849
+ #: counter-options.php:588
850
+ #: counter-options.php:1067
851
  #@ cpd
852
  msgid "Backup"
853
  msgstr "Backup"
854
 
855
+ #: counter-options.php:1070
856
  #@ cpd
857
  msgid "Entries per pass"
858
  msgstr "Einträge pro Durchgang"
859
 
860
+ #: counter-options.php:1073
861
  #@ cpd
862
  msgid "How many entries should be saved per pass? Default: 10000"
863
  msgstr "Wie viele Eintr&auml;ge sollen pro Durchgang bearbeitet werden? Standard: 10000"
864
 
865
+ #: counter-options.php:1078
866
  #@ cpd
867
  msgid "If your PHP memory limit less then 50 MB and you get a white page or error messages try a smaller value."
868
  msgstr "Wenn dein PHP-Speicher-Limit kleiner als 50 MB ist und du nur eine wei&szlig;e Seite oder Fehlermeldungen bekommst versuche einen kleineren Wert."
869
 
870
+ #: counter-options.php:592
871
  #, php-format
872
  #@ cpd
873
  msgid "Create a backup of the counter table %s in your wp-content directory (if writable)."
874
  msgstr "Erstelle eine Sicherungskopie der Z&auml;hler-Tabelle %s in deinem wp-content Verzeichnis (wenn beschreibbar)."
875
 
876
+ #: counter-options.php:599
877
  #@ cpd
878
  msgid "Backup the database"
879
  msgstr "Datenbank sichern"
880
 
881
+ #: counter-options.php:703
882
+ #: counter-options.php:735
883
  #@ cpd
884
  msgid "Collect old data"
885
  msgstr "Alte Daten zusammenfassen"
886
 
887
+ #: counter-options.php:689
888
+ #: counter-options.php:708
889
  #, php-format
890
  #@ cpd
891
  msgid "Current size of your counter table %s is %s."
892
  msgstr "Die aktuelle Gr&ouml;&szlig;e der Z&auml;hler-Tabelle %s ist %s."
893
 
894
+ #: counter-options.php:710
895
  #@ cpd
896
  msgid "You can collect old data and clean up the counter table.<br/>Reads and visitors will be saved per month, per country and per post.<br/>Clients and referrers will deleted."
897
  msgstr "Du kannst alte Daten zusammenfassen und die Z&auml;hler-Tabelle bereinigen.<br/>Seitenaufrufe und Besucher werden pro Monat, pro Land und pro Beitrag zusammengefasst.<br/>Browser und Herkunftsdaten werden gel&ouml;scht."
898
 
899
+ #: counter-options.php:715
900
  #, php-format
901
  #@ cpd
902
  msgid "Currently your collection contains data until %s."
903
  msgstr "Momentan enth&auml;lt die Zusammenfassung Daten bis %s."
904
 
905
+ #: counter-options.php:719
906
  #@ cpd
907
  msgid "Normally new data will be added to the collection."
908
  msgstr "Normalerweise werden neue Daten zur Zusammenfassung hinzugef&uuml;gt."
909
 
910
+ #: counter-options.php:725
911
  #@ cpd
912
  msgid "Delete old collection and create a new one which contains only the data currently in counter table."
913
  msgstr "L&ouml;sche die aktuelle Zusammenfassung und erstelle eine neue, die nur die Daten enth&auml;lt, die momentan in der Z&auml;hler-Tabelle sind."
914
 
915
+ #: counter-options.php:726
916
  #, php-format
917
  #@ cpd
918
  msgid "All collected data until %s will deleted."
919
  msgstr "Alle zusammengefassten Daten bis %s werden gel&ouml;scht."
920
 
921
+ #: counter-options.php:731
922
  #, php-format
923
  #@ cpd
924
  msgid "Keep entries of last %s full months + current month in counter table."
925
  msgstr "Behalte die Eintr&auml;ge der letzten %s vollen Monate plus des aktuellen Monats in der Z&auml;hler-Tabelle."
926
 
927
+ #: counter-options.php:795
928
  #@ cpd
929
  msgid "ReActivation"
930
  msgstr "ReAktivierung"
931
 
932
+ #: counter-options.php:798
933
  #@ cpd
934
  msgid "Here you can start the installation functions manually.<br/>Same as deactivate and reactivate the plugin."
935
  msgstr "Hier kannst du die Installationsfunktionen manuell starten.<br/>Macht das gleiche, als würdest du das Plugin deaktivieren und wieder aktivieren."
936
 
937
+ #: counter-options.php:803
938
  #@ cpd
939
  msgid "ReActivate the plugin"
940
  msgstr "ReAktiviere das Plugin"
941
 
942
+ #: counter.php:253
943
+ #: counter.php:1063
944
  #@ cpd
945
  msgid "Visitors"
946
  msgstr "Besucher"
947
 
948
+ #: counter.php:256
949
+ #: counter.php:257
950
  #@ cpd
951
  msgid "Most visited day"
952
  msgstr "meistbesuchter Tag"
953
 
954
+ #: counter.php:1450
955
  #@ cpd
956
  msgid "drag and drop to sort"
957
  msgstr "per Drag &amp; Drop sortieren"
958
 
959
+ #: counter-core.php:1196
960
  #@ cpd
961
  msgid "Your can download the backup files here and now."
962
  msgstr "Du kannst die Sicherungen nur hier und jetzt herunterladen."
963
 
964
+ #: counter-options.php:595
965
  #@ cpd
966
  msgid "Download only"
967
  msgstr "nur zum Download anbieten, nicht speichern"
968
 
969
+ #: counter-options.php:645
970
  #@ default
971
  msgid "Delete"
972
  msgstr ""
973
 
974
+ #: counter-options.php:646
975
  #, php-format
976
  #@ cpd
977
  msgid "Delete the backup file %s ?"
978
  msgstr "Sicherung %s l&ouml;schen?"
979
 
980
+ #: counter-core.php:804
981
+ #: counter-options.php:1005
982
+ #: counter-options.php:1009
983
  #@ cpd
984
  msgid "Search strings"
985
  msgstr "Suchw&ouml;rter"
986
 
987
+ #: counter-core.php:1266
988
  #@ cpd
989
  msgid "Error while reading backup file!"
990
  msgstr "Fehler beim Lesen der Sicherungsdatei!"
991
 
992
+ #: counter-core.php:1270
993
  #, php-format
994
  #@ cpd
995
  msgid "The backup was added to counter table %s."
996
  msgstr "Die Sicherung wurde zur Tabelle %s hinzugef&uuml;gt."
997
 
998
+ #: counter-core.php:1272
999
  #, php-format
1000
  #@ cpd
1001
  msgid "The counter table %s was restored from backup."
1002
  msgstr "Die Z&auml;hlertabelle %s wurde wiederhergestellt."
1003
 
1004
+ #: counter-core.php:1289
1005
  #@ cpd
1006
  msgid "Options restored from backup."
1007
  msgstr "Einstellungen wiederhergestellt."
1008
 
1009
+ #: counter-options.php:627
1010
  #@ cpd
1011
  msgid "Settings and collections"
1012
  msgstr "Einstellungen und Zusammenfassung"
1013
 
1014
+ #: counter-options.php:632
1015
  #, php-format
1016
  #@ cpd
1017
  msgid "Counter table %s"
1018
  msgstr "Z&auml;hlertabelle %s"
1019
 
1020
+ #: counter-options.php:639
1021
  #, php-format
1022
  #@ cpd
1023
  msgid "Add data from the backup file %s to existing counter table?"
1024
  msgstr "Die Daten der Sicherung zur vorhandenen Z&auml;hlertabelle %s hinzuf&uuml;gen?"
1025
 
1026
+ #: counter-options.php:643
1027
  #, php-format
1028
  #@ cpd
1029
  msgid "Restore data from the backup file %s ?"
1030
  msgstr "Daten aus der Sicherung %s wiederherstellen?"
1031
 
1032
+ #: counter-options.php:643
1033
  #@ default
1034
  msgid "Restore"
1035
  msgstr ""
1036
 
1037
+ #: counter-options.php:652
1038
  #@ cpd
1039
  msgid "add backup to current counter table"
1040
  msgstr "Sicherung zu aktuellen Daten hinzuf&uuml;gen"
1041
 
1042
+ #: counter-options.php:653
1043
  #@ cpd
1044
  msgid "replace current counter table with with backup"
1045
  msgstr "aktuelle Daten durch Sicherung ersetzen"
1046
 
1047
+ #: counter-options.php:654
1048
  #@ cpd
1049
  msgid "delete backup file"
1050
  msgstr "Sicherung l&ouml;schen"
1051
 
1052
+ #: counter.php:1206
1053
  #, php-format
1054
  #@ cpd
1055
  msgid "The %s most searched strings:"
1056
  msgstr "Die %s am meisten gesuchten W&ouml;rter:"
1057
 
1058
+ #: counter.php:1215
1059
  #, php-format
1060
  #@ cpd
1061
  msgid "The search strings of the last %s days:"
1062
  msgstr "Die Suchw&ouml;rter der letzten %s Tage:"
1063
 
1064
+ #: counter-options.php:364
1065
  #@ cpd
1066
  msgid "Old search strings deleted"
1067
  msgstr "Alte Suchw&ouml;rter wurden gel&ouml;scht."
1068
 
1069
+ #: counter-options.php:679
1070
  #, php-format
1071
  #@ cpd
1072
  msgid "Delete search strings older than %s days."
1073
  msgstr "L&ouml;sche Suchw&ouml;rter die älter als %s Tage sind!"
1074
 
1075
+ #: counter-options.php:683
1076
  #@ cpd
1077
  msgid "Delete search strings"
1078
  msgstr "L&ouml;sche Suchw&ouml;rter"
1079
 
1080
+ #: counter-options.php:639
1081
  #@ cpd
1082
  msgid "Add"
1083
  msgstr "Hinzuf&uuml;gen"
1084
 
1085
+ #: counter-options.php:379
1086
  #@ cpd
1087
  msgid "Clients and referers deleted"
1088
  msgstr "Browser und Herkunftsdaten gelöscht"
1089
 
1090
+ #: counter-options.php:690
1091
  #, php-format
1092
  #@ cpd
1093
  msgid "Delete clients and referers older than %s days to reduce the size of the counter table."
1094
  msgstr "Lösche Browser und Herkunftsdaten bei Einträgen die älter als %s Tage sind um die Datenbank zu verkleinern."
1095
 
1096
+ #: counter-options.php:694
1097
  #@ cpd
1098
  msgid "Delete clients and referers"
1099
  msgstr "Browser und Herkunftsdaten löschen"
1100
 
1101
+ #: counter.php:1164
1102
  #@ default
1103
  msgid "Front page"
1104
  msgstr ""
1105
 
1106
+ #: counter.php:1366
1107
  #@ default
1108
  msgid "_name"
1109
  msgstr ""
1110
 
1111
+ #: counter-core.php:1054
1112
  #@ cpd
1113
  msgid "Download the export file:"
1114
  msgstr "Export-Datei herunterladen:"
1115
 
1116
+ #: counter-core.php:1109
1117
  #, php-format
1118
  #@ cpd
1119
  msgid "Backup of %s entries in progress. Every point comprises %s entries."
1120
  msgstr "Backup von %s Datensätzen. Jeder Punkt entspricht %s Einträgen."
1121
 
1122
+ #: counter-options.php:316
1123
  #@ cpd
1124
  msgid "Deleting old data..."
1125
  msgstr "Alte Daten werden gelöscht..."
1126
 
1127
+ #: counter-options.php:521
1128
  #@ cpd
1129
  msgid "Most Industrious Visitors"
1130
  msgstr "Die fleißigsten Besucher"
1131
 
1132
+ #: counter-options.php:525
1133
  #, php-format
1134
  #@ cpd
1135
  msgid "Show the %s most industrious visitors of the last %s days"
1136
  msgstr "Zeige die %s fleißigsten Besucher der letzten %s Tage"
1137
 
1138
+ #: counter-options.php:572
1139
  #@ cpd
1140
  msgid "Export"
1141
  msgstr "Exportieren"
1142
 
1143
+ #: counter-options.php:576
1144
  #, php-format
1145
  #@ cpd
1146
  msgid "Export the last %s days as CSV-File"
1147
  msgstr "Exportiere die Einträge der letzten %s Tage als CSV-Datei"
1148
 
1149
+ #: counter-options.php:580
1150
  #@ cpd
1151
  msgid "Export entries"
1152
  msgstr "Datensätze exportieren"
1153
 
1154
+ #: counter-options.php:926
1155
  #@ cpd
1156
  msgid "Post types"
1157
  msgstr "Beitragstypen"
1158
 
1159
+ #: counter-options.php:929
1160
  #@ cpd
1161
  msgid "Only count these post types. Leave empty to count them all."
1162
  msgstr "Nur diese Beitragstypen zählen. Leer lassen um alle zu zählen."
1163
 
1164
+ #: counter-options.php:930
1165
  #, php-format
1166
  #@ cpd
1167
  msgid "Current post types: %s"
1168
  msgstr "Aktuelle Beitragstypen: %s"
1169
 
1170
+ #: counter.php:255
1171
  #@ cpd
1172
  msgid "Since"
1173
  msgstr "Seit"
1174
 
1175
+ #: counter.php:1504
1176
  #@ cpd
1177
  msgid "List of Popular Posts"
1178
  msgstr "Liste der populärsten Beiträge"
1179
 
1180
+ #: counter.php:1502
1181
+ #: counter.php:1534
1182
  #@ cpd
1183
  msgid "Popular Posts"
1184
  msgstr "Populäre Beiträge"
1185
 
1186
+ #: counter.php:1542
1187
  #@ cpd
1188
  msgid "Title:"
1189
  msgstr "Titel:"
1190
 
1191
+ #: counter.php:1546
1192
  #@ cpd
1193
  msgid "Days:"
1194
  msgstr "Tage:"
1195
 
1196
+ #: counter.php:1550
1197
  #@ cpd
1198
  msgid "Limit:"
1199
  msgstr "Anzahl:"
1200
 
1201
+ #: counter.php:1554
1202
  #@ cpd
1203
  msgid "Show header:"
1204
  msgstr "Zeige Einleitung:"
1205
 
1206
+ #: counter.php:1558
1207
  #@ cpd
1208
  msgid "Show counters:"
1209
  msgstr "Zeige Anzahl:"
1210
 
1211
+ #: counter-core.php:1006
1212
  #@ cpd
1213
  msgid "Export failed! Cannot open file."
1214
  msgstr "Export fehlgeschlagen! Auf die Datei kann nicht zugegriffen werden."
1215
 
1216
+ #: counter-options.php:899
1217
  #@ cpd
1218
  msgid "Exclude Countries"
1219
  msgstr "Länder ausschließen"
1220
 
1221
+ #: counter-options.php:902
1222
  #@ cpd
1223
  msgid "Do not count visitors from these countries. Use the country code (de, us, cn,...) Leave empty to count them all."
1224
  msgstr "Besucher aus diesen Ländern nicht zählen. Benutze den Länder-Code (de, us, cn, ...). Leer lassen um alle zu zählen."
1225
 
1226
+ #: counter-options.php:922
1227
  #@ cpd
1228
  msgid "Limit the length to reduce database size. (max. 500 chars)"
1229
  msgstr "Die Länge der Daten begrenzen um die die Größe der Datenbank zu reduzieren. (max. 500 Zeichen)"
1230
 
1231
+ #: counter-core.php:1587
1232
+ #@ cpd
1233
+ msgid "GeoIP Addon installed."
1234
+ msgstr "GeoIP Addon installiert."
1235
+
1236
+ #: counter-options.php:776
1237
+ #@ cpd
1238
+ msgid "To get country data by checking the IP addresses you need to install the GeoIP Addon.<br>Because it is not under GPL I had to delete this function from WordPress plugin repository."
1239
+ msgstr "Um Länderdaten aus den IP Adressen zu erfassen, muss das GeoIP Addon installiert werden.<br>Weil dieses nicht GPL lizenziert ist, musste ich es aus dem WordPress Plugin Repository löschen."
1240
+
1241
+ #: counter-options.php:782
1242
+ #@ cpd
1243
+ msgid "Install GeoIP addon"
1244
+ msgstr "GeoIP Addon installieren"
1245
+
1246
+ #: counter-core.php:253
1247
+ #, php-format
1248
+ #@ cpd
1249
+ msgid "Please check the %s section!"
1250
+ msgstr "Bitte wirf einen Blick in den %s Bereich!"
1251
+
1252
+ #: counter-core.php:1589
1253
+ #, php-format
1254
+ #@ cpd
1255
+ msgid "Sorry, an error occurred. Load the file from %s and copy it to wp-content/count-per-day-geoip/ directory."
1256
+ msgstr "Entschuldigung, es gab einen Fehler. Lade die Datei von %s und kopiere sie nach wp-content/count-per-day-geoip/."
1257
+
1258
+ #: counter-options.php:777
1259
+ #, php-format
1260
+ #@ cpd
1261
+ msgid "The directory %s will be created."
1262
+ msgstr "Das Verzeichnis %s wird angelegt."
1263
+
1264
+ #: geoip.php:137
1265
+ #@ cpd
1266
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"wp-content/count-per-day-geoip\"."
1267
+ msgstr "Entschuldigung, es gab einen Fehler. Versuche es erneut oder überprüfe die Zugriffsrechte auf \"wp-content/count-per-day-geoip\"."
1268
+
locale/cpd-fa_IR.mo CHANGED
Binary file
locale/cpd-fa_IR.po CHANGED
@@ -3,1233 +3,1170 @@ msgstr ""
3
  "Project-Id-Version: Count Per Day v3.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2008-11-02 12:13+0100\n"
6
- "PO-Revision-Date: 2015-02-13 08:19:18+0000\n"
7
  "Last-Translator: Madat <translator.baku@gmail.com>\n"
8
  "Language-Team: Webmestre <translator.baku@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
- "X-Generator: Poedit 1.5.4\n"
14
- "X-Poedit-Language: \n"
15
- "X-Poedit-Country: \n"
16
  "X-Poedit-SourceCharset: utf-8\n"
17
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
  "X-Poedit-Basepath: P:/xampp/htdocs/wp/wp-content/plugins/count-per-day\n"
19
- "X-Poedit-Bookmarks: \n"
 
20
  "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
 
 
23
  #: counter-options.php:54
24
- #@ cpd
25
  msgid "Options updated"
26
  msgstr "تنظیمات بروز شد"
27
 
 
28
  #: counter-options.php:121
29
  #, php-format
30
- #@ cpd
31
  msgid "Database cleaned. %s rows deleted."
32
  msgstr "بانک اطلاعات پاک شد. %s سطر پاک شد."
33
 
34
- #: counter-options.php:136
35
- #: counter-options.php:806
36
- #@ cpd
37
  msgid "UNINSTALL Count per Day"
38
  msgstr "حذف Count per Day"
39
 
40
- #: counter-options.php:141
41
- #: counter-options.php:142
42
- #: counter-options.php:143
43
  #, php-format
44
- #@ cpd
45
  msgid "Table %s deleted"
46
  msgstr "جدول %s حذف شد"
47
 
 
48
  #: counter-options.php:144
49
- #@ cpd
50
  msgid "Options deleted"
51
  msgstr "تنظیمات حذف شد"
52
 
53
- #: counter-options.php:385
54
- #: counter-options.php:792
55
- #@ cpd
56
  msgid "Uninstall"
57
  msgstr "حذف نصب"
58
 
 
59
  #: counter-options.php:386
60
- #@ cpd
61
  msgid "Click here"
62
  msgstr "اینجا کلیک کنید"
63
 
 
64
  #: counter-options.php:386
65
- #@ cpd
66
  msgid "to finish the uninstall and to deactivate \"Count per Day\"."
67
  msgstr "به اتمام نصب و غیرفعالسازی \"Count per Day\"."
68
 
 
69
  #: counter-options.php:835
70
- #@ cpd
71
  msgid "Online time"
72
  msgstr "زمان آنلاین"
73
 
 
74
  #: counter-options.php:836
75
- #@ cpd
76
  msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
77
  msgstr "ثانیه برای شمارنده آنلاین. برای \"بازدیدکنندگان آنلاین\" در صفحه ی پیشخوان مورد استفاده قرار می گیرد."
78
 
 
79
  #: counter-options.php:839
80
- #@ cpd
81
  msgid "Logged on Users"
82
- msgstr ""
83
 
 
84
  #: counter-options.php:841
85
- #@ cpd
86
  msgid "count too"
87
- msgstr ""
88
 
 
89
  #: counter-options.php:853
90
- #@ cpd
91
  msgid "Auto counter"
92
  msgstr "شمارش خودکار"
93
 
 
94
  #: counter-options.php:854
95
- #@ cpd
96
  msgid "Counts automatically single-posts and pages, no changes on template needed."
97
  msgstr "شمارش خودکار تک نوشته ها و صفحات، تغییری بر روی پوسته مورد نیاز نیست."
98
 
 
99
  #: counter-options.php:857
100
- #@ cpd
101
  msgid "Bots to ignore"
102
  msgstr "نادیده گرفتن ربوتها"
103
 
 
104
  #: counter-options.php:1055
105
- #@ cpd
106
  msgid "Update options"
107
  msgstr "بروزرسانی تنظیمات"
108
 
109
- #: counter-options.php:640
110
- #: counter-options.php:648
111
- #@ cpd
112
  msgid "Clean the database"
113
  msgstr "پاک کردن بانک اطلاعات"
114
 
 
115
  #: counter-options.php:644
116
- #@ cpd
117
  msgid "You can clean the counter table by delete the \"spam data\".<br />If you add new bots above the old \"spam data\" keeps in the database.<br />Here you can run the bot filter again and delete the visits of the bots."
118
  msgstr "شما می توانید جدول شمارنده را طبق \"spam data\" پاک کنید.<br />اگر شما رباتهای برتر قدیمی را اضافه کرده اید، \"spam data\" آنها را در پایگاه داده نگه می دارد.<br />در اینجا شما می توانید فیلتر ربات را دوباره اجرا و بازدید رباتها را حذف کنید."
119
 
 
120
  #: counter-options.php:795
121
- #@ cpd
122
  msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
123
  msgstr "اگر شما فقط \"Count per Day\" را غیرفعال کنید، جداول در پایگاه داده حفظ خواهد شد."
124
 
 
125
  #: counter-options.php:796
126
- #@ cpd
127
  msgid "Here you can delete the tables and disable \"Count per Day\"."
128
  msgstr "در اینجا شما می توانید جداول \"Count per Day\" را حذف و غیرفعال کنید."
129
 
 
130
  #: counter-options.php:799
131
- #@ cpd
132
  msgid "WARNING"
133
  msgstr "هشدار"
134
 
 
135
  #: counter-options.php:800
136
- #@ cpd
137
  msgid "These tables (with ALL counter data) will be deleted."
138
  msgstr "این جداول (با تمام اطلاعات شمارنده) حذف خواهد شد."
139
 
 
140
  #: counter-options.php:802
141
- #@ cpd
142
  msgid "If \"Count per Day\" re-installed, the counter starts at 0."
143
  msgstr "اگر \"Count per Day\" دوباره نصب شود، شمارشگر 0 می شود."
144
 
145
- #: counter-options.php:782
146
- #: counter-options.php:805
147
- #@ cpd
148
  msgid "Yes"
149
  msgstr "بله"
150
 
 
151
  #: counter-options.php:806
152
- #@ cpd
153
  msgid "You are sure to disable Count per Day and delete all data?"
154
  msgstr "شما مطمئن هستید که میخواهید Count per Day ا غیرفعال و اطلاعات آن را پاک کنید؟"
155
 
156
- #: counter-core.php:823
157
- #: counter.php:1339
158
- #@ cpd
159
  msgid "Statistics"
160
  msgstr "آمار"
161
 
162
- #: counter-core.php:791
163
- #: counter.php:241
164
- #: counter.php:1223
165
- #: counter.php:1417
166
- #@ cpd
167
  msgid "Total visitors"
168
  msgstr "تمام بازدیدکنندگان"
169
 
170
- #: counter.php:242
171
- #: counter.php:1423
172
- #@ cpd
173
  msgid "Visitors currently online"
174
  msgstr "بازدیدکنندگان حاضر"
175
 
176
- #: counter.php:243
177
- #: counter.php:1418
178
- #@ cpd
179
  msgid "Visitors today"
180
  msgstr "بازدیدکنندگان امروز"
181
 
182
- #: counter.php:244
183
- #: counter.php:1419
184
- #@ cpd
185
  msgid "Visitors yesterday"
186
  msgstr "بازدیدکنندگان دیروز"
187
 
188
- #: counter.php:245
189
- #: counter.php:1420
190
- #@ cpd
191
  msgid "Visitors last week"
192
  msgstr "بازدیدکنندگان هفته"
193
 
194
- #: counter.php:974
195
- #: counter.php:1424
196
- #@ cpd
197
  msgid "Counter starts on"
198
  msgstr "آغاز شمارش در"
199
 
200
- #: counter-core.php:797
201
- #: counter.php:247
202
- #: counter.php:348
203
- #: counter.php:1225
204
- #: counter.php:1422
205
- #: userperspan.php:46
206
- #@ cpd
207
  msgid "Visitors per day"
208
  msgstr "بازدیدکننده در روز"
209
 
210
- #: counter-core.php:793
211
- #: counter.php:1421
212
- #@ cpd
213
  msgid "Visitors per month"
214
  msgstr "بازدیدکننده در ماه"
215
 
216
- #: counter-core.php:795
217
- #: counter-options.php:937
218
- #@ cpd
219
  msgid "Visitors per post"
220
  msgstr "بازدیدکننده نوشته"
221
 
 
222
  #: counter-options.php:131
223
- #@ cpd
224
  msgid "Counter reseted."
225
  msgstr "شمارش تنظیم شد."
226
 
 
227
  #: counter-options.php:902
228
- #@ default
229
  msgid "Dashboard"
230
  msgstr "پیشخوان"
231
 
232
- #: counter-options.php:938
233
- #: counter-options.php:942
234
- #@ cpd
235
  msgid "How many posts do you want to see on dashboard page?"
236
  msgstr "میخواهید چه تعداد از نوشته ها را در پیشخوان خود مشاهده کنید؟"
237
 
 
238
  #: counter-options.php:941
239
- #@ cpd
240
  msgid "Latest Counts - Posts"
241
  msgstr "آخرین شمارش - نوشته ها"
242
 
 
243
  #: counter-options.php:945
244
- #@ cpd
245
  msgid "Latest Counts - Days"
246
  msgstr "آخرین شمارش - روزها"
247
 
248
- #: counter-options.php:946
249
- #: counter-options.php:950
250
- #: counter-options.php:972
251
- #@ cpd
252
  msgid "How many days do you want look back?"
253
  msgstr "میخواهید اطلاعات چند روز قبل را مشاهده کنید؟"
254
 
 
255
  #: counter-options.php:949
256
- #@ cpd
257
  msgid "Chart - Days"
258
  msgstr "نمودار - روزها"
259
 
 
260
  #: counter-options.php:953
261
- #@ cpd
262
  msgid "Chart - Height"
263
  msgstr "نمودار - ارتفاع"
264
 
 
265
  #: counter-options.php:954
266
- #@ cpd
267
  msgid "Height of the biggest bar"
268
  msgstr "ارتفاع از بزرگترین نوار"
269
 
 
270
  #: counter-options.php:986
271
- #@ cpd
272
  msgid "Show in lists"
273
  msgstr "نمایش در لیستها"
274
 
 
275
  #: counter-options.php:987
276
- #@ cpd
277
  msgid "Show \"Reads per Post\" in a new column in post management views."
278
  msgstr "نمایش شمارنده ی هر نوشته در در یک ستون جدید در قسمت نوشته ها"
279
 
280
- #: counter-options.php:773
281
- #: counter-options.php:783
282
- #@ cpd
283
  msgid "Reset the counter"
284
  msgstr "تنظیم مجدد شمارنده"
285
 
 
286
  #: counter-options.php:776
287
- #@ cpd
288
  msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
289
  msgstr "شما می توانید شمارنده را با استفاده از جدول خالی تنظیم مجدد کنید. همه به 0!<br />اگر نیازی به اطلاعات فعلی دارید، پشتیبان تهیه کنید!"
290
 
 
291
  #: counter.php:776
292
  #, php-format
293
- #@ cpd
294
  msgid "The %s most visited posts in last %s days:"
295
  msgstr "%s پربازدیدترین نوشته در %s روز گذشته:"
296
 
297
- #: counter-core.php:653
298
- #: counter-options.php:412
299
- #@ default
300
  msgid "Settings"
301
  msgstr "تنظیمات"
302
 
 
303
  #: counter.php:347
304
- #@ cpd
305
  msgid "Reads per day"
306
  msgstr "خوانده شده در روز"
307
 
308
- #: counter-core.php:1541
309
- #: counter-options.php:879
310
- #: counter.php:240
311
- #: counter.php:1024
312
- #: map/map.php:60
313
- #@ cpd
314
  msgid "Reads"
315
  msgstr "خوانده شده در"
316
 
 
317
  #: counter.php:1411
318
- #@ cpd
319
  msgid "This post"
320
  msgstr "این نوشته"
321
 
 
322
  #: counter-options.php:66
323
  #, php-format
324
- #@ cpd
325
  msgid "Countries updated. <b>%s</b> entries in %s without country left"
326
  msgstr "کشورها بروز شد. <b>%s</b> ورودی ها در %s بدون ترک کشور!"
327
 
 
328
  #: counter-options.php:69
329
- #@ cpd
330
  msgid "update next"
331
  msgstr "بروزرسانی بعدی"
332
 
 
333
  #: counter-options.php:109
334
  #, php-format
335
- #@ cpd
336
  msgid "Mass Bots cleaned. %s counts deleted."
337
  msgstr "انبوه رباتها پاک شده اند. %s شماره حذف شده است."
338
 
 
339
  #: counter-options.php:842
340
- #@ cpd
341
  msgid "until User Level"
342
- msgstr ""
343
 
 
344
  #: counter-options.php:868
345
- #@ cpd
346
  msgid "Anonymous IP"
347
  msgstr "آی پی ناشناس"
348
 
 
349
  #: counter-options.php:958
350
- #@ cpd
351
  msgid "Countries"
352
  msgstr "کشورها"
353
 
 
354
  #: counter-options.php:959
355
- #@ cpd
356
  msgid "How many countries do you want to see on dashboard page?"
357
  msgstr "میخواهید چه تعداد از کشورها را در صفحه ی پیشخوان خود مشاهده کنید؟"
358
 
 
359
  #: counter-options.php:994
360
- #@ cpd
361
  msgid "Start Values"
362
  msgstr "شروع مقادیر"
363
 
 
364
  #: counter-options.php:998
365
- #@ cpd
366
  msgid "Here you can change the date of first count and add a start count."
367
  msgstr "شما در اینجا می توانید تاریخ شروع شمارش و مقادیر دیگر را تغییر دهید."
368
 
 
369
  #: counter-options.php:1002
370
- #@ cpd
371
  msgid "Start date"
372
  msgstr "شروع روز"
373
 
 
374
  #: counter-options.php:1003
375
- #@ cpd
376
  msgid "Your old Counter starts at?"
377
  msgstr "شمارشگر قدیمی شما شروع می شود در؟"
378
 
379
- #: counter-options.php:1006
380
- #: counter-options.php:1010
381
- #@ cpd
382
  msgid "Start count"
383
  msgstr "شروع شمارش"
384
 
 
385
  #: counter-options.php:1007
386
- #@ cpd
387
  msgid "Add this value to \"Total visitors\"."
388
  msgstr "اضافه کردن این مقدار به \"مجموع بازدیدکنندگان\""
389
 
 
390
  #: counter-options.php:723
391
- #@ cpd
392
  msgid "GeoIP - Countries"
393
  msgstr "GeoIP - کشورها"
394
 
 
395
  #: counter-options.php:732
396
- #@ cpd
397
  msgid "Update old counter data"
398
  msgstr "بروزرسانی اطلاعات شمارش قدیمی"
399
 
 
400
  #: counter-options.php:744
401
- #@ cpd
402
  msgid "Update GeoIP database"
403
  msgstr "بروزرسانی بانک اطلاعات GeoIP"
404
 
 
405
  #: counter-options.php:739
406
- #@ cpd
407
  msgid "Download a new version of GeoIP.dat file."
408
  msgstr "دانلود نسخه جدید GeoIP. فایل DAT"
409
 
 
410
  #: counter-options.php:749
411
- #@ cpd
412
  msgid "More informations about GeoIP"
413
  msgstr "اطلاعات دیگر در مورد GeoIP"
414
 
415
- #: counter-options.php:432
416
- #: massbots.php:46
417
- #@ cpd
418
  msgid "Mass Bots"
419
  msgstr "انبوه روبوتها"
420
 
 
421
  #: counter-options.php:436
422
  #, php-format
423
- #@ cpd
424
  msgid "Show all IPs with more than %s page views per day"
425
  msgstr "نمایش تمام IPها با بیش از %s بازدید از صفحه در روز"
426
 
427
- #: counter-options.php:437
428
- #: counter-options.php:501
429
- #: notes.php:84
430
  #: userperspan.php:56
431
- #@ cpd
432
  msgid "show"
433
  msgstr "نمایش"
434
 
435
- #: counter-options.php:445
436
- #: counter-options.php:509
437
- #@ cpd
438
  msgid "IP"
439
  msgstr "آی پی"
440
 
441
- #: counter-options.php:446
442
- #: counter-options.php:510
443
- #: notes.php:88
444
- #@ cpd
445
- #@ default
446
  msgid "Date"
447
  msgstr "روز"
448
 
449
- #: counter-options.php:447
450
- #: counter-options.php:511
451
- #@ cpd
452
  msgid "Client"
453
- msgstr "مشتری"
454
 
455
- #: counter-options.php:448
456
- #: counter-options.php:512
457
- #@ cpd
458
  msgid "Views"
459
  msgstr "بازدیدها"
460
 
461
- #: counter-options.php:463
462
- #: counter-options.php:479
463
- #: counter-options.php:526
464
  #, php-format
465
- #@ cpd
466
  msgid "Delete these %s counts"
467
  msgstr "حذف %s شمارش"
468
 
 
469
  #: counter-options.php:814
470
- #@ cpd
471
  msgid "Support"
472
  msgstr "پشتیبانی"
473
 
 
474
  #: counter-core.php:756
475
  #, php-format
476
- #@ cpd
477
  msgid "Time for Count per Day: <code>%s</code>."
478
  msgstr "زمان برای Count per Day: <code>%s</code>."
479
 
 
480
  #: counter-core.php:757
481
- #@ cpd
482
  msgid "Bug? Problem? Question? Hint? Praise?"
483
  msgstr "باگ؟ مشکل؟ سوال؟ راهنمایی؟ تحسین؟"
484
 
 
485
  #: counter-core.php:758
486
  #, php-format
487
- #@ cpd
488
  msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
489
  msgstr "نظر خود را در <a href=\"%s\">صفحه ی افزونه</a> بنویسید."
490
 
491
- #: counter.php:236
492
- #: counter.php:1412
493
- #@ cpd
494
  msgid "Total reads"
495
  msgstr "مجموع خوانده شده ها"
496
 
497
- #: counter.php:237
498
- #: counter.php:1413
499
- #@ cpd
500
  msgid "Reads today"
501
  msgstr "خوانده شده های امروز"
502
 
503
- #: counter.php:238
504
- #: counter.php:1414
505
- #@ cpd
506
  msgid "Reads yesterday"
507
  msgstr "خوانده شده ی دیروز"
508
 
509
- #: counter.php:895
510
- #: notes.php:55
511
- #: notes.php:89
512
- #@ cpd
513
  msgid "Notes"
514
  msgstr "یادداشت ها"
515
 
 
516
  #: counter.php:893
517
- #@ default
518
  msgid "Show"
519
  msgstr "نمایش"
520
 
 
521
  #: counter.php:963
522
- #@ cpd
523
  msgid "Other"
524
  msgstr "دیگر"
525
 
 
526
  #: counter.php:1135
527
- #@ default
528
  msgid "Edit Post"
529
  msgstr "ویرایش نوشته"
530
 
531
- #: massbots.php:63
532
- #: userperspan.php:75
533
- #@ default
534
  msgid "Front page displays"
535
  msgstr "نمایش های اولین صفحه"
536
 
537
- #: counter-core.php:802
538
- #: counter-options.php:963
539
- #@ cpd
540
  msgid "Browsers"
541
  msgstr "مرورگرها"
542
 
 
543
  #: counter-core.php:796
544
- #@ cpd
545
  msgid "Latest Counts"
546
  msgstr "جدیدترین شمارش"
547
 
 
548
  #: counter-core.php:799
549
- #@ default
550
  msgid "Plugin"
551
  msgstr "افزونه"
552
 
 
553
  #: counter-core.php:807
554
- #@ cpd
555
  msgid "Reads per Country"
556
  msgstr "خوانندگان هر کشور"
557
 
558
- #: counter.php:438
559
- #: counter.php:1254
560
- #@ cpd
561
  msgid "Map"
562
  msgstr "نقشه"
563
 
 
564
  #: geoip/geoip.php:117
565
- #@ cpd
566
  msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
567
  msgstr "با عرض پوزش، توابع مورد نیاز (zlib) نصب نشده است یا در فایل php.ini فعال شده است."
568
 
 
569
  #: geoip/geoip.php:142
570
- #@ cpd
571
  msgid "New GeoIP database installed."
572
  msgstr "بانک اطلاعاتی جدید GeoIP نصب شد."
573
 
 
574
  #: geoip/geoip.php:144
575
- #@ cpd
576
  msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
577
  msgstr "متاسفیم، خطایی رخ داده است. دوباره سعی کنید یا حق دسترسی دایرکتوری \"geoip\" را چک کنید که 777 باشد."
578
 
 
579
  #: notes.php:90
580
- #@ default
581
  msgid "Action"
582
  msgstr "اقدام"
583
 
 
584
  #: notes.php:95
585
- #@ cpd
586
  msgid "add"
587
  msgstr "اضافه کردن"
588
 
 
589
  #: notes.php:111
590
- #@ cpd
591
  msgid "save"
592
  msgstr "ذخیره"
593
 
 
594
  #: notes.php:112
595
- #@ cpd
596
  msgid "delete"
597
  msgstr "حذف"
598
 
 
599
  #: notes.php:123
600
- #@ cpd
601
  msgid "edit"
602
  msgstr "ویرایش"
603
 
 
604
  #: counter-options.php:872
605
- #@ cpd
606
  msgid "Cache"
607
  msgstr "نهانگاه(کش)"
608
 
 
609
  #: counter-options.php:873
610
- #@ cpd
611
  msgid "I use a cache plugin. Count these visits with ajax."
612
  msgstr "من از نهانگاه افزونه استفاده می کنم. شمارش بازدیدها با استفاده از آجاکس."
613
 
 
614
  #: counter-options.php:964
615
- #@ cpd
616
  msgid "Substring of the user agent, separated by comma"
617
  msgstr "نام مرورگرها را با کاما (,) از هم جدا کنید"
618
 
 
619
  #: counter-options.php:1048
620
- #@ cpd
621
  msgid "Debug mode"
622
  msgstr "حالت رفع اشکال"
623
 
 
624
  #: counter-options.php:1050
625
- #@ cpd
626
  msgid "Show debug informations at the bottom of all pages."
627
  msgstr "نمایش اطلاعات اشکال زدایی در پایین تمام صفحات."
628
 
 
629
  #: counter-core.php:808
630
- #@ cpd
631
  msgid "Visitors per Country"
632
  msgstr "بازدیدکنندگان هر کشور"
633
 
 
634
  #: userperspan.php:50
635
- #@ cpd
636
  msgid "Start"
637
  msgstr "شروع"
638
 
 
639
  #: userperspan.php:52
640
- #@ cpd
641
  msgid "End"
642
  msgstr "پایان"
643
 
 
644
  #: userperspan.php:54
645
- #@ cpd
646
  msgid "PostID"
647
  msgstr "آی دی نوشته"
648
 
 
649
  #: counter-options.php:1011
650
- #@ cpd
651
  msgid "Add this value to \"Total reads\"."
652
  msgstr "اضافه کردن این مقدار به \"مجموع خوانده شده ها\""
653
 
 
654
  #: counter-options.php:726
655
- #@ cpd
656
  msgid "You can get the country data for all entries in database by checking the IP adress against the GeoIP database. This can take a while!"
657
  msgstr "شما می توانید داده ی کشورها را برای تمام ورودی ها در پایگاه داده از طریق چک کردن IP در مقابل پایگاه داده GeoIP دریافت کنید. این کار ممکن است مدتی طول بکشد!"
658
 
 
659
  #: userperspan.php:62
660
- #@ cpd
661
  msgid "no data found"
662
  msgstr "اطلاعاتی یافت نشد"
663
 
 
664
  #: counter-options.php:831
665
- #@ cpd
666
  msgid "Counter"
667
  msgstr "شمارشگر"
668
 
 
669
  #: counter-options.php:876
670
- #@ cpd
671
  msgid "Clients and referrers"
672
- msgstr "مشتریان و مراجعه کنندگان"
673
 
 
674
  #: counter-options.php:879
675
- #@ cpd
676
  msgid "Save and show clients and referrers.<br />Needs a lot of space in the database but gives you more detailed informations of your visitors."
677
- msgstr "ذخیره و مشاهده ی مشتریان و مراجعه کنندگان.<br />به فضای زیادی در پایگاه داده نیاز دارد، اما اطلاعات کاملی از بازدیدکنندگان به شما می دهد."
678
 
 
679
  #: counter-options.php:975
680
- #@ cpd
681
  msgid "Local URLs"
682
  msgstr "لینکهای محلی"
683
 
 
684
  #: counter-options.php:976
685
- #@ cpd
686
  msgid "Show local referrers too."
687
  msgstr "نمایش ارجاعات محلی"
688
 
 
689
  #: counter-options.php:983
690
- #@ default
691
  msgid "Posts"
692
  msgstr "نوشته ها"
693
 
 
694
  #: counter-options.php:983
695
- #@ default
696
  msgid "Pages"
697
  msgstr "صفحات"
698
 
699
- #: counter.php:239
700
- #: counter.php:1415
701
- #@ cpd
702
  msgid "Reads last week"
703
  msgstr "خوانده شده ی هفته"
704
 
 
705
  #: counter.php:1144
706
- #@ default
707
  msgid "Category"
708
  msgstr "دسته ها"
709
 
 
710
  #: counter.php:1147
711
- #@ default
712
  msgid "Tag"
713
  msgstr "برچسب"
714
 
 
715
  #: counter-core.php:759
716
- #@ default
717
  msgid "License"
718
  msgstr "مجوز"
719
 
720
- #: counter-core.php:794
721
- #: counter.php:1416
722
- #@ cpd
723
  msgid "Reads per month"
724
  msgstr "خوانده شده در ماه"
725
 
 
726
  #: counter-core.php:803
727
- #@ cpd
728
  msgid "Referrer"
729
  msgstr "ارجاع دهنده"
730
 
 
731
  #: counter-options.php:967
732
- #@ cpd
733
  msgid "Referrers - Entries"
734
- msgstr "ارجاع دهنده - مطالب"
735
 
 
736
  #: counter-options.php:968
737
- #@ cpd
738
  msgid "How many referrers do you want to see on dashboard page?"
739
  msgstr "میخواهید چه تعداد از ارجاعات را در صفحه ی پیشخوان خود مشاهده کنید؟"
740
 
 
741
  #: counter-options.php:971
742
- #@ cpd
743
  msgid "Referrers - Days"
744
  msgstr "ارجاع دهنده ها - روزها"
745
 
 
746
  #: counter.php:994
747
  #, php-format
748
- #@ cpd
749
  msgid "The %s referrers in last %s days:"
750
  msgstr "%s مراجعه کننده در %s روز پیش:"
751
 
 
752
  #: counter-core.php:792
753
- #@ cpd
754
  msgid "Visitors online"
755
  msgstr "بازدیدکنندگان آنلاین"
756
 
 
757
  #: counter.php:1436
758
- #@ default
759
  msgid "Title"
760
  msgstr "عنوان"
761
 
 
762
  #: counter-core.php:232
763
  #, php-format
764
- #@ cpd
765
  msgid "\"Count per Day\" updated to version %s."
766
  msgstr "\"Count per Day\" بروزرسانی شد به نسخه ی %s."
767
 
 
768
  #: counter-core.php:1076
769
- #@ cpd
770
  msgid "Backup failed! Cannot open file"
771
  msgstr "پشتیبان گیری با مشکل مواجه شد! نمیتوانم فایل را باز کرد"
772
 
773
- #: counter-core.php:1195
774
- #: counter-core.php:1203
775
  #, php-format
776
- #@ cpd
777
  msgid "Backup of counter table saved in %s."
778
  msgstr "پشتیبان از جدول شمارنده ذخیره شد در %s."
779
 
780
- #: counter-core.php:1197
781
- #: counter-core.php:1205
782
  #, php-format
783
- #@ cpd
784
  msgid "Backup of counter options and collection saved in %s."
785
  msgstr "پشتیبان گیری از تنظیمات شمارشگر و مجموعه ذخیره شد در %s."
786
 
 
787
  #: counter-options.php:177
788
- #@ cpd
789
  msgid "Collection in progress..."
790
  msgstr "در حال انجام جمع آوری"
791
 
 
792
  #: counter-options.php:271
793
- #@ cpd
794
  msgid "Get Visitors per Post..."
795
- msgstr "بازدید کننده در هر پست ..."
796
 
 
797
  #: counter-options.php:316
798
  #, php-format
799
- #@ cpd
800
  msgid "Counter entries until %s collected and counter table %s optimized (size before = %s &gt; size after = %s)."
801
  msgstr "ورودی های شمارشگر تا %s جمع آوری شد و جدول شمارشگر %s بهینه سازی شد. (حجم قبل = %s &gt; حجم بعد = %s)."
802
 
 
803
  #: counter-options.php:325
804
- #@ cpd
805
  msgid "Installation of \"Count per Day\" checked"
806
  msgstr "مراحل نصب \"Count per Day\" چک شد"
807
 
 
808
  #: counter-options.php:411
809
- #@ default
810
  msgid "Tools"
811
  msgstr "ابزار"
812
 
 
813
  #: counter-options.php:881
814
- #@ cpd
815
  msgid "Save URL only, no query string."
816
  msgstr "تنها ذخیره ی URL، بدون متغیر رشته درخواست."
817
 
 
818
  #: counter-options.php:918
819
- #@ cpd
820
  msgid "Who can see it"
821
  msgstr "چه کسی می تواند پیشخوان را ببیند"
822
 
 
823
  #: counter-options.php:927
824
- #@ cpd
825
  msgid "custom"
826
  msgstr "سفارشی"
827
 
 
828
  #: counter-options.php:929
829
- #@ cpd
830
  msgid "and higher are allowed to see the statistics page."
831
  msgstr "بالاتر از کدام گروه قادر به مشاهده ی صفحه ی آمار هستند."
832
 
 
833
  #: counter-options.php:931
834
  #, php-format
835
- #@ cpd
836
  msgid "Set the %s capability %s a user need:"
837
  msgstr "تنظیم %s قابلیت %s که یک کاربر نیازدارد"
838
 
 
839
  #: counter-options.php:1018
840
- #@ cpd
841
  msgid "Stylesheet"
842
  msgstr "شیوه نامه"
843
 
 
844
  #: counter-options.php:1021
845
- #@ cpd
846
  msgid "NO Stylesheet in Frontend"
847
  msgstr "بدون شیوه نامه"
848
 
 
849
  #: counter-options.php:1022
850
- #@ cpd
851
  msgid "Do not load the stylesheet \"counter.css\" in frontend."
852
  msgstr "بارگذاری نشدن شیوه نامه ی \"counter.css\" "
853
 
854
- #: counter-options.php:563
855
- #: counter-options.php:1029
856
- #@ cpd
857
  msgid "Backup"
858
  msgstr "پشتیبان"
859
 
 
860
  #: counter-options.php:1032
861
- #@ cpd
862
  msgid "Entries per pass"
863
- msgstr ""
864
 
 
865
  #: counter-options.php:1035
866
- #@ cpd
867
  msgid "How many entries should be saved per pass? Default: 10000"
868
  msgstr "چه تعداد ورودی باید در هر گذر ذخیره شود؟ پیشفرض: 1000"
869
 
 
870
  #: counter-options.php:1040
871
- #@ cpd
872
  msgid "If your PHP memory limit less then 50 MB and you get a white page or error messages try a smaller value."
873
  msgstr "اگر حافظه ی PHP شما کمتر از 50 MB است و به صفحه ی سفید و یا خطا مواجه می شوید، از مقدار کوچکتر استفاده کنید."
874
 
 
875
  #: counter-options.php:567
876
  #, php-format
877
- #@ cpd
878
  msgid "Create a backup of the counter table %s in your wp-content directory (if writable)."
879
  msgstr "ایجاد نسخه ی پشتیبان از جدول شمارشگر %s در دایرکتوری wp-content (اگر قابل نوشتن باشد)"
880
 
 
881
  #: counter-options.php:574
882
- #@ cpd
883
  msgid "Backup the database"
884
  msgstr "پشتیبان از بانک اطلاعات"
885
 
886
- #: counter-options.php:678
887
- #: counter-options.php:710
888
- #@ cpd
889
  msgid "Collect old data"
890
  msgstr "جمع آوری داده های قدیمی"
891
 
892
- #: counter-options.php:664
893
- #: counter-options.php:683
894
  #, php-format
895
- #@ cpd
896
  msgid "Current size of your counter table %s is %s."
897
  msgstr "اندازه ی فعلی جدول شمارنده ی شما %s است %s."
898
 
 
899
  #: counter-options.php:685
900
- #@ cpd
901
  msgid "You can collect old data and clean up the counter table.<br/>Reads and visitors will be saved per month, per country and per post.<br/>Clients and referrers will deleted."
902
- msgstr "شما می توانید اطلاعات قدیمی و پاکسازی جدول را جمع آوری کنید.<br/>خوانده ها و بازدیدکنندگان به ازای ماه، کشور و نوشته ذخیره خواهند شد.<br/>مشتریان و مراجعه کنندگان حذف خواهند شد."
903
 
 
904
  #: counter-options.php:690
905
  #, php-format
906
- #@ cpd
907
  msgid "Currently your collection contains data until %s."
908
  msgstr "در حال حاضر مجموعه ی شما شامل داده تا %s."
909
 
 
910
  #: counter-options.php:694
911
- #@ cpd
912
  msgid "Normally new data will be added to the collection."
913
  msgstr "به صورت معمول داده های جدید به مجموعه اضافه خواهد شد."
914
 
 
915
  #: counter-options.php:700
916
- #@ cpd
917
  msgid "Delete old collection and create a new one which contains only the data currently in counter table."
918
  msgstr "مجموعه قدیمی حذف و یک مجموعه ی جدید که تنها حاوی اطلاعات فعلی شمارنده است ایجاد می شود."
919
 
 
920
  #: counter-options.php:701
921
  #, php-format
922
- #@ cpd
923
  msgid "All collected data until %s will deleted."
924
  msgstr "همه ی داده های جمع آوری شده تا %s حذف خواهد شد."
925
 
 
926
  #: counter-options.php:706
927
  #, php-format
928
- #@ cpd
929
  msgid "Keep entries of last %s full months + current month in counter table."
930
  msgstr "حفظ ورودی های کامل %s ماه پیش + ماه فعلی در جدول شمارنده"
931
 
 
932
  #: counter-options.php:757
933
- #@ cpd
934
  msgid "ReActivation"
935
  msgstr "فعالسازی مجدد"
936
 
 
937
  #: counter-options.php:760
938
- #@ cpd
939
  msgid "Here you can start the installation functions manually.<br/>Same as deactivate and reactivate the plugin."
940
  msgstr "در اینجا شما می توانید توابع نصب دستی را اجرا کنید.<br />مانند فعال و غیرفعال کردن افزونه."
941
 
 
942
  #: counter-options.php:765
943
- #@ cpd
944
  msgid "ReActivate the plugin"
945
  msgstr "فعالسازی مجدد افزونه"
946
 
947
- #: counter.php:246
948
- #: counter.php:1048
949
- #@ cpd
950
  msgid "Visitors"
951
  msgstr "بازدیدکنندگان"
952
 
953
- #: counter.php:249
954
- #: counter.php:250
955
- #@ cpd
956
  msgid "Most visited day"
957
  msgstr "بیشترین بازدید در روز"
958
 
 
959
  #: counter.php:1455
960
- #@ cpd
961
  msgid "drag and drop to sort"
962
  msgstr "کشیدن و رها کردن برای مرتب سازی"
963
 
964
- #: counter-core.php:798
965
- #: counter-options.php:967
966
- #: counter-options.php:971
967
- #@ cpd
968
  msgid "Search strings"
969
- msgstr ""
970
 
 
971
  #: counter-core.php:1191
972
- #@ cpd
973
  msgid "Your can download the backup files here and now."
974
- msgstr ""
975
 
 
976
  #: counter-core.php:1261
977
- #@ cpd
978
  msgid "Error while reading backup file!"
979
- msgstr ""
980
 
 
981
  #: counter-core.php:1265
982
  #, php-format
983
- #@ cpd
984
  msgid "The backup was added to counter table %s."
985
- msgstr ""
986
 
 
987
  #: counter-core.php:1267
988
  #, php-format
989
- #@ cpd
990
  msgid "The counter table %s was restored from backup."
991
- msgstr ""
992
 
 
993
  #: counter-core.php:1284
994
- #@ cpd
995
  msgid "Options restored from backup."
996
- msgstr ""
997
 
 
998
  #: counter-options.php:340
999
- #@ cpd
1000
  msgid "Old search strings deleted"
1001
- msgstr ""
1002
 
 
1003
  #: counter-options.php:355
1004
- #@ cpd
1005
  msgid "Clients and referers deleted"
1006
- msgstr ""
1007
 
 
1008
  #: counter-options.php:570
1009
- #@ cpd
1010
  msgid "Download only"
1011
- msgstr ""
1012
 
 
1013
  #: counter-options.php:602
1014
- #@ cpd
1015
  msgid "Settings and collections"
1016
- msgstr ""
1017
 
 
1018
  #: counter-options.php:607
1019
  #, php-format
1020
- #@ cpd
1021
  msgid "Counter table %s"
1022
- msgstr ""
1023
 
 
1024
  #: counter-options.php:614
1025
  #, php-format
1026
- #@ cpd
1027
  msgid "Add data from the backup file %s to existing counter table?"
1028
- msgstr ""
1029
 
 
1030
  #: counter-options.php:614
1031
- #@ cpd
1032
  msgid "Add"
1033
- msgstr ""
1034
 
 
1035
  #: counter-options.php:618
1036
  #, php-format
1037
- #@ cpd
1038
  msgid "Restore data from the backup file %s ?"
1039
- msgstr ""
1040
 
 
1041
  #: counter-options.php:618
1042
- #@ default
1043
  msgid "Restore"
1044
- msgstr ""
1045
 
 
1046
  #: counter-options.php:620
1047
- #@ default
1048
  msgid "Delete"
1049
- msgstr ""
1050
 
 
1051
  #: counter-options.php:621
1052
  #, php-format
1053
- #@ cpd
1054
  msgid "Delete the backup file %s ?"
1055
- msgstr ""
1056
 
 
1057
  #: counter-options.php:627
1058
- #@ cpd
1059
  msgid "add backup to current counter table"
1060
- msgstr ""
1061
 
 
1062
  #: counter-options.php:628
1063
- #@ cpd
1064
  msgid "replace current counter table with with backup"
1065
- msgstr ""
1066
 
 
1067
  #: counter-options.php:629
1068
- #@ cpd
1069
  msgid "delete backup file"
1070
- msgstr ""
1071
 
 
1072
  #: counter-options.php:654
1073
  #, php-format
1074
- #@ cpd
1075
  msgid "Delete search strings older than %s days."
1076
- msgstr ""
1077
 
 
1078
  #: counter-options.php:658
1079
- #@ cpd
1080
  msgid "Delete search strings"
1081
- msgstr ""
1082
 
 
1083
  #: counter-options.php:665
1084
  #, php-format
1085
- #@ cpd
1086
  msgid "Delete clients and referers older than %s days to reduce the size of the counter table."
1087
- msgstr ""
1088
 
 
1089
  #: counter-options.php:669
1090
- #@ cpd
1091
  msgid "Delete clients and referers"
1092
- msgstr ""
1093
 
 
1094
  #: counter.php:1150
1095
- #@ default
1096
  msgid "Front page"
1097
- msgstr ""
1098
 
 
1099
  #: counter.php:1198
1100
  #, php-format
1101
- #@ cpd
1102
  msgid "The %s most searched strings:"
1103
- msgstr ""
1104
 
 
1105
  #: counter.php:1207
1106
  #, php-format
1107
- #@ cpd
1108
  msgid "The search strings of the last %s days:"
1109
- msgstr ""
1110
 
 
1111
  #: counter.php:1371
1112
- #@ default
1113
  msgid "_name"
1114
  msgstr ""
1115
 
 
1116
  #: counter-core.php:1000
1117
- #@ cpd
1118
  msgid "Export failed! Cannot open file."
1119
- msgstr ""
1120
 
 
1121
  #: counter-core.php:1048
1122
- #@ cpd
1123
  msgid "Download the export file:"
1124
- msgstr ""
1125
 
 
1126
  #: counter-core.php:1103
1127
  #, php-format
1128
- #@ cpd
1129
  msgid "Backup of %s entries in progress. Every point comprises %s entries."
1130
- msgstr ""
1131
 
 
1132
  #: counter-options.php:292
1133
- #@ cpd
1134
  msgid "Deleting old data..."
1135
- msgstr ""
1136
 
 
1137
  #: counter-options.php:496
1138
- #@ cpd
1139
  msgid "Most Industrious Visitors"
1140
- msgstr ""
1141
 
 
1142
  #: counter-options.php:500
1143
  #, php-format
1144
- #@ cpd
1145
  msgid "Show the %s most industrious visitors of the last %s days"
1146
- msgstr ""
1147
 
 
1148
  #: counter-options.php:547
1149
- #@ cpd
1150
  msgid "Export"
1151
- msgstr ""
1152
 
 
1153
  #: counter-options.php:551
1154
  #, php-format
1155
- #@ cpd
1156
  msgid "Export the last %s days as CSV-File"
1157
- msgstr ""
1158
 
 
1159
  #: counter-options.php:555
1160
- #@ cpd
1161
  msgid "Export entries"
1162
- msgstr ""
1163
 
 
1164
  #: counter-options.php:888
1165
- #@ cpd
1166
  msgid "Post types"
1167
- msgstr ""
1168
 
 
1169
  #: counter-options.php:891
1170
- #@ cpd
1171
  msgid "Only count these post types. Leave empty to count them all."
1172
- msgstr ""
1173
 
 
1174
  #: counter-options.php:892
1175
  #, php-format
1176
- #@ cpd
1177
  msgid "Current post types: %s"
1178
- msgstr ""
1179
 
 
1180
  #: counter.php:248
1181
- #@ cpd
1182
  msgid "Since"
1183
  msgstr ""
1184
 
1185
- #: counter.php:1507
1186
- #: counter.php:1539
1187
- #@ cpd
1188
  msgid "Popular Posts"
1189
- msgstr ""
1190
 
 
1191
  #: counter.php:1509
1192
- #@ cpd
1193
  msgid "List of Popular Posts"
1194
- msgstr ""
1195
 
 
1196
  #: counter.php:1547
1197
- #@ cpd
1198
  msgid "Title:"
1199
- msgstr ""
1200
 
 
1201
  #: counter.php:1551
1202
- #@ cpd
1203
  msgid "Days:"
1204
- msgstr ""
1205
 
 
1206
  #: counter.php:1555
1207
- #@ cpd
1208
  msgid "Limit:"
1209
- msgstr ""
1210
 
 
1211
  #: counter.php:1559
1212
- #@ cpd
1213
  msgid "Show header:"
1214
- msgstr ""
1215
 
 
1216
  #: counter.php:1563
1217
- #@ cpd
1218
  msgid "Show counters:"
1219
- msgstr ""
1220
 
 
1221
  #: counter-options.php:861
1222
- #@ cpd
1223
  msgid "Exclude Countries"
1224
- msgstr ""
1225
 
 
1226
  #: counter-options.php:864
1227
- #@ cpd
1228
  msgid "Do not count visitors from these countries. Use the country code (de, us, cn,...) Leave empty to count them all."
1229
- msgstr ""
1230
 
 
1231
  #: counter-options.php:884
1232
- #@ cpd
1233
  msgid "Limit the length to reduce database size. (max. 500 chars)"
1234
- msgstr ""
1235
-
3
  "Project-Id-Version: Count Per Day v3.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2008-11-02 12:13+0100\n"
6
+ "PO-Revision-Date: 2015-12-31 01:03+0330\n"
7
  "Last-Translator: Madat <translator.baku@gmail.com>\n"
8
  "Language-Team: Webmestre <translator.baku@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Generator: Poedit 1.8.5\n"
 
 
14
  "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
16
  "X-Poedit-Basepath: P:/xampp/htdocs/wp/wp-content/plugins/count-per-day\n"
17
+ "X-Textdomain-Support: yes\n"
18
+ "Language: fa_IR\n"
19
  "X-Poedit-SearchPath-0: .\n"
 
20
 
21
+ # @ cpd
22
  #: counter-options.php:54
 
23
  msgid "Options updated"
24
  msgstr "تنظیمات بروز شد"
25
 
26
+ # @ cpd
27
  #: counter-options.php:121
28
  #, php-format
 
29
  msgid "Database cleaned. %s rows deleted."
30
  msgstr "بانک اطلاعات پاک شد. %s سطر پاک شد."
31
 
32
+ # @ cpd
33
+ #: counter-options.php:136 counter-options.php:806
 
34
  msgid "UNINSTALL Count per Day"
35
  msgstr "حذف Count per Day"
36
 
37
+ # @ cpd
38
+ #: counter-options.php:141 counter-options.php:142 counter-options.php:143
 
39
  #, php-format
 
40
  msgid "Table %s deleted"
41
  msgstr "جدول %s حذف شد"
42
 
43
+ # @ cpd
44
  #: counter-options.php:144
 
45
  msgid "Options deleted"
46
  msgstr "تنظیمات حذف شد"
47
 
48
+ # @ cpd
49
+ #: counter-options.php:385 counter-options.php:792
 
50
  msgid "Uninstall"
51
  msgstr "حذف نصب"
52
 
53
+ # @ cpd
54
  #: counter-options.php:386
 
55
  msgid "Click here"
56
  msgstr "اینجا کلیک کنید"
57
 
58
+ # @ cpd
59
  #: counter-options.php:386
 
60
  msgid "to finish the uninstall and to deactivate \"Count per Day\"."
61
  msgstr "به اتمام نصب و غیرفعالسازی \"Count per Day\"."
62
 
63
+ # @ cpd
64
  #: counter-options.php:835
 
65
  msgid "Online time"
66
  msgstr "زمان آنلاین"
67
 
68
+ # @ cpd
69
  #: counter-options.php:836
 
70
  msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
71
  msgstr "ثانیه برای شمارنده آنلاین. برای \"بازدیدکنندگان آنلاین\" در صفحه ی پیشخوان مورد استفاده قرار می گیرد."
72
 
73
+ # @ cpd
74
  #: counter-options.php:839
 
75
  msgid "Logged on Users"
76
+ msgstr "کاربران وارد شده"
77
 
78
+ # @ cpd
79
  #: counter-options.php:841
 
80
  msgid "count too"
81
+ msgstr "همچنین بشمار"
82
 
83
+ # @ cpd
84
  #: counter-options.php:853
 
85
  msgid "Auto counter"
86
  msgstr "شمارش خودکار"
87
 
88
+ # @ cpd
89
  #: counter-options.php:854
 
90
  msgid "Counts automatically single-posts and pages, no changes on template needed."
91
  msgstr "شمارش خودکار تک نوشته ها و صفحات، تغییری بر روی پوسته مورد نیاز نیست."
92
 
93
+ # @ cpd
94
  #: counter-options.php:857
 
95
  msgid "Bots to ignore"
96
  msgstr "نادیده گرفتن ربوتها"
97
 
98
+ # @ cpd
99
  #: counter-options.php:1055
 
100
  msgid "Update options"
101
  msgstr "بروزرسانی تنظیمات"
102
 
103
+ # @ cpd
104
+ #: counter-options.php:640 counter-options.php:648
 
105
  msgid "Clean the database"
106
  msgstr "پاک کردن بانک اطلاعات"
107
 
108
+ # @ cpd
109
  #: counter-options.php:644
 
110
  msgid "You can clean the counter table by delete the \"spam data\".<br />If you add new bots above the old \"spam data\" keeps in the database.<br />Here you can run the bot filter again and delete the visits of the bots."
111
  msgstr "شما می توانید جدول شمارنده را طبق \"spam data\" پاک کنید.<br />اگر شما رباتهای برتر قدیمی را اضافه کرده اید، \"spam data\" آنها را در پایگاه داده نگه می دارد.<br />در اینجا شما می توانید فیلتر ربات را دوباره اجرا و بازدید رباتها را حذف کنید."
112
 
113
+ # @ cpd
114
  #: counter-options.php:795
 
115
  msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
116
  msgstr "اگر شما فقط \"Count per Day\" را غیرفعال کنید، جداول در پایگاه داده حفظ خواهد شد."
117
 
118
+ # @ cpd
119
  #: counter-options.php:796
 
120
  msgid "Here you can delete the tables and disable \"Count per Day\"."
121
  msgstr "در اینجا شما می توانید جداول \"Count per Day\" را حذف و غیرفعال کنید."
122
 
123
+ # @ cpd
124
  #: counter-options.php:799
 
125
  msgid "WARNING"
126
  msgstr "هشدار"
127
 
128
+ # @ cpd
129
  #: counter-options.php:800
 
130
  msgid "These tables (with ALL counter data) will be deleted."
131
  msgstr "این جداول (با تمام اطلاعات شمارنده) حذف خواهد شد."
132
 
133
+ # @ cpd
134
  #: counter-options.php:802
 
135
  msgid "If \"Count per Day\" re-installed, the counter starts at 0."
136
  msgstr "اگر \"Count per Day\" دوباره نصب شود، شمارشگر 0 می شود."
137
 
138
+ # @ cpd
139
+ #: counter-options.php:782 counter-options.php:805
 
140
  msgid "Yes"
141
  msgstr "بله"
142
 
143
+ # @ cpd
144
  #: counter-options.php:806
 
145
  msgid "You are sure to disable Count per Day and delete all data?"
146
  msgstr "شما مطمئن هستید که میخواهید Count per Day ا غیرفعال و اطلاعات آن را پاک کنید؟"
147
 
148
+ # @ cpd
149
+ #: counter-core.php:823 counter.php:1339
 
150
  msgid "Statistics"
151
  msgstr "آمار"
152
 
153
+ # @ cpd
154
+ #: counter-core.php:791 counter.php:241 counter.php:1223 counter.php:1417
 
 
 
155
  msgid "Total visitors"
156
  msgstr "تمام بازدیدکنندگان"
157
 
158
+ # @ cpd
159
+ #: counter.php:242 counter.php:1423
 
160
  msgid "Visitors currently online"
161
  msgstr "بازدیدکنندگان حاضر"
162
 
163
+ # @ cpd
164
+ #: counter.php:243 counter.php:1418
 
165
  msgid "Visitors today"
166
  msgstr "بازدیدکنندگان امروز"
167
 
168
+ # @ cpd
169
+ #: counter.php:244 counter.php:1419
 
170
  msgid "Visitors yesterday"
171
  msgstr "بازدیدکنندگان دیروز"
172
 
173
+ # @ cpd
174
+ #: counter.php:245 counter.php:1420
 
175
  msgid "Visitors last week"
176
  msgstr "بازدیدکنندگان هفته"
177
 
178
+ # @ cpd
179
+ #: counter.php:974 counter.php:1424
 
180
  msgid "Counter starts on"
181
  msgstr "آغاز شمارش در"
182
 
183
+ # @ cpd
184
+ #: counter-core.php:797 counter.php:247 counter.php:348 counter.php:1225
185
+ #: counter.php:1422 userperspan.php:46
 
 
 
 
186
  msgid "Visitors per day"
187
  msgstr "بازدیدکننده در روز"
188
 
189
+ # @ cpd
190
+ #: counter-core.php:793 counter.php:1421
 
191
  msgid "Visitors per month"
192
  msgstr "بازدیدکننده در ماه"
193
 
194
+ # @ cpd
195
+ #: counter-core.php:795 counter-options.php:937
 
196
  msgid "Visitors per post"
197
  msgstr "بازدیدکننده نوشته"
198
 
199
+ # @ cpd
200
  #: counter-options.php:131
 
201
  msgid "Counter reseted."
202
  msgstr "شمارش تنظیم شد."
203
 
204
+ # @ default
205
  #: counter-options.php:902
 
206
  msgid "Dashboard"
207
  msgstr "پیشخوان"
208
 
209
+ # @ cpd
210
+ #: counter-options.php:938 counter-options.php:942
 
211
  msgid "How many posts do you want to see on dashboard page?"
212
  msgstr "میخواهید چه تعداد از نوشته ها را در پیشخوان خود مشاهده کنید؟"
213
 
214
+ # @ cpd
215
  #: counter-options.php:941
 
216
  msgid "Latest Counts - Posts"
217
  msgstr "آخرین شمارش - نوشته ها"
218
 
219
+ # @ cpd
220
  #: counter-options.php:945
 
221
  msgid "Latest Counts - Days"
222
  msgstr "آخرین شمارش - روزها"
223
 
224
+ # @ cpd
225
+ #: counter-options.php:946 counter-options.php:950 counter-options.php:972
 
 
226
  msgid "How many days do you want look back?"
227
  msgstr "میخواهید اطلاعات چند روز قبل را مشاهده کنید؟"
228
 
229
+ # @ cpd
230
  #: counter-options.php:949
 
231
  msgid "Chart - Days"
232
  msgstr "نمودار - روزها"
233
 
234
+ # @ cpd
235
  #: counter-options.php:953
 
236
  msgid "Chart - Height"
237
  msgstr "نمودار - ارتفاع"
238
 
239
+ # @ cpd
240
  #: counter-options.php:954
 
241
  msgid "Height of the biggest bar"
242
  msgstr "ارتفاع از بزرگترین نوار"
243
 
244
+ # @ cpd
245
  #: counter-options.php:986
 
246
  msgid "Show in lists"
247
  msgstr "نمایش در لیستها"
248
 
249
+ # @ cpd
250
  #: counter-options.php:987
 
251
  msgid "Show \"Reads per Post\" in a new column in post management views."
252
  msgstr "نمایش شمارنده ی هر نوشته در در یک ستون جدید در قسمت نوشته ها"
253
 
254
+ # @ cpd
255
+ #: counter-options.php:773 counter-options.php:783
 
256
  msgid "Reset the counter"
257
  msgstr "تنظیم مجدد شمارنده"
258
 
259
+ # @ cpd
260
  #: counter-options.php:776
 
261
  msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
262
  msgstr "شما می توانید شمارنده را با استفاده از جدول خالی تنظیم مجدد کنید. همه به 0!<br />اگر نیازی به اطلاعات فعلی دارید، پشتیبان تهیه کنید!"
263
 
264
+ # @ cpd
265
  #: counter.php:776
266
  #, php-format
 
267
  msgid "The %s most visited posts in last %s days:"
268
  msgstr "%s پربازدیدترین نوشته در %s روز گذشته:"
269
 
270
+ # @ default
271
+ #: counter-core.php:653 counter-options.php:412
 
272
  msgid "Settings"
273
  msgstr "تنظیمات"
274
 
275
+ # @ cpd
276
  #: counter.php:347
 
277
  msgid "Reads per day"
278
  msgstr "خوانده شده در روز"
279
 
280
+ # @ cpd
281
+ #: counter-core.php:1541 counter-options.php:879 counter.php:240
282
+ #: counter.php:1024 map/map.php:60
 
 
 
283
  msgid "Reads"
284
  msgstr "خوانده شده در"
285
 
286
+ # @ cpd
287
  #: counter.php:1411
 
288
  msgid "This post"
289
  msgstr "این نوشته"
290
 
291
+ # @ cpd
292
  #: counter-options.php:66
293
  #, php-format
 
294
  msgid "Countries updated. <b>%s</b> entries in %s without country left"
295
  msgstr "کشورها بروز شد. <b>%s</b> ورودی ها در %s بدون ترک کشور!"
296
 
297
+ # @ cpd
298
  #: counter-options.php:69
 
299
  msgid "update next"
300
  msgstr "بروزرسانی بعدی"
301
 
302
+ # @ cpd
303
  #: counter-options.php:109
304
  #, php-format
 
305
  msgid "Mass Bots cleaned. %s counts deleted."
306
  msgstr "انبوه رباتها پاک شده اند. %s شماره حذف شده است."
307
 
308
+ # @ cpd
309
  #: counter-options.php:842
 
310
  msgid "until User Level"
311
+ msgstr "تا زمانیکه سطح کاربر"
312
 
313
+ # @ cpd
314
  #: counter-options.php:868
 
315
  msgid "Anonymous IP"
316
  msgstr "آی پی ناشناس"
317
 
318
+ # @ cpd
319
  #: counter-options.php:958
 
320
  msgid "Countries"
321
  msgstr "کشورها"
322
 
323
+ # @ cpd
324
  #: counter-options.php:959
 
325
  msgid "How many countries do you want to see on dashboard page?"
326
  msgstr "میخواهید چه تعداد از کشورها را در صفحه ی پیشخوان خود مشاهده کنید؟"
327
 
328
+ # @ cpd
329
  #: counter-options.php:994
 
330
  msgid "Start Values"
331
  msgstr "شروع مقادیر"
332
 
333
+ # @ cpd
334
  #: counter-options.php:998
 
335
  msgid "Here you can change the date of first count and add a start count."
336
  msgstr "شما در اینجا می توانید تاریخ شروع شمارش و مقادیر دیگر را تغییر دهید."
337
 
338
+ # @ cpd
339
  #: counter-options.php:1002
 
340
  msgid "Start date"
341
  msgstr "شروع روز"
342
 
343
+ # @ cpd
344
  #: counter-options.php:1003
 
345
  msgid "Your old Counter starts at?"
346
  msgstr "شمارشگر قدیمی شما شروع می شود در؟"
347
 
348
+ # @ cpd
349
+ #: counter-options.php:1006 counter-options.php:1010
 
350
  msgid "Start count"
351
  msgstr "شروع شمارش"
352
 
353
+ # @ cpd
354
  #: counter-options.php:1007
 
355
  msgid "Add this value to \"Total visitors\"."
356
  msgstr "اضافه کردن این مقدار به \"مجموع بازدیدکنندگان\""
357
 
358
+ # @ cpd
359
  #: counter-options.php:723
 
360
  msgid "GeoIP - Countries"
361
  msgstr "GeoIP - کشورها"
362
 
363
+ # @ cpd
364
  #: counter-options.php:732
 
365
  msgid "Update old counter data"
366
  msgstr "بروزرسانی اطلاعات شمارش قدیمی"
367
 
368
+ # @ cpd
369
  #: counter-options.php:744
 
370
  msgid "Update GeoIP database"
371
  msgstr "بروزرسانی بانک اطلاعات GeoIP"
372
 
373
+ # @ cpd
374
  #: counter-options.php:739
 
375
  msgid "Download a new version of GeoIP.dat file."
376
  msgstr "دانلود نسخه جدید GeoIP. فایل DAT"
377
 
378
+ # @ cpd
379
  #: counter-options.php:749
 
380
  msgid "More informations about GeoIP"
381
  msgstr "اطلاعات دیگر در مورد GeoIP"
382
 
383
+ # @ cpd
384
+ #: counter-options.php:432 massbots.php:46
 
385
  msgid "Mass Bots"
386
  msgstr "انبوه روبوتها"
387
 
388
+ # @ cpd
389
  #: counter-options.php:436
390
  #, php-format
 
391
  msgid "Show all IPs with more than %s page views per day"
392
  msgstr "نمایش تمام IPها با بیش از %s بازدید از صفحه در روز"
393
 
394
+ # @ cpd
395
+ #: counter-options.php:437 counter-options.php:501 notes.php:84
 
396
  #: userperspan.php:56
 
397
  msgid "show"
398
  msgstr "نمایش"
399
 
400
+ # @ cpd
401
+ #: counter-options.php:445 counter-options.php:509
 
402
  msgid "IP"
403
  msgstr "آی پی"
404
 
405
+ # @ cpd
406
+ # @ default
407
+ #: counter-options.php:446 counter-options.php:510 notes.php:88
 
 
408
  msgid "Date"
409
  msgstr "روز"
410
 
411
+ # @ cpd
412
+ #: counter-options.php:447 counter-options.php:511
 
413
  msgid "Client"
414
+ msgstr "کلاینت"
415
 
416
+ # @ cpd
417
+ #: counter-options.php:448 counter-options.php:512
 
418
  msgid "Views"
419
  msgstr "بازدیدها"
420
 
421
+ # @ cpd
422
+ #: counter-options.php:463 counter-options.php:479 counter-options.php:526
 
423
  #, php-format
 
424
  msgid "Delete these %s counts"
425
  msgstr "حذف %s شمارش"
426
 
427
+ # @ cpd
428
  #: counter-options.php:814
 
429
  msgid "Support"
430
  msgstr "پشتیبانی"
431
 
432
+ # @ cpd
433
  #: counter-core.php:756
434
  #, php-format
 
435
  msgid "Time for Count per Day: <code>%s</code>."
436
  msgstr "زمان برای Count per Day: <code>%s</code>."
437
 
438
+ # @ cpd
439
  #: counter-core.php:757
 
440
  msgid "Bug? Problem? Question? Hint? Praise?"
441
  msgstr "باگ؟ مشکل؟ سوال؟ راهنمایی؟ تحسین؟"
442
 
443
+ # @ cpd
444
  #: counter-core.php:758
445
  #, php-format
 
446
  msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
447
  msgstr "نظر خود را در <a href=\"%s\">صفحه ی افزونه</a> بنویسید."
448
 
449
+ # @ cpd
450
+ #: counter.php:236 counter.php:1412
 
451
  msgid "Total reads"
452
  msgstr "مجموع خوانده شده ها"
453
 
454
+ # @ cpd
455
+ #: counter.php:237 counter.php:1413
 
456
  msgid "Reads today"
457
  msgstr "خوانده شده های امروز"
458
 
459
+ # @ cpd
460
+ #: counter.php:238 counter.php:1414
 
461
  msgid "Reads yesterday"
462
  msgstr "خوانده شده ی دیروز"
463
 
464
+ # @ cpd
465
+ #: counter.php:895 notes.php:55 notes.php:89
 
 
466
  msgid "Notes"
467
  msgstr "یادداشت ها"
468
 
469
+ # @ default
470
  #: counter.php:893
 
471
  msgid "Show"
472
  msgstr "نمایش"
473
 
474
+ # @ cpd
475
  #: counter.php:963
 
476
  msgid "Other"
477
  msgstr "دیگر"
478
 
479
+ # @ default
480
  #: counter.php:1135
 
481
  msgid "Edit Post"
482
  msgstr "ویرایش نوشته"
483
 
484
+ # @ default
485
+ #: massbots.php:63 userperspan.php:75
 
486
  msgid "Front page displays"
487
  msgstr "نمایش های اولین صفحه"
488
 
489
+ # @ cpd
490
+ #: counter-core.php:802 counter-options.php:963
 
491
  msgid "Browsers"
492
  msgstr "مرورگرها"
493
 
494
+ # @ cpd
495
  #: counter-core.php:796
 
496
  msgid "Latest Counts"
497
  msgstr "جدیدترین شمارش"
498
 
499
+ # @ default
500
  #: counter-core.php:799
 
501
  msgid "Plugin"
502
  msgstr "افزونه"
503
 
504
+ # @ cpd
505
  #: counter-core.php:807
 
506
  msgid "Reads per Country"
507
  msgstr "خوانندگان هر کشور"
508
 
509
+ # @ cpd
510
+ #: counter.php:438 counter.php:1254
 
511
  msgid "Map"
512
  msgstr "نقشه"
513
 
514
+ # @ cpd
515
  #: geoip/geoip.php:117
 
516
  msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
517
  msgstr "با عرض پوزش، توابع مورد نیاز (zlib) نصب نشده است یا در فایل php.ini فعال شده است."
518
 
519
+ # @ cpd
520
  #: geoip/geoip.php:142
 
521
  msgid "New GeoIP database installed."
522
  msgstr "بانک اطلاعاتی جدید GeoIP نصب شد."
523
 
524
+ # @ cpd
525
  #: geoip/geoip.php:144
 
526
  msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
527
  msgstr "متاسفیم، خطایی رخ داده است. دوباره سعی کنید یا حق دسترسی دایرکتوری \"geoip\" را چک کنید که 777 باشد."
528
 
529
+ # @ default
530
  #: notes.php:90
 
531
  msgid "Action"
532
  msgstr "اقدام"
533
 
534
+ # @ cpd
535
  #: notes.php:95
 
536
  msgid "add"
537
  msgstr "اضافه کردن"
538
 
539
+ # @ cpd
540
  #: notes.php:111
 
541
  msgid "save"
542
  msgstr "ذخیره"
543
 
544
+ # @ cpd
545
  #: notes.php:112
 
546
  msgid "delete"
547
  msgstr "حذف"
548
 
549
+ # @ cpd
550
  #: notes.php:123
 
551
  msgid "edit"
552
  msgstr "ویرایش"
553
 
554
+ # @ cpd
555
  #: counter-options.php:872
 
556
  msgid "Cache"
557
  msgstr "نهانگاه(کش)"
558
 
559
+ # @ cpd
560
  #: counter-options.php:873
 
561
  msgid "I use a cache plugin. Count these visits with ajax."
562
  msgstr "من از نهانگاه افزونه استفاده می کنم. شمارش بازدیدها با استفاده از آجاکس."
563
 
564
+ # @ cpd
565
  #: counter-options.php:964
 
566
  msgid "Substring of the user agent, separated by comma"
567
  msgstr "نام مرورگرها را با کاما (,) از هم جدا کنید"
568
 
569
+ # @ cpd
570
  #: counter-options.php:1048
 
571
  msgid "Debug mode"
572
  msgstr "حالت رفع اشکال"
573
 
574
+ # @ cpd
575
  #: counter-options.php:1050
 
576
  msgid "Show debug informations at the bottom of all pages."
577
  msgstr "نمایش اطلاعات اشکال زدایی در پایین تمام صفحات."
578
 
579
+ # @ cpd
580
  #: counter-core.php:808
 
581
  msgid "Visitors per Country"
582
  msgstr "بازدیدکنندگان هر کشور"
583
 
584
+ # @ cpd
585
  #: userperspan.php:50
 
586
  msgid "Start"
587
  msgstr "شروع"
588
 
589
+ # @ cpd
590
  #: userperspan.php:52
 
591
  msgid "End"
592
  msgstr "پایان"
593
 
594
+ # @ cpd
595
  #: userperspan.php:54
 
596
  msgid "PostID"
597
  msgstr "آی دی نوشته"
598
 
599
+ # @ cpd
600
  #: counter-options.php:1011
 
601
  msgid "Add this value to \"Total reads\"."
602
  msgstr "اضافه کردن این مقدار به \"مجموع خوانده شده ها\""
603
 
604
+ # @ cpd
605
  #: counter-options.php:726
 
606
  msgid "You can get the country data for all entries in database by checking the IP adress against the GeoIP database. This can take a while!"
607
  msgstr "شما می توانید داده ی کشورها را برای تمام ورودی ها در پایگاه داده از طریق چک کردن IP در مقابل پایگاه داده GeoIP دریافت کنید. این کار ممکن است مدتی طول بکشد!"
608
 
609
+ # @ cpd
610
  #: userperspan.php:62
 
611
  msgid "no data found"
612
  msgstr "اطلاعاتی یافت نشد"
613
 
614
+ # @ cpd
615
  #: counter-options.php:831
 
616
  msgid "Counter"
617
  msgstr "شمارشگر"
618
 
619
+ # @ cpd
620
  #: counter-options.php:876
 
621
  msgid "Clients and referrers"
622
+ msgstr "کلاینتها و ارجاع دهنده ها"
623
 
624
+ # @ cpd
625
  #: counter-options.php:879
 
626
  msgid "Save and show clients and referrers.<br />Needs a lot of space in the database but gives you more detailed informations of your visitors."
627
+ msgstr "ذخیره و مشاهده ی کلاینها و ارجاع دهندگان.<br />به فضای زیادی در پایگاه داده نیاز دارد، اما اطلاعات کاملی از بازدیدکنندگان به شما می دهد."
628
 
629
+ # @ cpd
630
  #: counter-options.php:975
 
631
  msgid "Local URLs"
632
  msgstr "لینکهای محلی"
633
 
634
+ # @ cpd
635
  #: counter-options.php:976
 
636
  msgid "Show local referrers too."
637
  msgstr "نمایش ارجاعات محلی"
638
 
639
+ # @ default
640
  #: counter-options.php:983
 
641
  msgid "Posts"
642
  msgstr "نوشته ها"
643
 
644
+ # @ default
645
  #: counter-options.php:983
 
646
  msgid "Pages"
647
  msgstr "صفحات"
648
 
649
+ # @ cpd
650
+ #: counter.php:239 counter.php:1415
 
651
  msgid "Reads last week"
652
  msgstr "خوانده شده ی هفته"
653
 
654
+ # @ default
655
  #: counter.php:1144
 
656
  msgid "Category"
657
  msgstr "دسته ها"
658
 
659
+ # @ default
660
  #: counter.php:1147
 
661
  msgid "Tag"
662
  msgstr "برچسب"
663
 
664
+ # @ default
665
  #: counter-core.php:759
 
666
  msgid "License"
667
  msgstr "مجوز"
668
 
669
+ # @ cpd
670
+ #: counter-core.php:794 counter.php:1416
 
671
  msgid "Reads per month"
672
  msgstr "خوانده شده در ماه"
673
 
674
+ # @ cpd
675
  #: counter-core.php:803
 
676
  msgid "Referrer"
677
  msgstr "ارجاع دهنده"
678
 
679
+ # @ cpd
680
  #: counter-options.php:967
 
681
  msgid "Referrers - Entries"
682
+ msgstr "ارجاع دهنده - ورودی ها"
683
 
684
+ # @ cpd
685
  #: counter-options.php:968
 
686
  msgid "How many referrers do you want to see on dashboard page?"
687
  msgstr "میخواهید چه تعداد از ارجاعات را در صفحه ی پیشخوان خود مشاهده کنید؟"
688
 
689
+ # @ cpd
690
  #: counter-options.php:971
 
691
  msgid "Referrers - Days"
692
  msgstr "ارجاع دهنده ها - روزها"
693
 
694
+ # @ cpd
695
  #: counter.php:994
696
  #, php-format
 
697
  msgid "The %s referrers in last %s days:"
698
  msgstr "%s مراجعه کننده در %s روز پیش:"
699
 
700
+ # @ cpd
701
  #: counter-core.php:792
 
702
  msgid "Visitors online"
703
  msgstr "بازدیدکنندگان آنلاین"
704
 
705
+ # @ default
706
  #: counter.php:1436
 
707
  msgid "Title"
708
  msgstr "عنوان"
709
 
710
+ # @ cpd
711
  #: counter-core.php:232
712
  #, php-format
 
713
  msgid "\"Count per Day\" updated to version %s."
714
  msgstr "\"Count per Day\" بروزرسانی شد به نسخه ی %s."
715
 
716
+ # @ cpd
717
  #: counter-core.php:1076
 
718
  msgid "Backup failed! Cannot open file"
719
  msgstr "پشتیبان گیری با مشکل مواجه شد! نمیتوانم فایل را باز کرد"
720
 
721
+ # @ cpd
722
+ #: counter-core.php:1195 counter-core.php:1203
723
  #, php-format
 
724
  msgid "Backup of counter table saved in %s."
725
  msgstr "پشتیبان از جدول شمارنده ذخیره شد در %s."
726
 
727
+ # @ cpd
728
+ #: counter-core.php:1197 counter-core.php:1205
729
  #, php-format
 
730
  msgid "Backup of counter options and collection saved in %s."
731
  msgstr "پشتیبان گیری از تنظیمات شمارشگر و مجموعه ذخیره شد در %s."
732
 
733
+ # @ cpd
734
  #: counter-options.php:177
 
735
  msgid "Collection in progress..."
736
  msgstr "در حال انجام جمع آوری"
737
 
738
+ # @ cpd
739
  #: counter-options.php:271
 
740
  msgid "Get Visitors per Post..."
741
+ msgstr "بازدید کننده در هر ارسال ..."
742
 
743
+ # @ cpd
744
  #: counter-options.php:316
745
  #, php-format
 
746
  msgid "Counter entries until %s collected and counter table %s optimized (size before = %s &gt; size after = %s)."
747
  msgstr "ورودی های شمارشگر تا %s جمع آوری شد و جدول شمارشگر %s بهینه سازی شد. (حجم قبل = %s &gt; حجم بعد = %s)."
748
 
749
+ # @ cpd
750
  #: counter-options.php:325
 
751
  msgid "Installation of \"Count per Day\" checked"
752
  msgstr "مراحل نصب \"Count per Day\" چک شد"
753
 
754
+ # @ default
755
  #: counter-options.php:411
 
756
  msgid "Tools"
757
  msgstr "ابزار"
758
 
759
+ # @ cpd
760
  #: counter-options.php:881
 
761
  msgid "Save URL only, no query string."
762
  msgstr "تنها ذخیره ی URL، بدون متغیر رشته درخواست."
763
 
764
+ # @ cpd
765
  #: counter-options.php:918
 
766
  msgid "Who can see it"
767
  msgstr "چه کسی می تواند پیشخوان را ببیند"
768
 
769
+ # @ cpd
770
  #: counter-options.php:927
 
771
  msgid "custom"
772
  msgstr "سفارشی"
773
 
774
+ # @ cpd
775
  #: counter-options.php:929
 
776
  msgid "and higher are allowed to see the statistics page."
777
  msgstr "بالاتر از کدام گروه قادر به مشاهده ی صفحه ی آمار هستند."
778
 
779
+ # @ cpd
780
  #: counter-options.php:931
781
  #, php-format
 
782
  msgid "Set the %s capability %s a user need:"
783
  msgstr "تنظیم %s قابلیت %s که یک کاربر نیازدارد"
784
 
785
+ # @ cpd
786
  #: counter-options.php:1018
 
787
  msgid "Stylesheet"
788
  msgstr "شیوه نامه"
789
 
790
+ # @ cpd
791
  #: counter-options.php:1021
 
792
  msgid "NO Stylesheet in Frontend"
793
  msgstr "بدون شیوه نامه"
794
 
795
+ # @ cpd
796
  #: counter-options.php:1022
 
797
  msgid "Do not load the stylesheet \"counter.css\" in frontend."
798
  msgstr "بارگذاری نشدن شیوه نامه ی \"counter.css\" "
799
 
800
+ # @ cpd
801
+ #: counter-options.php:563 counter-options.php:1029
 
802
  msgid "Backup"
803
  msgstr "پشتیبان"
804
 
805
+ # @ cpd
806
  #: counter-options.php:1032
 
807
  msgid "Entries per pass"
808
+ msgstr "ورودی ها در هر گذر"
809
 
810
+ # @ cpd
811
  #: counter-options.php:1035
 
812
  msgid "How many entries should be saved per pass? Default: 10000"
813
  msgstr "چه تعداد ورودی باید در هر گذر ذخیره شود؟ پیشفرض: 1000"
814
 
815
+ # @ cpd
816
  #: counter-options.php:1040
 
817
  msgid "If your PHP memory limit less then 50 MB and you get a white page or error messages try a smaller value."
818
  msgstr "اگر حافظه ی PHP شما کمتر از 50 MB است و به صفحه ی سفید و یا خطا مواجه می شوید، از مقدار کوچکتر استفاده کنید."
819
 
820
+ # @ cpd
821
  #: counter-options.php:567
822
  #, php-format
 
823
  msgid "Create a backup of the counter table %s in your wp-content directory (if writable)."
824
  msgstr "ایجاد نسخه ی پشتیبان از جدول شمارشگر %s در دایرکتوری wp-content (اگر قابل نوشتن باشد)"
825
 
826
+ # @ cpd
827
  #: counter-options.php:574
 
828
  msgid "Backup the database"
829
  msgstr "پشتیبان از بانک اطلاعات"
830
 
831
+ # @ cpd
832
+ #: counter-options.php:678 counter-options.php:710
 
833
  msgid "Collect old data"
834
  msgstr "جمع آوری داده های قدیمی"
835
 
836
+ # @ cpd
837
+ #: counter-options.php:664 counter-options.php:683
838
  #, php-format
 
839
  msgid "Current size of your counter table %s is %s."
840
  msgstr "اندازه ی فعلی جدول شمارنده ی شما %s است %s."
841
 
842
+ # @ cpd
843
  #: counter-options.php:685
 
844
  msgid "You can collect old data and clean up the counter table.<br/>Reads and visitors will be saved per month, per country and per post.<br/>Clients and referrers will deleted."
845
+ msgstr "شما می توانید اطلاعات قدیمی و پاکسازی جدول را جمع آوری کنید.<br/>خوانده ها و بازدیدکنندگان به ازای ماه، کشور و نوشته ذخیره خواهند شد.<br/>کلاینتها و ارجاع دهندگان حذف خواهند شد."
846
 
847
+ # @ cpd
848
  #: counter-options.php:690
849
  #, php-format
 
850
  msgid "Currently your collection contains data until %s."
851
  msgstr "در حال حاضر مجموعه ی شما شامل داده تا %s."
852
 
853
+ # @ cpd
854
  #: counter-options.php:694
 
855
  msgid "Normally new data will be added to the collection."
856
  msgstr "به صورت معمول داده های جدید به مجموعه اضافه خواهد شد."
857
 
858
+ # @ cpd
859
  #: counter-options.php:700
 
860
  msgid "Delete old collection and create a new one which contains only the data currently in counter table."
861
  msgstr "مجموعه قدیمی حذف و یک مجموعه ی جدید که تنها حاوی اطلاعات فعلی شمارنده است ایجاد می شود."
862
 
863
+ # @ cpd
864
  #: counter-options.php:701
865
  #, php-format
 
866
  msgid "All collected data until %s will deleted."
867
  msgstr "همه ی داده های جمع آوری شده تا %s حذف خواهد شد."
868
 
869
+ # @ cpd
870
  #: counter-options.php:706
871
  #, php-format
 
872
  msgid "Keep entries of last %s full months + current month in counter table."
873
  msgstr "حفظ ورودی های کامل %s ماه پیش + ماه فعلی در جدول شمارنده"
874
 
875
+ # @ cpd
876
  #: counter-options.php:757
 
877
  msgid "ReActivation"
878
  msgstr "فعالسازی مجدد"
879
 
880
+ # @ cpd
881
  #: counter-options.php:760
 
882
  msgid "Here you can start the installation functions manually.<br/>Same as deactivate and reactivate the plugin."
883
  msgstr "در اینجا شما می توانید توابع نصب دستی را اجرا کنید.<br />مانند فعال و غیرفعال کردن افزونه."
884
 
885
+ # @ cpd
886
  #: counter-options.php:765
 
887
  msgid "ReActivate the plugin"
888
  msgstr "فعالسازی مجدد افزونه"
889
 
890
+ # @ cpd
891
+ #: counter.php:246 counter.php:1048
 
892
  msgid "Visitors"
893
  msgstr "بازدیدکنندگان"
894
 
895
+ # @ cpd
896
+ #: counter.php:249 counter.php:250
 
897
  msgid "Most visited day"
898
  msgstr "بیشترین بازدید در روز"
899
 
900
+ # @ cpd
901
  #: counter.php:1455
 
902
  msgid "drag and drop to sort"
903
  msgstr "کشیدن و رها کردن برای مرتب سازی"
904
 
905
+ # @ cpd
906
+ #: counter-core.php:798 counter-options.php:967 counter-options.php:971
 
 
907
  msgid "Search strings"
908
+ msgstr "رشته های جستجو"
909
 
910
+ # @ cpd
911
  #: counter-core.php:1191
 
912
  msgid "Your can download the backup files here and now."
913
+ msgstr "شما می توانید فایلهای پشتیبان را از اینجا دانلود کنید."
914
 
915
+ # @ cpd
916
  #: counter-core.php:1261
 
917
  msgid "Error while reading backup file!"
918
+ msgstr "خطا در هنگام خواندن فایل پشتیبان!"
919
 
920
+ # @ cpd
921
  #: counter-core.php:1265
922
  #, php-format
 
923
  msgid "The backup was added to counter table %s."
924
+ msgstr "پشتیبان به جدول شمارنده اضافه شد %s."
925
 
926
+ # @ cpd
927
  #: counter-core.php:1267
928
  #, php-format
 
929
  msgid "The counter table %s was restored from backup."
930
+ msgstr "جدول شمارنده %s از طریق پشتیبان بازیابی شد."
931
 
932
+ # @ cpd
933
  #: counter-core.php:1284
 
934
  msgid "Options restored from backup."
935
+ msgstr "گزینه ها توسط پشتیبان بازیابی شد."
936
 
937
+ # @ cpd
938
  #: counter-options.php:340
 
939
  msgid "Old search strings deleted"
940
+ msgstr "رشته های جستجو شده قدیمی حذف شدند"
941
 
942
+ # @ cpd
943
  #: counter-options.php:355
 
944
  msgid "Clients and referers deleted"
945
+ msgstr "کلاینتها و ارجاع دهندگان حذف شداند"
946
 
947
+ # @ cpd
948
  #: counter-options.php:570
 
949
  msgid "Download only"
950
+ msgstr "فقط دانلود"
951
 
952
+ # @ cpd
953
  #: counter-options.php:602
 
954
  msgid "Settings and collections"
955
+ msgstr "تنظیمات و مجموعه ها"
956
 
957
+ # @ cpd
958
  #: counter-options.php:607
959
  #, php-format
 
960
  msgid "Counter table %s"
961
+ msgstr "جدول شمارنده %s"
962
 
963
+ # @ cpd
964
  #: counter-options.php:614
965
  #, php-format
 
966
  msgid "Add data from the backup file %s to existing counter table?"
967
+ msgstr "اضافه کردن اطلاعات از فایل %s به جدول شمارنده موجود؟"
968
 
969
+ # @ cpd
970
  #: counter-options.php:614
 
971
  msgid "Add"
972
+ msgstr "اضافه کردن"
973
 
974
+ # @ cpd
975
  #: counter-options.php:618
976
  #, php-format
 
977
  msgid "Restore data from the backup file %s ?"
978
+ msgstr "بازیابی اطلاعات از فایل %s پشتیبان؟"
979
 
980
+ # @ default
981
  #: counter-options.php:618
 
982
  msgid "Restore"
983
+ msgstr "بازیابی "
984
 
985
+ # @ default
986
  #: counter-options.php:620
 
987
  msgid "Delete"
988
+ msgstr "حذف"
989
 
990
+ # @ cpd
991
  #: counter-options.php:621
992
  #, php-format
 
993
  msgid "Delete the backup file %s ?"
994
+ msgstr "حذف کردن فایل پشتیبان %s ؟"
995
 
996
+ # @ cpd
997
  #: counter-options.php:627
 
998
  msgid "add backup to current counter table"
999
+ msgstr "اضافه کردن پشتیبان به جدول شمارنده فعلی"
1000
 
1001
+ # @ cpd
1002
  #: counter-options.php:628
 
1003
  msgid "replace current counter table with with backup"
1004
+ msgstr "جایگزینی جدول شمارنده فلی با پشتیبان"
1005
 
1006
+ # @ cpd
1007
  #: counter-options.php:629
 
1008
  msgid "delete backup file"
1009
+ msgstr "حذف فایل پشتیبان"
1010
 
1011
+ # @ cpd
1012
  #: counter-options.php:654
1013
  #, php-format
 
1014
  msgid "Delete search strings older than %s days."
1015
+ msgstr "حذف رشته های جستجوی قدیمی تر از %s روز."
1016
 
1017
+ # @ cpd
1018
  #: counter-options.php:658
 
1019
  msgid "Delete search strings"
1020
+ msgstr "حذف رشته های جستجو شده"
1021
 
1022
+ # @ cpd
1023
  #: counter-options.php:665
1024
  #, php-format
 
1025
  msgid "Delete clients and referers older than %s days to reduce the size of the counter table."
1026
+ msgstr "کلاینتها و ارجاع دهندگان قدیمی تر از %s روز به منظور کاهش حجم جدول شمارنده حذف شود."
1027
 
1028
+ # @ cpd
1029
  #: counter-options.php:669
 
1030
  msgid "Delete clients and referers"
1031
+ msgstr "حذف کردن کلاینتها و ارجاع دهندگان"
1032
 
1033
+ # @ default
1034
  #: counter.php:1150
 
1035
  msgid "Front page"
1036
+ msgstr "صفحه اصلی"
1037
 
1038
+ # @ cpd
1039
  #: counter.php:1198
1040
  #, php-format
 
1041
  msgid "The %s most searched strings:"
1042
+ msgstr " %s رشته‌ی بیشتر جستجو شده:"
1043
 
1044
+ # @ cpd
1045
  #: counter.php:1207
1046
  #, php-format
 
1047
  msgid "The search strings of the last %s days:"
1048
+ msgstr "رشته های جستجو شده %s روز گذشته:"
1049
 
1050
+ # @ default
1051
  #: counter.php:1371
 
1052
  msgid "_name"
1053
  msgstr ""
1054
 
1055
+ # @ cpd
1056
  #: counter-core.php:1000
 
1057
  msgid "Export failed! Cannot open file."
1058
+ msgstr "گرفتن خروجی شسکت خورد! نمی توان فایل را باز کرد."
1059
 
1060
+ # @ cpd
1061
  #: counter-core.php:1048
 
1062
  msgid "Download the export file:"
1063
+ msgstr "دانلود فایل خروجی:"
1064
 
1065
+ # @ cpd
1066
  #: counter-core.php:1103
1067
  #, php-format
 
1068
  msgid "Backup of %s entries in progress. Every point comprises %s entries."
1069
+ msgstr "پشتیبان گرفتن از %s ورودی در حال پیشرفت است. هر نقطه شامل %s ورودی است."
1070
 
1071
+ # @ cpd
1072
  #: counter-options.php:292
 
1073
  msgid "Deleting old data..."
1074
+ msgstr "در حال حذف اطلاعات قدیمی..."
1075
 
1076
+ # @ cpd
1077
  #: counter-options.php:496
 
1078
  msgid "Most Industrious Visitors"
1079
+ msgstr "مراجعه کنندگان ثابت"
1080
 
1081
+ # @ cpd
1082
  #: counter-options.php:500
1083
  #, php-format
 
1084
  msgid "Show the %s most industrious visitors of the last %s days"
1085
+ msgstr "نمایش %s مراجعه کننده ثابت در %s روز گذشته"
1086
 
1087
+ # @ cpd
1088
  #: counter-options.php:547
 
1089
  msgid "Export"
1090
+ msgstr "گرفتن خروجی"
1091
 
1092
+ # @ cpd
1093
  #: counter-options.php:551
1094
  #, php-format
 
1095
  msgid "Export the last %s days as CSV-File"
1096
+ msgstr "گرفتن خروجی از %s روز گذشته-فایل CSV"
1097
 
1098
+ # @ cpd
1099
  #: counter-options.php:555
 
1100
  msgid "Export entries"
1101
+ msgstr "گرفتن خروجی از ورودی ها"
1102
 
1103
+ # @ cpd
1104
  #: counter-options.php:888
 
1105
  msgid "Post types"
1106
+ msgstr "انواع ارسال"
1107
 
1108
+ # @ cpd
1109
  #: counter-options.php:891
 
1110
  msgid "Only count these post types. Leave empty to count them all."
1111
+ msgstr "فقط این نوع ارسال را بشمار. خالی بگذارید تا همه را حساب کند."
1112
 
1113
+ # @ cpd
1114
  #: counter-options.php:892
1115
  #, php-format
 
1116
  msgid "Current post types: %s"
1117
+ msgstr "نوع ارسال فعلی: %s"
1118
 
1119
+ # @ cpd
1120
  #: counter.php:248
 
1121
  msgid "Since"
1122
  msgstr ""
1123
 
1124
+ # @ cpd
1125
+ #: counter.php:1507 counter.php:1539
 
1126
  msgid "Popular Posts"
1127
+ msgstr "ارسالهای پربازدید"
1128
 
1129
+ # @ cpd
1130
  #: counter.php:1509
 
1131
  msgid "List of Popular Posts"
1132
+ msgstr "لیست "
1133
 
1134
+ # @ cpd
1135
  #: counter.php:1547
 
1136
  msgid "Title:"
1137
+ msgstr "عنوان:"
1138
 
1139
+ # @ cpd
1140
  #: counter.php:1551
 
1141
  msgid "Days:"
1142
+ msgstr "روزها:"
1143
 
1144
+ # @ cpd
1145
  #: counter.php:1555
 
1146
  msgid "Limit:"
1147
+ msgstr "محدودی:"
1148
 
1149
+ # @ cpd
1150
  #: counter.php:1559
 
1151
  msgid "Show header:"
1152
+ msgstr "نمایش سربرگ:"
1153
 
1154
+ # @ cpd
1155
  #: counter.php:1563
 
1156
  msgid "Show counters:"
1157
+ msgstr "نمایش شمارنده ها:"
1158
 
1159
+ # @ cpd
1160
  #: counter-options.php:861
 
1161
  msgid "Exclude Countries"
1162
+ msgstr "کشورهای استثنا"
1163
 
1164
+ # @ cpd
1165
  #: counter-options.php:864
 
1166
  msgid "Do not count visitors from these countries. Use the country code (de, us, cn,...) Leave empty to count them all."
1167
+ msgstr "بازدیدکنندگان این کشور را جزو شمارش حساب نکن. استفاده از کد کشور (de, us, cn,...) خالی بگذارید تا همه را حساب کند."
1168
 
1169
+ # @ cpd
1170
  #: counter-options.php:884
 
1171
  msgid "Limit the length to reduce database size. (max. 500 chars)"
1172
+ msgstr "محدود کردن طول به منظور کاهش حجم پایگاه داده. (حداکثر 500 کاراکتر)"
 
locale/cpd.pot CHANGED
@@ -1,147 +1,161 @@
1
- # Copyright (C) 2015 Count Per Day
2
  # This file is distributed under the same license as the Count Per Day package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Count Per Day 3.4\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/count-per-day\n"
7
- "POT-Creation-Date: 2015-02-13 08:35:14+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: counter-core.php:232
16
  msgid "\"Count per Day\" updated to version %s."
17
  msgstr ""
18
 
19
- #: counter-core.php:653 counter-options.php:412
 
 
 
 
20
  msgid "Settings"
21
  msgstr ""
22
 
23
- #: counter-core.php:756
24
  msgid "Time for Count per Day: <code>%s</code>."
25
  msgstr ""
26
 
27
- #: counter-core.php:757
28
  msgid "Bug? Problem? Question? Hint? Praise?"
29
  msgstr ""
30
 
31
- #: counter-core.php:758
32
  msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
33
  msgstr ""
34
 
35
- #: counter-core.php:759
36
  msgid "License"
37
  msgstr ""
38
 
39
- #: counter-core.php:791 counter.php:241 counter.php:1223 counter.php:1417
40
  msgid "Total visitors"
41
  msgstr ""
42
 
43
- #: counter-core.php:792
44
  msgid "Visitors online"
45
  msgstr ""
46
 
47
- #: counter-core.php:793 counter.php:1421
48
  msgid "Visitors per month"
49
  msgstr ""
50
 
51
- #: counter-core.php:794 counter.php:1416
52
  msgid "Reads per month"
53
  msgstr ""
54
 
55
- #: counter-core.php:795 counter-options.php:937
56
  msgid "Visitors per post"
57
  msgstr ""
58
 
59
- #: counter-core.php:796
60
  msgid "Latest Counts"
61
  msgstr ""
62
 
63
- #: counter-core.php:797 counter.php:247 counter.php:348 counter.php:1225
64
- #: counter.php:1422 userperspan.php:46
65
  msgid "Visitors per day"
66
  msgstr ""
67
 
68
- #: counter-core.php:798 counter-options.php:967 counter-options.php:971
69
  msgid "Search strings"
70
  msgstr ""
71
 
72
- #: counter-core.php:799
73
  msgid "Plugin"
74
  msgstr ""
75
 
76
- #: counter-core.php:802 counter-options.php:963
77
  msgid "Browsers"
78
  msgstr ""
79
 
80
- #: counter-core.php:803
81
  msgid "Referrer"
82
  msgstr ""
83
 
84
- #: counter-core.php:807
85
  msgid "Reads per Country"
86
  msgstr ""
87
 
88
- #: counter-core.php:808
89
  msgid "Visitors per Country"
90
  msgstr ""
91
 
92
- #: counter-core.php:823 counter.php:1339
93
  msgid "Statistics"
94
  msgstr ""
95
 
96
- #: counter-core.php:1000
97
  msgid "Export failed! Cannot open file."
98
  msgstr ""
99
 
100
- #: counter-core.php:1048
101
  msgid "Download the export file:"
102
  msgstr ""
103
 
104
- #: counter-core.php:1076
105
  msgid "Backup failed! Cannot open file"
106
  msgstr ""
107
 
108
- #: counter-core.php:1103
109
  msgid "Backup of %s entries in progress. Every point comprises %s entries."
110
  msgstr ""
111
 
112
- #: counter-core.php:1191
113
  msgid "Your can download the backup files here and now."
114
  msgstr ""
115
 
116
- #: counter-core.php:1195 counter-core.php:1203
117
  msgid "Backup of counter table saved in %s."
118
  msgstr ""
119
 
120
- #: counter-core.php:1197 counter-core.php:1205
121
  msgid "Backup of counter options and collection saved in %s."
122
  msgstr ""
123
 
124
- #: counter-core.php:1261
125
  msgid "Error while reading backup file!"
126
  msgstr ""
127
 
128
- #: counter-core.php:1265
129
  msgid "The backup was added to counter table %s."
130
  msgstr ""
131
 
132
- #: counter-core.php:1267
133
  msgid "The counter table %s was restored from backup."
134
  msgstr ""
135
 
136
- #: counter-core.php:1284
137
  msgid "Options restored from backup."
138
  msgstr ""
139
 
140
- #: counter-core.php:1541 counter-options.php:879 counter.php:240
141
- #: counter.php:1024 map/map.php:60
142
  msgid "Reads"
143
  msgstr ""
144
 
 
 
 
 
 
 
 
 
 
 
145
  #: counter-options.php:54
146
  msgid "Options updated"
147
  msgstr ""
@@ -154,784 +168,799 @@ msgstr ""
154
  msgid "update next"
155
  msgstr ""
156
 
157
- #: counter-options.php:109
158
  msgid "Mass Bots cleaned. %s counts deleted."
159
  msgstr ""
160
 
161
- #: counter-options.php:121
162
  msgid "Database cleaned. %s rows deleted."
163
  msgstr ""
164
 
165
- #: counter-options.php:131
166
  msgid "Counter reseted."
167
  msgstr ""
168
 
169
- #: counter-options.php:136 counter-options.php:806
170
  msgid "UNINSTALL Count per Day"
171
  msgstr ""
172
 
173
- #: counter-options.php:141 counter-options.php:142 counter-options.php:143
174
  msgid "Table %s deleted"
175
  msgstr ""
176
 
177
- #: counter-options.php:144
178
  msgid "Options deleted"
179
  msgstr ""
180
 
181
- #: counter-options.php:177
182
  msgid "Collection in progress..."
183
  msgstr ""
184
 
185
- #: counter-options.php:271
186
  msgid "Get Visitors per Post..."
187
  msgstr ""
188
 
189
- #: counter-options.php:292
190
  msgid "Deleting old data..."
191
  msgstr ""
192
 
193
- #: counter-options.php:316
194
  msgid ""
195
  "Counter entries until %s collected and counter table %s optimized (size "
196
  "before = %s &gt; size after = %s)."
197
  msgstr ""
198
 
199
- #: counter-options.php:325
200
  msgid "Installation of \"Count per Day\" checked"
201
  msgstr ""
202
 
203
- #: counter-options.php:340
204
  msgid "Old search strings deleted"
205
  msgstr ""
206
 
207
- #: counter-options.php:355
208
  msgid "Clients and referers deleted"
209
  msgstr ""
210
 
211
- #: counter-options.php:385 counter-options.php:792
212
  msgid "Uninstall"
213
  msgstr ""
214
 
215
- #: counter-options.php:386
216
  msgid "Click here"
217
  msgstr ""
218
 
219
- #: counter-options.php:386
220
  msgid "to finish the uninstall and to deactivate \"Count per Day\"."
221
  msgstr ""
222
 
223
- #: counter-options.php:411
224
  msgid "Tools"
225
  msgstr ""
226
 
227
- #: counter-options.php:432 massbots.php:46
228
  msgid "Mass Bots"
229
  msgstr ""
230
 
231
- #: counter-options.php:436
232
  msgid "Show all IPs with more than %s page views per day"
233
  msgstr ""
234
 
235
- #: counter-options.php:437 counter-options.php:501 notes.php:84
236
- #: userperspan.php:56
237
  msgid "show"
238
  msgstr ""
239
 
240
- #: counter-options.php:445 counter-options.php:509
241
  msgid "IP"
242
  msgstr ""
243
 
244
- #: counter-options.php:446 counter-options.php:510 notes.php:88
245
  msgid "Date"
246
  msgstr ""
247
 
248
- #: counter-options.php:447 counter-options.php:511
249
  msgid "Client"
250
  msgstr ""
251
 
252
- #: counter-options.php:448 counter-options.php:512
253
  msgid "Views"
254
  msgstr ""
255
 
256
- #: counter-options.php:463 counter-options.php:479 counter-options.php:526
257
  msgid "Delete these %s counts"
258
  msgstr ""
259
 
260
- #: counter-options.php:496
261
  msgid "Most Industrious Visitors"
262
  msgstr ""
263
 
264
- #: counter-options.php:500
265
  msgid "Show the %s most industrious visitors of the last %s days"
266
  msgstr ""
267
 
268
- #: counter-options.php:547
269
  msgid "Export"
270
  msgstr ""
271
 
272
- #: counter-options.php:551
273
  msgid "Export the last %s days as CSV-File"
274
  msgstr ""
275
 
276
- #: counter-options.php:555
277
  msgid "Export entries"
278
  msgstr ""
279
 
280
- #: counter-options.php:563 counter-options.php:1029
281
  msgid "Backup"
282
  msgstr ""
283
 
284
- #: counter-options.php:567
285
  msgid ""
286
  "Create a backup of the counter table %s in your wp-content directory (if "
287
  "writable)."
288
  msgstr ""
289
 
290
- #: counter-options.php:570
291
  msgid "Download only"
292
  msgstr ""
293
 
294
- #: counter-options.php:574
295
  msgid "Backup the database"
296
  msgstr ""
297
 
298
- #: counter-options.php:602
299
  msgid "Settings and collections"
300
  msgstr ""
301
 
302
- #: counter-options.php:607
303
  msgid "Counter table %s"
304
  msgstr ""
305
 
306
- #: counter-options.php:614
307
  msgid "Add data from the backup file %s to existing counter table?"
308
  msgstr ""
309
 
310
- #: counter-options.php:614
311
  msgid "Add"
312
  msgstr ""
313
 
314
- #: counter-options.php:618
315
  msgid "Restore data from the backup file %s ?"
316
  msgstr ""
317
 
318
- #: counter-options.php:618
319
  msgid "Restore"
320
  msgstr ""
321
 
322
- #: counter-options.php:620
323
  msgid "Delete"
324
  msgstr ""
325
 
326
- #: counter-options.php:621
327
  msgid "Delete the backup file %s ?"
328
  msgstr ""
329
 
330
- #: counter-options.php:627
331
  msgid "add backup to current counter table"
332
  msgstr ""
333
 
334
- #: counter-options.php:628
335
  msgid "replace current counter table with with backup"
336
  msgstr ""
337
 
338
- #: counter-options.php:629
339
  msgid "delete backup file"
340
  msgstr ""
341
 
342
- #: counter-options.php:640 counter-options.php:648
343
  msgid "Clean the database"
344
  msgstr ""
345
 
346
- #: counter-options.php:644
347
  msgid ""
348
  "You can clean the counter table by delete the \"spam data\".<br />If you add "
349
  "new bots above the old \"spam data\" keeps in the database.<br />Here you "
350
  "can run the bot filter again and delete the visits of the bots."
351
  msgstr ""
352
 
353
- #: counter-options.php:654
354
  msgid "Delete search strings older than %s days."
355
  msgstr ""
356
 
357
- #: counter-options.php:658
358
  msgid "Delete search strings"
359
  msgstr ""
360
 
361
- #: counter-options.php:664 counter-options.php:683
362
  msgid "Current size of your counter table %s is %s."
363
  msgstr ""
364
 
365
- #: counter-options.php:665
366
  msgid ""
367
  "Delete clients and referers older than %s days to reduce the size of the "
368
  "counter table."
369
  msgstr ""
370
 
371
- #: counter-options.php:669
372
  msgid "Delete clients and referers"
373
  msgstr ""
374
 
375
- #: counter-options.php:678 counter-options.php:710
376
  msgid "Collect old data"
377
  msgstr ""
378
 
379
- #: counter-options.php:685
380
  msgid ""
381
  "You can collect old data and clean up the counter table.<br/>Reads and "
382
  "visitors will be saved per month, per country and per post.<br/>Clients and "
383
  "referrers will deleted."
384
  msgstr ""
385
 
386
- #: counter-options.php:690
387
  msgid "Currently your collection contains data until %s."
388
  msgstr ""
389
 
390
- #: counter-options.php:694
391
  msgid "Normally new data will be added to the collection."
392
  msgstr ""
393
 
394
- #: counter-options.php:700
395
  msgid ""
396
  "Delete old collection and create a new one which contains only the data "
397
  "currently in counter table."
398
  msgstr ""
399
 
400
- #: counter-options.php:701
401
  msgid "All collected data until %s will deleted."
402
  msgstr ""
403
 
404
- #: counter-options.php:706
405
  msgid "Keep entries of last %s full months + current month in counter table."
406
  msgstr ""
407
 
408
- #: counter-options.php:723
409
  msgid "GeoIP - Countries"
410
  msgstr ""
411
 
412
- #: counter-options.php:726
413
  msgid ""
414
  "You can get the country data for all entries in database by checking the IP "
415
  "adress against the GeoIP database. This can take a while!"
416
  msgstr ""
417
 
418
- #: counter-options.php:732
419
  msgid "Update old counter data"
420
  msgstr ""
421
 
422
- #: counter-options.php:739
423
  msgid "Download a new version of GeoIP.dat file."
424
  msgstr ""
425
 
426
- #: counter-options.php:744
427
  msgid "Update GeoIP database"
428
  msgstr ""
429
 
430
- #: counter-options.php:749
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
431
  msgid "More informations about GeoIP"
432
  msgstr ""
433
 
434
- #: counter-options.php:757
435
  msgid "ReActivation"
436
  msgstr ""
437
 
438
- #: counter-options.php:760
439
  msgid ""
440
  "Here you can start the installation functions manually.<br/>Same as "
441
  "deactivate and reactivate the plugin."
442
  msgstr ""
443
 
444
- #: counter-options.php:765
445
  msgid "ReActivate the plugin"
446
  msgstr ""
447
 
448
- #: counter-options.php:773 counter-options.php:783
449
  msgid "Reset the counter"
450
  msgstr ""
451
 
452
- #: counter-options.php:776
453
  msgid ""
454
  "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup "
455
  "if you need the current data!"
456
  msgstr ""
457
 
458
- #: counter-options.php:782 counter-options.php:805
459
  msgid "Yes"
460
  msgstr ""
461
 
462
- #: counter-options.php:795
463
  msgid ""
464
  "If \"Count per Day\" only disabled the tables in the database will be "
465
  "preserved."
466
  msgstr ""
467
 
468
- #: counter-options.php:796
469
  msgid "Here you can delete the tables and disable \"Count per Day\"."
470
  msgstr ""
471
 
472
- #: counter-options.php:799
473
  msgid "WARNING"
474
  msgstr ""
475
 
476
- #: counter-options.php:800
477
  msgid "These tables (with ALL counter data) will be deleted."
478
  msgstr ""
479
 
480
- #: counter-options.php:802
481
  msgid "If \"Count per Day\" re-installed, the counter starts at 0."
482
  msgstr ""
483
 
484
- #: counter-options.php:806
485
  msgid "You are sure to disable Count per Day and delete all data?"
486
  msgstr ""
487
 
488
- #: counter-options.php:814
489
  msgid "Support"
490
  msgstr ""
491
 
492
- #: counter-options.php:831
493
  msgid "Counter"
494
  msgstr ""
495
 
496
- #: counter-options.php:835
497
  msgid "Online time"
498
  msgstr ""
499
 
500
- #: counter-options.php:836
501
  msgid ""
502
  "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
503
  msgstr ""
504
 
505
- #: counter-options.php:839
506
  msgid "Logged on Users"
507
  msgstr ""
508
 
509
- #: counter-options.php:841
510
  msgid "count too"
511
  msgstr ""
512
 
513
- #: counter-options.php:842
514
  msgid "until User Level"
515
  msgstr ""
516
 
517
- #: counter-options.php:853
518
  msgid "Auto counter"
519
  msgstr ""
520
 
521
- #: counter-options.php:854
522
  msgid ""
523
  "Counts automatically single-posts and pages, no changes on template needed."
524
  msgstr ""
525
 
526
- #: counter-options.php:857
527
  msgid "Bots to ignore"
528
  msgstr ""
529
 
530
- #: counter-options.php:861
531
  msgid "Exclude Countries"
532
  msgstr ""
533
 
534
- #: counter-options.php:864
535
  msgid ""
536
  "Do not count visitors from these countries. Use the country code (de, us, "
537
  "cn,...) Leave empty to count them all."
538
  msgstr ""
539
 
540
- #: counter-options.php:868
541
  msgid "Anonymous IP"
542
  msgstr ""
543
 
544
- #: counter-options.php:872
545
  msgid "Cache"
546
  msgstr ""
547
 
548
- #: counter-options.php:873
549
  msgid "I use a cache plugin. Count these visits with ajax."
550
  msgstr ""
551
 
552
- #: counter-options.php:876
553
  msgid "Clients and referrers"
554
  msgstr ""
555
 
556
- #: counter-options.php:879
557
  msgid ""
558
  "Save and show clients and referrers.<br />Needs a lot of space in the "
559
  "database but gives you more detailed informations of your visitors."
560
  msgstr ""
561
 
562
- #: counter-options.php:881
563
  msgid "Save URL only, no query string."
564
  msgstr ""
565
 
566
- #: counter-options.php:884
567
  msgid "Limit the length to reduce database size. (max. 500 chars)"
568
  msgstr ""
569
 
570
- #: counter-options.php:888
571
  msgid "Post types"
572
  msgstr ""
573
 
574
- #: counter-options.php:891
575
  msgid "Only count these post types. Leave empty to count them all."
576
  msgstr ""
577
 
578
- #: counter-options.php:892
579
  msgid "Current post types: %s"
580
  msgstr ""
581
 
582
- #: counter-options.php:902
583
  msgid "Dashboard"
584
  msgstr ""
585
 
586
- #: counter-options.php:918
587
  msgid "Who can see it"
588
  msgstr ""
589
 
590
- #: counter-options.php:927
591
  msgid "custom"
592
  msgstr ""
593
 
594
- #: counter-options.php:929
595
  msgid "and higher are allowed to see the statistics page."
596
  msgstr ""
597
 
598
- #: counter-options.php:931
599
  msgid "Set the %s capability %s a user need:"
600
  msgstr ""
601
 
602
- #: counter-options.php:938 counter-options.php:942
603
  msgid "How many posts do you want to see on dashboard page?"
604
  msgstr ""
605
 
606
- #: counter-options.php:941
607
  msgid "Latest Counts - Posts"
608
  msgstr ""
609
 
610
- #: counter-options.php:945
611
  msgid "Latest Counts - Days"
612
  msgstr ""
613
 
614
- #: counter-options.php:946 counter-options.php:950 counter-options.php:972
615
  msgid "How many days do you want look back?"
616
  msgstr ""
617
 
618
- #: counter-options.php:949
619
  msgid "Chart - Days"
620
  msgstr ""
621
 
622
- #: counter-options.php:953
623
  msgid "Chart - Height"
624
  msgstr ""
625
 
626
- #: counter-options.php:954
627
  msgid "Height of the biggest bar"
628
  msgstr ""
629
 
630
- #: counter-options.php:958
631
  msgid "Countries"
632
  msgstr ""
633
 
634
- #: counter-options.php:959
635
  msgid "How many countries do you want to see on dashboard page?"
636
  msgstr ""
637
 
638
- #: counter-options.php:964
639
  msgid "Substring of the user agent, separated by comma"
640
  msgstr ""
641
 
642
- #: counter-options.php:967
643
  msgid "Referrers - Entries"
644
  msgstr ""
645
 
646
- #: counter-options.php:968
647
  msgid "How many referrers do you want to see on dashboard page?"
648
  msgstr ""
649
 
650
- #: counter-options.php:971
651
  msgid "Referrers - Days"
652
  msgstr ""
653
 
654
- #: counter-options.php:975
655
  msgid "Local URLs"
656
  msgstr ""
657
 
658
- #: counter-options.php:976
659
  msgid "Show local referrers too."
660
  msgstr ""
661
 
662
- #: counter-options.php:983
663
  msgid "Posts"
664
  msgstr ""
665
 
666
- #: counter-options.php:983
667
  msgid "Pages"
668
  msgstr ""
669
 
670
- #: counter-options.php:986
671
  msgid "Show in lists"
672
  msgstr ""
673
 
674
- #: counter-options.php:987
675
  msgid "Show \"Reads per Post\" in a new column in post management views."
676
  msgstr ""
677
 
678
- #: counter-options.php:994
679
  msgid "Start Values"
680
  msgstr ""
681
 
682
- #: counter-options.php:998
683
  msgid "Here you can change the date of first count and add a start count."
684
  msgstr ""
685
 
686
- #: counter-options.php:1002
687
  msgid "Start date"
688
  msgstr ""
689
 
690
- #: counter-options.php:1003
691
  msgid "Your old Counter starts at?"
692
  msgstr ""
693
 
694
- #: counter-options.php:1006 counter-options.php:1010
695
  msgid "Start count"
696
  msgstr ""
697
 
698
- #: counter-options.php:1007
699
  msgid "Add this value to \"Total visitors\"."
700
  msgstr ""
701
 
702
- #: counter-options.php:1011
703
  msgid "Add this value to \"Total reads\"."
704
  msgstr ""
705
 
706
- #: counter-options.php:1018
707
  msgid "Stylesheet"
708
  msgstr ""
709
 
710
- #: counter-options.php:1021
711
  msgid "NO Stylesheet in Frontend"
712
  msgstr ""
713
 
714
- #: counter-options.php:1022
715
  msgid "Do not load the stylesheet \"counter.css\" in frontend."
716
  msgstr ""
717
 
718
- #: counter-options.php:1032
719
  msgid "Entries per pass"
720
  msgstr ""
721
 
722
- #: counter-options.php:1035
723
  msgid "How many entries should be saved per pass? Default: 10000"
724
  msgstr ""
725
 
726
- #: counter-options.php:1040
727
  msgid ""
728
  "If your PHP memory limit less then 50 MB and you get a white page or error "
729
  "messages try a smaller value."
730
  msgstr ""
731
 
732
- #: counter-options.php:1048
733
  msgid "Debug mode"
734
  msgstr ""
735
 
736
- #: counter-options.php:1050
737
  msgid "Show debug informations at the bottom of all pages."
738
  msgstr ""
739
 
740
- #: counter-options.php:1055
741
  msgid "Update options"
742
  msgstr ""
743
 
744
- #: counter.php:236 counter.php:1412
745
  msgid "Total reads"
746
  msgstr ""
747
 
748
- #: counter.php:237 counter.php:1413
749
  msgid "Reads today"
750
  msgstr ""
751
 
752
- #: counter.php:238 counter.php:1414
753
  msgid "Reads yesterday"
754
  msgstr ""
755
 
756
- #: counter.php:239 counter.php:1415
757
  msgid "Reads last week"
758
  msgstr ""
759
 
760
- #: counter.php:242 counter.php:1423
761
  msgid "Visitors currently online"
762
  msgstr ""
763
 
764
- #: counter.php:243 counter.php:1418
765
  msgid "Visitors today"
766
  msgstr ""
767
 
768
- #: counter.php:244 counter.php:1419
769
  msgid "Visitors yesterday"
770
  msgstr ""
771
 
772
- #: counter.php:245 counter.php:1420
773
  msgid "Visitors last week"
774
  msgstr ""
775
 
776
- #: counter.php:246 counter.php:1048
777
  msgid "Visitors"
778
  msgstr ""
779
 
780
- #: counter.php:248
781
  msgid "Since"
782
  msgstr ""
783
 
784
- #: counter.php:249 counter.php:250
785
  msgid "Most visited day"
786
  msgstr ""
787
 
788
- #: counter.php:347
789
  msgid "Reads per day"
790
  msgstr ""
791
 
792
- #: counter.php:438 counter.php:1254
793
  msgid "Map"
794
  msgstr ""
795
 
796
- #: counter.php:776
797
  msgid "The %s most visited posts in last %s days:"
798
  msgstr ""
799
 
800
- #: counter.php:893
801
  msgid "Show"
802
  msgstr ""
803
 
804
- #: counter.php:895 notes.php:55 notes.php:89
805
  msgid "Notes"
806
  msgstr ""
807
 
808
- #: counter.php:963
809
  msgid "Other"
810
  msgstr ""
811
 
812
- #: counter.php:974 counter.php:1424
813
  msgid "Counter starts on"
814
  msgstr ""
815
 
816
- #: counter.php:994
817
  msgid "The %s referrers in last %s days:"
818
  msgstr ""
819
 
820
- #: counter.php:1135
821
  msgid "Edit Post"
822
  msgstr ""
823
 
824
- #: counter.php:1144
825
  msgid "Category"
826
  msgstr ""
827
 
828
- #: counter.php:1147
829
  msgid "Tag"
830
  msgstr ""
831
 
832
- #: counter.php:1150
833
  msgid "Front page"
834
  msgstr ""
835
 
836
- #: counter.php:1198
837
  msgid "The %s most searched strings:"
838
  msgstr ""
839
 
840
- #: counter.php:1207
841
  msgid "The search strings of the last %s days:"
842
  msgstr ""
843
 
844
- #: counter.php:1411
845
  msgid "This post"
846
  msgstr ""
847
 
848
- #: counter.php:1436
849
  msgid "Title"
850
  msgstr ""
851
 
852
- #: counter.php:1455
853
  msgid "drag and drop to sort"
854
  msgstr ""
855
 
856
- #: counter.php:1507 counter.php:1539
857
  msgid "Popular Posts"
858
  msgstr ""
859
 
860
- #: counter.php:1509
861
  msgid "List of Popular Posts"
862
  msgstr ""
863
 
864
- #: counter.php:1547
865
  msgid "Title:"
866
  msgstr ""
867
 
868
- #: counter.php:1551
869
  msgid "Days:"
870
  msgstr ""
871
 
872
- #: counter.php:1555
873
  msgid "Limit:"
874
  msgstr ""
875
 
876
- #: counter.php:1559
877
  msgid "Show header:"
878
  msgstr ""
879
 
880
- #: counter.php:1563
881
  msgid "Show counters:"
882
  msgstr ""
883
 
884
- #: geoip/geoip.php:117
885
  msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
886
  msgstr ""
887
 
888
- #: geoip/geoip.php:142
889
  msgid "New GeoIP database installed."
890
  msgstr ""
891
 
892
- #: geoip/geoip.php:144
893
  msgid ""
894
  "Sorry, an error occurred. Try again or check the access rights of directory "
895
- "\"geoip\" is 777."
896
  msgstr ""
897
 
898
- #: massbots.php:63 userperspan.php:75
899
  msgid "Front page displays"
900
  msgstr ""
901
 
902
- #: notes.php:90
903
  msgid "Action"
904
  msgstr ""
905
 
906
- #: notes.php:95
907
  msgid "add"
908
  msgstr ""
909
 
910
- #: notes.php:111
911
  msgid "save"
912
  msgstr ""
913
 
914
- #: notes.php:112
915
  msgid "delete"
916
  msgstr ""
917
 
918
- #: notes.php:123
919
  msgid "edit"
920
  msgstr ""
921
 
922
- #: userperspan.php:50
923
  msgid "Start"
924
  msgstr ""
925
 
926
- #: userperspan.php:52
927
  msgid "End"
928
  msgstr ""
929
 
930
- #: userperspan.php:54
931
  msgid "PostID"
932
  msgstr ""
933
 
934
- #: userperspan.php:62
935
  msgid "no data found"
936
  msgstr ""
937
 
1
+ # Copyright (C) 2016 Count Per Day
2
  # This file is distributed under the same license as the Count Per Day package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Count Per Day 3.5\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/count-per-day\n"
7
+ "POT-Creation-Date: 2016-04-21 10:08:39+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: counter-core.php:252
16
  msgid "\"Count per Day\" updated to version %s."
17
  msgstr ""
18
 
19
+ #: counter-core.php:253
20
+ msgid "Please check the %s section!"
21
+ msgstr ""
22
+
23
+ #: counter-core.php:660 counter-options.php:437
24
  msgid "Settings"
25
  msgstr ""
26
 
27
+ #: counter-core.php:762
28
  msgid "Time for Count per Day: <code>%s</code>."
29
  msgstr ""
30
 
31
+ #: counter-core.php:763
32
  msgid "Bug? Problem? Question? Hint? Praise?"
33
  msgstr ""
34
 
35
+ #: counter-core.php:764
36
  msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
37
  msgstr ""
38
 
39
+ #: counter-core.php:765
40
  msgid "License"
41
  msgstr ""
42
 
43
+ #: counter-core.php:797 counter.php:248 counter.php:1231 counter.php:1412
44
  msgid "Total visitors"
45
  msgstr ""
46
 
47
+ #: counter-core.php:798
48
  msgid "Visitors online"
49
  msgstr ""
50
 
51
+ #: counter-core.php:799 counter.php:1416
52
  msgid "Visitors per month"
53
  msgstr ""
54
 
55
+ #: counter-core.php:800 counter.php:1411
56
  msgid "Reads per month"
57
  msgstr ""
58
 
59
+ #: counter-core.php:801 counter-options.php:975
60
  msgid "Visitors per post"
61
  msgstr ""
62
 
63
+ #: counter-core.php:802
64
  msgid "Latest Counts"
65
  msgstr ""
66
 
67
+ #: counter-core.php:803 counter.php:254 counter.php:355 counter.php:1233
68
+ #: counter.php:1417 userperspan.php:42
69
  msgid "Visitors per day"
70
  msgstr ""
71
 
72
+ #: counter-core.php:804 counter-options.php:1005 counter-options.php:1009
73
  msgid "Search strings"
74
  msgstr ""
75
 
76
+ #: counter-core.php:805
77
  msgid "Plugin"
78
  msgstr ""
79
 
80
+ #: counter-core.php:808 counter-options.php:1001
81
  msgid "Browsers"
82
  msgstr ""
83
 
84
+ #: counter-core.php:809
85
  msgid "Referrer"
86
  msgstr ""
87
 
88
+ #: counter-core.php:813
89
  msgid "Reads per Country"
90
  msgstr ""
91
 
92
+ #: counter-core.php:814
93
  msgid "Visitors per Country"
94
  msgstr ""
95
 
96
+ #: counter-core.php:829 counter.php:1334
97
  msgid "Statistics"
98
  msgstr ""
99
 
100
+ #: counter-core.php:1006
101
  msgid "Export failed! Cannot open file."
102
  msgstr ""
103
 
104
+ #: counter-core.php:1054
105
  msgid "Download the export file:"
106
  msgstr ""
107
 
108
+ #: counter-core.php:1082
109
  msgid "Backup failed! Cannot open file"
110
  msgstr ""
111
 
112
+ #: counter-core.php:1109
113
  msgid "Backup of %s entries in progress. Every point comprises %s entries."
114
  msgstr ""
115
 
116
+ #: counter-core.php:1196
117
  msgid "Your can download the backup files here and now."
118
  msgstr ""
119
 
120
+ #: counter-core.php:1200 counter-core.php:1208
121
  msgid "Backup of counter table saved in %s."
122
  msgstr ""
123
 
124
+ #: counter-core.php:1202 counter-core.php:1210
125
  msgid "Backup of counter options and collection saved in %s."
126
  msgstr ""
127
 
128
+ #: counter-core.php:1266
129
  msgid "Error while reading backup file!"
130
  msgstr ""
131
 
132
+ #: counter-core.php:1270
133
  msgid "The backup was added to counter table %s."
134
  msgstr ""
135
 
136
+ #: counter-core.php:1272
137
  msgid "The counter table %s was restored from backup."
138
  msgstr ""
139
 
140
+ #: counter-core.php:1289
141
  msgid "Options restored from backup."
142
  msgstr ""
143
 
144
+ #: counter-core.php:1546 counter-options.php:917 counter.php:247
145
+ #: counter.php:1039 map/map.php:54
146
  msgid "Reads"
147
  msgstr ""
148
 
149
+ #: counter-core.php:1587
150
+ msgid "GeoIP Addon installed."
151
+ msgstr ""
152
+
153
+ #: counter-core.php:1589
154
+ msgid ""
155
+ "Sorry, an error occurred. Load the file from %s and copy it to wp-content/"
156
+ "count-per-day-geoip/ directory."
157
+ msgstr ""
158
+
159
  #: counter-options.php:54
160
  msgid "Options updated"
161
  msgstr ""
168
  msgid "update next"
169
  msgstr ""
170
 
171
+ #: counter-options.php:127
172
  msgid "Mass Bots cleaned. %s counts deleted."
173
  msgstr ""
174
 
175
+ #: counter-options.php:139
176
  msgid "Database cleaned. %s rows deleted."
177
  msgstr ""
178
 
179
+ #: counter-options.php:155
180
  msgid "Counter reseted."
181
  msgstr ""
182
 
183
+ #: counter-options.php:160 counter-options.php:844
184
  msgid "UNINSTALL Count per Day"
185
  msgstr ""
186
 
187
+ #: counter-options.php:165 counter-options.php:166 counter-options.php:167
188
  msgid "Table %s deleted"
189
  msgstr ""
190
 
191
+ #: counter-options.php:168
192
  msgid "Options deleted"
193
  msgstr ""
194
 
195
+ #: counter-options.php:201
196
  msgid "Collection in progress..."
197
  msgstr ""
198
 
199
+ #: counter-options.php:295
200
  msgid "Get Visitors per Post..."
201
  msgstr ""
202
 
203
+ #: counter-options.php:316
204
  msgid "Deleting old data..."
205
  msgstr ""
206
 
207
+ #: counter-options.php:340
208
  msgid ""
209
  "Counter entries until %s collected and counter table %s optimized (size "
210
  "before = %s &gt; size after = %s)."
211
  msgstr ""
212
 
213
+ #: counter-options.php:349
214
  msgid "Installation of \"Count per Day\" checked"
215
  msgstr ""
216
 
217
+ #: counter-options.php:364
218
  msgid "Old search strings deleted"
219
  msgstr ""
220
 
221
+ #: counter-options.php:379
222
  msgid "Clients and referers deleted"
223
  msgstr ""
224
 
225
+ #: counter-options.php:410 counter-options.php:830
226
  msgid "Uninstall"
227
  msgstr ""
228
 
229
+ #: counter-options.php:411
230
  msgid "Click here"
231
  msgstr ""
232
 
233
+ #: counter-options.php:411
234
  msgid "to finish the uninstall and to deactivate \"Count per Day\"."
235
  msgstr ""
236
 
237
+ #: counter-options.php:436
238
  msgid "Tools"
239
  msgstr ""
240
 
241
+ #: counter-options.php:457 massbots.php:42
242
  msgid "Mass Bots"
243
  msgstr ""
244
 
245
+ #: counter-options.php:461
246
  msgid "Show all IPs with more than %s page views per day"
247
  msgstr ""
248
 
249
+ #: counter-options.php:462 counter-options.php:526 notes.php:80
250
+ #: userperspan.php:52
251
  msgid "show"
252
  msgstr ""
253
 
254
+ #: counter-options.php:470 counter-options.php:534
255
  msgid "IP"
256
  msgstr ""
257
 
258
+ #: counter-options.php:471 counter-options.php:535 notes.php:84
259
  msgid "Date"
260
  msgstr ""
261
 
262
+ #: counter-options.php:472 counter-options.php:536
263
  msgid "Client"
264
  msgstr ""
265
 
266
+ #: counter-options.php:473 counter-options.php:537
267
  msgid "Views"
268
  msgstr ""
269
 
270
+ #: counter-options.php:488 counter-options.php:504 counter-options.php:551
271
  msgid "Delete these %s counts"
272
  msgstr ""
273
 
274
+ #: counter-options.php:521
275
  msgid "Most Industrious Visitors"
276
  msgstr ""
277
 
278
+ #: counter-options.php:525
279
  msgid "Show the %s most industrious visitors of the last %s days"
280
  msgstr ""
281
 
282
+ #: counter-options.php:572
283
  msgid "Export"
284
  msgstr ""
285
 
286
+ #: counter-options.php:576
287
  msgid "Export the last %s days as CSV-File"
288
  msgstr ""
289
 
290
+ #: counter-options.php:580
291
  msgid "Export entries"
292
  msgstr ""
293
 
294
+ #: counter-options.php:588 counter-options.php:1067
295
  msgid "Backup"
296
  msgstr ""
297
 
298
+ #: counter-options.php:592
299
  msgid ""
300
  "Create a backup of the counter table %s in your wp-content directory (if "
301
  "writable)."
302
  msgstr ""
303
 
304
+ #: counter-options.php:595
305
  msgid "Download only"
306
  msgstr ""
307
 
308
+ #: counter-options.php:599
309
  msgid "Backup the database"
310
  msgstr ""
311
 
312
+ #: counter-options.php:627
313
  msgid "Settings and collections"
314
  msgstr ""
315
 
316
+ #: counter-options.php:632
317
  msgid "Counter table %s"
318
  msgstr ""
319
 
320
+ #: counter-options.php:639
321
  msgid "Add data from the backup file %s to existing counter table?"
322
  msgstr ""
323
 
324
+ #: counter-options.php:639
325
  msgid "Add"
326
  msgstr ""
327
 
328
+ #: counter-options.php:643
329
  msgid "Restore data from the backup file %s ?"
330
  msgstr ""
331
 
332
+ #: counter-options.php:643
333
  msgid "Restore"
334
  msgstr ""
335
 
336
+ #: counter-options.php:645
337
  msgid "Delete"
338
  msgstr ""
339
 
340
+ #: counter-options.php:646
341
  msgid "Delete the backup file %s ?"
342
  msgstr ""
343
 
344
+ #: counter-options.php:652
345
  msgid "add backup to current counter table"
346
  msgstr ""
347
 
348
+ #: counter-options.php:653
349
  msgid "replace current counter table with with backup"
350
  msgstr ""
351
 
352
+ #: counter-options.php:654
353
  msgid "delete backup file"
354
  msgstr ""
355
 
356
+ #: counter-options.php:665 counter-options.php:673
357
  msgid "Clean the database"
358
  msgstr ""
359
 
360
+ #: counter-options.php:669
361
  msgid ""
362
  "You can clean the counter table by delete the \"spam data\".<br />If you add "
363
  "new bots above the old \"spam data\" keeps in the database.<br />Here you "
364
  "can run the bot filter again and delete the visits of the bots."
365
  msgstr ""
366
 
367
+ #: counter-options.php:679
368
  msgid "Delete search strings older than %s days."
369
  msgstr ""
370
 
371
+ #: counter-options.php:683
372
  msgid "Delete search strings"
373
  msgstr ""
374
 
375
+ #: counter-options.php:689 counter-options.php:708
376
  msgid "Current size of your counter table %s is %s."
377
  msgstr ""
378
 
379
+ #: counter-options.php:690
380
  msgid ""
381
  "Delete clients and referers older than %s days to reduce the size of the "
382
  "counter table."
383
  msgstr ""
384
 
385
+ #: counter-options.php:694
386
  msgid "Delete clients and referers"
387
  msgstr ""
388
 
389
+ #: counter-options.php:703 counter-options.php:735
390
  msgid "Collect old data"
391
  msgstr ""
392
 
393
+ #: counter-options.php:710
394
  msgid ""
395
  "You can collect old data and clean up the counter table.<br/>Reads and "
396
  "visitors will be saved per month, per country and per post.<br/>Clients and "
397
  "referrers will deleted."
398
  msgstr ""
399
 
400
+ #: counter-options.php:715
401
  msgid "Currently your collection contains data until %s."
402
  msgstr ""
403
 
404
+ #: counter-options.php:719
405
  msgid "Normally new data will be added to the collection."
406
  msgstr ""
407
 
408
+ #: counter-options.php:725
409
  msgid ""
410
  "Delete old collection and create a new one which contains only the data "
411
  "currently in counter table."
412
  msgstr ""
413
 
414
+ #: counter-options.php:726
415
  msgid "All collected data until %s will deleted."
416
  msgstr ""
417
 
418
+ #: counter-options.php:731
419
  msgid "Keep entries of last %s full months + current month in counter table."
420
  msgstr ""
421
 
422
+ #: counter-options.php:748
423
  msgid "GeoIP - Countries"
424
  msgstr ""
425
 
426
+ #: counter-options.php:752
427
  msgid ""
428
  "You can get the country data for all entries in database by checking the IP "
429
  "adress against the GeoIP database. This can take a while!"
430
  msgstr ""
431
 
432
+ #: counter-options.php:757
433
  msgid "Update old counter data"
434
  msgstr ""
435
 
436
+ #: counter-options.php:764
437
  msgid "Download a new version of GeoIP.dat file."
438
  msgstr ""
439
 
440
+ #: counter-options.php:769
441
  msgid "Update GeoIP database"
442
  msgstr ""
443
 
444
+ #: counter-options.php:776
445
+ msgid ""
446
+ "To get country data by checking the IP addresses you need to install the "
447
+ "GeoIP Addon.<br>Because it is not under GPL I had to delete this function "
448
+ "from WordPress plugin repository."
449
+ msgstr ""
450
+
451
+ #: counter-options.php:777
452
+ msgid "The directory %s will be created."
453
+ msgstr ""
454
+
455
+ #: counter-options.php:782
456
+ msgid "Install GeoIP addon"
457
+ msgstr ""
458
+
459
+ #: counter-options.php:787
460
  msgid "More informations about GeoIP"
461
  msgstr ""
462
 
463
+ #: counter-options.php:795
464
  msgid "ReActivation"
465
  msgstr ""
466
 
467
+ #: counter-options.php:798
468
  msgid ""
469
  "Here you can start the installation functions manually.<br/>Same as "
470
  "deactivate and reactivate the plugin."
471
  msgstr ""
472
 
473
+ #: counter-options.php:803
474
  msgid "ReActivate the plugin"
475
  msgstr ""
476
 
477
+ #: counter-options.php:811 counter-options.php:821
478
  msgid "Reset the counter"
479
  msgstr ""
480
 
481
+ #: counter-options.php:814
482
  msgid ""
483
  "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup "
484
  "if you need the current data!"
485
  msgstr ""
486
 
487
+ #: counter-options.php:820 counter-options.php:843
488
  msgid "Yes"
489
  msgstr ""
490
 
491
+ #: counter-options.php:833
492
  msgid ""
493
  "If \"Count per Day\" only disabled the tables in the database will be "
494
  "preserved."
495
  msgstr ""
496
 
497
+ #: counter-options.php:834
498
  msgid "Here you can delete the tables and disable \"Count per Day\"."
499
  msgstr ""
500
 
501
+ #: counter-options.php:837
502
  msgid "WARNING"
503
  msgstr ""
504
 
505
+ #: counter-options.php:838
506
  msgid "These tables (with ALL counter data) will be deleted."
507
  msgstr ""
508
 
509
+ #: counter-options.php:840
510
  msgid "If \"Count per Day\" re-installed, the counter starts at 0."
511
  msgstr ""
512
 
513
+ #: counter-options.php:844
514
  msgid "You are sure to disable Count per Day and delete all data?"
515
  msgstr ""
516
 
517
+ #: counter-options.php:852
518
  msgid "Support"
519
  msgstr ""
520
 
521
+ #: counter-options.php:869
522
  msgid "Counter"
523
  msgstr ""
524
 
525
+ #: counter-options.php:873
526
  msgid "Online time"
527
  msgstr ""
528
 
529
+ #: counter-options.php:874
530
  msgid ""
531
  "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
532
  msgstr ""
533
 
534
+ #: counter-options.php:877
535
  msgid "Logged on Users"
536
  msgstr ""
537
 
538
+ #: counter-options.php:879
539
  msgid "count too"
540
  msgstr ""
541
 
542
+ #: counter-options.php:880
543
  msgid "until User Level"
544
  msgstr ""
545
 
546
+ #: counter-options.php:891
547
  msgid "Auto counter"
548
  msgstr ""
549
 
550
+ #: counter-options.php:892
551
  msgid ""
552
  "Counts automatically single-posts and pages, no changes on template needed."
553
  msgstr ""
554
 
555
+ #: counter-options.php:895
556
  msgid "Bots to ignore"
557
  msgstr ""
558
 
559
+ #: counter-options.php:899
560
  msgid "Exclude Countries"
561
  msgstr ""
562
 
563
+ #: counter-options.php:902
564
  msgid ""
565
  "Do not count visitors from these countries. Use the country code (de, us, "
566
  "cn,...) Leave empty to count them all."
567
  msgstr ""
568
 
569
+ #: counter-options.php:906
570
  msgid "Anonymous IP"
571
  msgstr ""
572
 
573
+ #: counter-options.php:910
574
  msgid "Cache"
575
  msgstr ""
576
 
577
+ #: counter-options.php:911
578
  msgid "I use a cache plugin. Count these visits with ajax."
579
  msgstr ""
580
 
581
+ #: counter-options.php:914
582
  msgid "Clients and referrers"
583
  msgstr ""
584
 
585
+ #: counter-options.php:917
586
  msgid ""
587
  "Save and show clients and referrers.<br />Needs a lot of space in the "
588
  "database but gives you more detailed informations of your visitors."
589
  msgstr ""
590
 
591
+ #: counter-options.php:919
592
  msgid "Save URL only, no query string."
593
  msgstr ""
594
 
595
+ #: counter-options.php:922
596
  msgid "Limit the length to reduce database size. (max. 500 chars)"
597
  msgstr ""
598
 
599
+ #: counter-options.php:926
600
  msgid "Post types"
601
  msgstr ""
602
 
603
+ #: counter-options.php:929
604
  msgid "Only count these post types. Leave empty to count them all."
605
  msgstr ""
606
 
607
+ #: counter-options.php:930
608
  msgid "Current post types: %s"
609
  msgstr ""
610
 
611
+ #: counter-options.php:940
612
  msgid "Dashboard"
613
  msgstr ""
614
 
615
+ #: counter-options.php:956
616
  msgid "Who can see it"
617
  msgstr ""
618
 
619
+ #: counter-options.php:965
620
  msgid "custom"
621
  msgstr ""
622
 
623
+ #: counter-options.php:967
624
  msgid "and higher are allowed to see the statistics page."
625
  msgstr ""
626
 
627
+ #: counter-options.php:969
628
  msgid "Set the %s capability %s a user need:"
629
  msgstr ""
630
 
631
+ #: counter-options.php:976 counter-options.php:980
632
  msgid "How many posts do you want to see on dashboard page?"
633
  msgstr ""
634
 
635
+ #: counter-options.php:979
636
  msgid "Latest Counts - Posts"
637
  msgstr ""
638
 
639
+ #: counter-options.php:983
640
  msgid "Latest Counts - Days"
641
  msgstr ""
642
 
643
+ #: counter-options.php:984 counter-options.php:988 counter-options.php:1010
644
  msgid "How many days do you want look back?"
645
  msgstr ""
646
 
647
+ #: counter-options.php:987
648
  msgid "Chart - Days"
649
  msgstr ""
650
 
651
+ #: counter-options.php:991
652
  msgid "Chart - Height"
653
  msgstr ""
654
 
655
+ #: counter-options.php:992
656
  msgid "Height of the biggest bar"
657
  msgstr ""
658
 
659
+ #: counter-options.php:996
660
  msgid "Countries"
661
  msgstr ""
662
 
663
+ #: counter-options.php:997
664
  msgid "How many countries do you want to see on dashboard page?"
665
  msgstr ""
666
 
667
+ #: counter-options.php:1002
668
  msgid "Substring of the user agent, separated by comma"
669
  msgstr ""
670
 
671
+ #: counter-options.php:1005
672
  msgid "Referrers - Entries"
673
  msgstr ""
674
 
675
+ #: counter-options.php:1006
676
  msgid "How many referrers do you want to see on dashboard page?"
677
  msgstr ""
678
 
679
+ #: counter-options.php:1009
680
  msgid "Referrers - Days"
681
  msgstr ""
682
 
683
+ #: counter-options.php:1013
684
  msgid "Local URLs"
685
  msgstr ""
686
 
687
+ #: counter-options.php:1014
688
  msgid "Show local referrers too."
689
  msgstr ""
690
 
691
+ #: counter-options.php:1021
692
  msgid "Posts"
693
  msgstr ""
694
 
695
+ #: counter-options.php:1021
696
  msgid "Pages"
697
  msgstr ""
698
 
699
+ #: counter-options.php:1024
700
  msgid "Show in lists"
701
  msgstr ""
702
 
703
+ #: counter-options.php:1025
704
  msgid "Show \"Reads per Post\" in a new column in post management views."
705
  msgstr ""
706
 
707
+ #: counter-options.php:1032
708
  msgid "Start Values"
709
  msgstr ""
710
 
711
+ #: counter-options.php:1036
712
  msgid "Here you can change the date of first count and add a start count."
713
  msgstr ""
714
 
715
+ #: counter-options.php:1040
716
  msgid "Start date"
717
  msgstr ""
718
 
719
+ #: counter-options.php:1041
720
  msgid "Your old Counter starts at?"
721
  msgstr ""
722
 
723
+ #: counter-options.php:1044 counter-options.php:1048
724
  msgid "Start count"
725
  msgstr ""
726
 
727
+ #: counter-options.php:1045
728
  msgid "Add this value to \"Total visitors\"."
729
  msgstr ""
730
 
731
+ #: counter-options.php:1049
732
  msgid "Add this value to \"Total reads\"."
733
  msgstr ""
734
 
735
+ #: counter-options.php:1056
736
  msgid "Stylesheet"
737
  msgstr ""
738
 
739
+ #: counter-options.php:1059
740
  msgid "NO Stylesheet in Frontend"
741
  msgstr ""
742
 
743
+ #: counter-options.php:1060
744
  msgid "Do not load the stylesheet \"counter.css\" in frontend."
745
  msgstr ""
746
 
747
+ #: counter-options.php:1070
748
  msgid "Entries per pass"
749
  msgstr ""
750
 
751
+ #: counter-options.php:1073
752
  msgid "How many entries should be saved per pass? Default: 10000"
753
  msgstr ""
754
 
755
+ #: counter-options.php:1078
756
  msgid ""
757
  "If your PHP memory limit less then 50 MB and you get a white page or error "
758
  "messages try a smaller value."
759
  msgstr ""
760
 
761
+ #: counter-options.php:1086
762
  msgid "Debug mode"
763
  msgstr ""
764
 
765
+ #: counter-options.php:1088
766
  msgid "Show debug informations at the bottom of all pages."
767
  msgstr ""
768
 
769
+ #: counter-options.php:1093
770
  msgid "Update options"
771
  msgstr ""
772
 
773
+ #: counter.php:243 counter.php:1407
774
  msgid "Total reads"
775
  msgstr ""
776
 
777
+ #: counter.php:244 counter.php:1408
778
  msgid "Reads today"
779
  msgstr ""
780
 
781
+ #: counter.php:245 counter.php:1409
782
  msgid "Reads yesterday"
783
  msgstr ""
784
 
785
+ #: counter.php:246 counter.php:1410
786
  msgid "Reads last week"
787
  msgstr ""
788
 
789
+ #: counter.php:249 counter.php:1418
790
  msgid "Visitors currently online"
791
  msgstr ""
792
 
793
+ #: counter.php:250 counter.php:1413
794
  msgid "Visitors today"
795
  msgstr ""
796
 
797
+ #: counter.php:251 counter.php:1414
798
  msgid "Visitors yesterday"
799
  msgstr ""
800
 
801
+ #: counter.php:252 counter.php:1415
802
  msgid "Visitors last week"
803
  msgstr ""
804
 
805
+ #: counter.php:253 counter.php:1063
806
  msgid "Visitors"
807
  msgstr ""
808
 
809
+ #: counter.php:255
810
  msgid "Since"
811
  msgstr ""
812
 
813
+ #: counter.php:256 counter.php:257
814
  msgid "Most visited day"
815
  msgstr ""
816
 
817
+ #: counter.php:354
818
  msgid "Reads per day"
819
  msgstr ""
820
 
821
+ #: counter.php:449 counter.php:1262
822
  msgid "Map"
823
  msgstr ""
824
 
825
+ #: counter.php:787
826
  msgid "The %s most visited posts in last %s days:"
827
  msgstr ""
828
 
829
+ #: counter.php:904
830
  msgid "Show"
831
  msgstr ""
832
 
833
+ #: counter.php:906 notes.php:51 notes.php:85
834
  msgid "Notes"
835
  msgstr ""
836
 
837
+ #: counter.php:978
838
  msgid "Other"
839
  msgstr ""
840
 
841
+ #: counter.php:989 counter.php:1419
842
  msgid "Counter starts on"
843
  msgstr ""
844
 
845
+ #: counter.php:1009
846
  msgid "The %s referrers in last %s days:"
847
  msgstr ""
848
 
849
+ #: counter.php:1149
850
  msgid "Edit Post"
851
  msgstr ""
852
 
853
+ #: counter.php:1158
854
  msgid "Category"
855
  msgstr ""
856
 
857
+ #: counter.php:1161
858
  msgid "Tag"
859
  msgstr ""
860
 
861
+ #: counter.php:1164
862
  msgid "Front page"
863
  msgstr ""
864
 
865
+ #: counter.php:1206
866
  msgid "The %s most searched strings:"
867
  msgstr ""
868
 
869
+ #: counter.php:1215
870
  msgid "The search strings of the last %s days:"
871
  msgstr ""
872
 
873
+ #: counter.php:1406
874
  msgid "This post"
875
  msgstr ""
876
 
877
+ #: counter.php:1431
878
  msgid "Title"
879
  msgstr ""
880
 
881
+ #: counter.php:1450
882
  msgid "drag and drop to sort"
883
  msgstr ""
884
 
885
+ #: counter.php:1502 counter.php:1534
886
  msgid "Popular Posts"
887
  msgstr ""
888
 
889
+ #: counter.php:1504
890
  msgid "List of Popular Posts"
891
  msgstr ""
892
 
893
+ #: counter.php:1542
894
  msgid "Title:"
895
  msgstr ""
896
 
897
+ #: counter.php:1546
898
  msgid "Days:"
899
  msgstr ""
900
 
901
+ #: counter.php:1550
902
  msgid "Limit:"
903
  msgstr ""
904
 
905
+ #: counter.php:1554
906
  msgid "Show header:"
907
  msgstr ""
908
 
909
+ #: counter.php:1558
910
  msgid "Show counters:"
911
  msgstr ""
912
 
913
+ #: geoip.php:111
914
  msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
915
  msgstr ""
916
 
917
+ #: geoip.php:135
918
  msgid "New GeoIP database installed."
919
  msgstr ""
920
 
921
+ #: geoip.php:137
922
  msgid ""
923
  "Sorry, an error occurred. Try again or check the access rights of directory "
924
+ "\"wp-content/count-per-day-geoip\"."
925
  msgstr ""
926
 
927
+ #: massbots.php:59 userperspan.php:71
928
  msgid "Front page displays"
929
  msgstr ""
930
 
931
+ #: notes.php:86
932
  msgid "Action"
933
  msgstr ""
934
 
935
+ #: notes.php:91
936
  msgid "add"
937
  msgstr ""
938
 
939
+ #: notes.php:107
940
  msgid "save"
941
  msgstr ""
942
 
943
+ #: notes.php:108
944
  msgid "delete"
945
  msgstr ""
946
 
947
+ #: notes.php:119
948
  msgid "edit"
949
  msgstr ""
950
 
951
+ #: userperspan.php:46
952
  msgid "Start"
953
  msgstr ""
954
 
955
+ #: userperspan.php:48
956
  msgid "End"
957
  msgstr ""
958
 
959
+ #: userperspan.php:50
960
  msgid "PostID"
961
  msgstr ""
962
 
963
+ #: userperspan.php:58
964
  msgid "no data found"
965
  msgstr ""
966
 
map/map.php CHANGED
@@ -1,26 +1,27 @@
1
  <?php
 
 
 
2
  $what = (empty($_GET['map'])) ? 'reads' : strip_tags($_GET['map']);
3
- if ( !in_array($what, array('visitors','reads','online')) )
4
  die();
5
 
6
- if (!session_id()) session_start();
7
- $cpd_wp = (!empty($_SESSION['cpd_wp'])) ? $_SESSION['cpd_wp'] : '../../../../';
8
- require_once($cpd_wp.'wp-load.php');
9
- require_once($cpd_path.'/geoip/geoip.php');
10
- $gi = cpd_geoip_open($cpd_path.'/geoip/GeoIP.dat', GEOIP_STANDARD);
11
  $data = array('-' => 0);
12
  $what = (empty($_GET['map'])) ? 'reads' : strip_tags($_GET['map']);
13
 
14
  if ( $what == 'online' )
15
  {
 
16
  $oc = get_option('count_per_day_online', array());
 
17
  $vo = array();
18
  foreach ($oc as $ip => $x)
19
  {
20
  if ( strpos($ip,'.') !== false && strpos($ip,':') === false)
21
  // IPv4 -> IPv6
22
  $ip = '::'.$ip;
23
- $country = strtoupper(cpd_geoip_country_code_by_addr_v6($gi, $ip));
24
  $data[$country] = (isset($data[$country])) ? $data[$country] + 1 : 1;
25
  }
26
  }
@@ -37,13 +38,13 @@ else
37
  <head>
38
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
39
  <title>CountPerDay</title>
40
- <link rel="stylesheet" type="text/css" href="../counter.css" />
41
- <script src="ammap.js" type="text/javascript"></script>
42
- <script src="worldLow.js" type="text/javascript"></script>
43
  <script type="text/javascript">
44
  AmCharts.ready(function() {
45
  var map = new AmCharts.AmMap();
46
- map.pathToImages = "images/";
47
  map.addTitle("Your Visitors all over the World", 14);
48
  map.mouseWheelZoomEnabled = true;
49
  var c = "#38E";
1
  <?php
2
+ if (!defined('ABSPATH'))
3
+ exit;
4
+
5
  $what = (empty($_GET['map'])) ? 'reads' : strip_tags($_GET['map']);
6
+ if ( !$cpd_geoip || !in_array($what, array('visitors','reads','online')) )
7
  die();
8
 
9
+ $cpd_dir = $count_per_day->dir;
 
 
 
 
10
  $data = array('-' => 0);
11
  $what = (empty($_GET['map'])) ? 'reads' : strip_tags($_GET['map']);
12
 
13
  if ( $what == 'online' )
14
  {
15
+ require_once(WP_PLUGIN_DIR.'/count-per-day/geoip.php');
16
  $oc = get_option('count_per_day_online', array());
17
+ $gi = geoip_open($cpd_geoip_dir.'GeoIP.dat', GEOIP_STANDARD);
18
  $vo = array();
19
  foreach ($oc as $ip => $x)
20
  {
21
  if ( strpos($ip,'.') !== false && strpos($ip,':') === false)
22
  // IPv4 -> IPv6
23
  $ip = '::'.$ip;
24
+ $country = strtoupper(geoip_country_code_by_addr_v6($gi, $ip));
25
  $data[$country] = (isset($data[$country])) ? $data[$country] + 1 : 1;
26
  }
27
  }
38
  <head>
39
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
40
  <title>CountPerDay</title>
41
+ <link rel="stylesheet" type="text/css" href="<?php echo $cpd_dir ?>/counter.css" />
42
+ <script src="<?php echo $cpd_dir ?>/map/ammap.js" type="text/javascript"></script>
43
+ <script src="<?php echo $cpd_dir ?>/map/worldLow.js" type="text/javascript"></script>
44
  <script type="text/javascript">
45
  AmCharts.ready(function() {
46
  var map = new AmCharts.AmMap();
47
+ map.pathToImages = "<?php echo $cpd_dir ?>/map/images/";
48
  map.addTitle("Your Visitors all over the World", 14);
49
  map.mouseWheelZoomEnabled = true;
50
  var c = "#38E";
massbots.php CHANGED
@@ -1,7 +1,6 @@
1
  <?php
2
- if (!session_id()) session_start();
3
- $cpd_wp = (!empty($_SESSION['cpd_wp'])) ? $_SESSION['cpd_wp'] : '../../../';
4
- require_once($cpd_wp.'wp-load.php');
5
 
6
  // check user
7
  $o = get_option('count_per_day');
@@ -40,7 +39,7 @@ if ( isset($_GET['dmbip']) && isset($_GET['dmbdate']) )
40
  <head>
41
  <meta charset="UTF-8" />
42
  <title>Count per Day</title>
43
- <link rel="stylesheet" type="text/css" href="counter.css" />
44
  </head>
45
  <body class="cpd-thickbox">
46
  <h2><?php _e('Mass Bots', 'cpd') ?></h2>
1
  <?php
2
+ if (!defined('ABSPATH'))
3
+ exit;
 
4
 
5
  // check user
6
  $o = get_option('count_per_day');
39
  <head>
40
  <meta charset="UTF-8" />
41
  <title>Count per Day</title>
42
+ <link rel="stylesheet" type="text/css" href="<?php echo $count_per_day->dir ?>/counter.css" />
43
  </head>
44
  <body class="cpd-thickbox">
45
  <h2><?php _e('Mass Bots', 'cpd') ?></h2>
notes.php CHANGED
@@ -1,7 +1,6 @@
1
  <?php
2
- if (!session_id()) session_start();
3
- $cpd_wp = (!empty($_SESSION['cpd_wp'])) ? $_SESSION['cpd_wp'] : '../../../';
4
- require_once($cpd_wp.'wp-load.php');
5
 
6
  // check user
7
  $o = get_option('count_per_day');
@@ -49,7 +48,7 @@ update_option('count_per_day_notes', $n);
49
  <head>
50
  <meta charset="UTF-8" />
51
  <title>CountPerDay</title>
52
- <link rel="stylesheet" type="text/css" href="counter.css" />
53
  </head>
54
  <body class="cpd-thickbox">
55
  <h2><?php _e('Notes', 'cpd') ?></h2>
@@ -120,7 +119,7 @@ foreach ($n as $id => $v)
120
  <tr>
121
  <td><?php echo $v[0] ?></td>
122
  <td><?php echo $v[1] ?></td>
123
- <td><input type="image" src="img/cpd_pen.png" name="edit_<?php echo $id ?>" title="<?php _e('edit', 'cpd') ?>" style="width:auto;" /></td>
124
  </tr>
125
  <?php
126
  }
1
  <?php
2
+ if (!defined('ABSPATH'))
3
+ exit;
 
4
 
5
  // check user
6
  $o = get_option('count_per_day');
48
  <head>
49
  <meta charset="UTF-8" />
50
  <title>CountPerDay</title>
51
+ <link rel="stylesheet" type="text/css" href="<?php echo $count_per_day->dir ?>/counter.css" />
52
  </head>
53
  <body class="cpd-thickbox">
54
  <h2><?php _e('Notes', 'cpd') ?></h2>
119
  <tr>
120
  <td><?php echo $v[0] ?></td>
121
  <td><?php echo $v[1] ?></td>
122
+ <td><input type="image" src="<?php echo $count_per_day->dir ?>/img/cpd_pen.png" name="edit_<?php echo $id ?>" title="<?php _e('edit', 'cpd') ?>" style="width:auto;" /></td>
123
  </tr>
124
  <?php
125
  }
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: Tom Braider
3
  Tags: counter, count, posts, visits, reads, dashboard, widget, shortcode
4
  Requires at least: 3.0
5
- Tested up to: 4.3
6
- Stable tag: 3.4.1
7
  License: Postcardware :)
8
  Donate link: http://www.tomsdimension.de/postcards
9
 
@@ -30,7 +30,7 @@ Visit Counter, shows reads and visitors per page, visitors today, yesterday, las
30
  - Chinese - Siyuan Tang - http://mopbear.com
31
  - Finnish - Jani Alha - http://www.wysiwyg.fi
32
  - German - Tom - http://www.tomsdimension.de
33
- - Japanese - Juno Hayami - http://juno.main.jp/blog/
34
  - Persian - Mahmoud Zooroofchi - http://www.zooroofchi.ir
35
  - Portuguese - Beto Ribeiro - http://www.sevenarts.com.br
36
  - Russian - Ilya Pshenichny - http://iluhis.com
@@ -125,10 +125,9 @@ To use the shortcodes within a text widget you have to add 'add_filter("widget_t
125
  [CPD_POSTS_ON_DAY date="2010-10-06" limit="3"]
126
  - date (optional), format: year-month-day, default = today
127
  - limit (optional): max records to show, default = all
128
- [CPD_MAP width="500" height="340" what="reads" min=1]
129
  - width and height: size, default 500x340 px
130
  - what: map content - reads|visitors|online, default reads
131
- - min: 1 (disable title, legend and zoombar), default 0
132
  [CPD_SEARCHES days="14" limit="20"]
133
  - days (optional), show last x days
134
  - limit (optional): show x most searched strings
@@ -298,18 +297,27 @@ show( $before, $after, $show, $count, $page )'
298
 
299
  **GeoIP**
300
 
301
- * With GeoIP you can associate your visitors to an country using the ip address.
302
- * In the database a new column 'country' will be insert on plugin activation.
303
  * On options page you can update you current visits. This take a while! The Script checks 100 IP addresses at once an reload itself until less then 100 addresses left. Click the update button to check the rest.
304
  * If the rest remains greater than 0 the IP address is not in GeoIP database (accuracy 99.5%).
305
- * You can update the GeoIP database from time to time to get new IP data. This necessitates write rights to geoip directory (e.g. chmod 777).
306
- * If the automatically update don't work download <a href="http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz">GeoIPv6.dat.gz</a>, extract and rename it to GeoIP.dat and load it to the "geoip" directory.
307
  * More information about GeoIP on https://www.maxmind.com
308
 
309
 
310
 
311
  == Changelog ==
312
 
 
 
 
 
 
 
 
 
 
 
313
  = 3.4.1 =
314
  + Bugfix: Security fix backup download
315
 
2
  Contributors: Tom Braider
3
  Tags: counter, count, posts, visits, reads, dashboard, widget, shortcode
4
  Requires at least: 3.0
5
+ Tested up to: 4.6
6
+ Stable tag: 3.5.1
7
  License: Postcardware :)
8
  Donate link: http://www.tomsdimension.de/postcards
9
 
30
  - Chinese - Siyuan Tang - http://mopbear.com
31
  - Finnish - Jani Alha - http://www.wysiwyg.fi
32
  - German - Tom - http://www.tomsdimension.de
33
+ - Japanese - Juno Hayami - http://juno.main.jp/blog
34
  - Persian - Mahmoud Zooroofchi - http://www.zooroofchi.ir
35
  - Portuguese - Beto Ribeiro - http://www.sevenarts.com.br
36
  - Russian - Ilya Pshenichny - http://iluhis.com
125
  [CPD_POSTS_ON_DAY date="2010-10-06" limit="3"]
126
  - date (optional), format: year-month-day, default = today
127
  - limit (optional): max records to show, default = all
128
+ [CPD_MAP width="500" height="340" what="reads"]
129
  - width and height: size, default 500x340 px
130
  - what: map content - reads|visitors|online, default reads
 
131
  [CPD_SEARCHES days="14" limit="20"]
132
  - days (optional), show last x days
133
  - limit (optional): show x most searched strings
297
 
298
  **GeoIP**
299
 
300
+ * With GeoIP you can associate your visitors to an country using the IP address.
 
301
  * On options page you can update you current visits. This take a while! The Script checks 100 IP addresses at once an reload itself until less then 100 addresses left. Click the update button to check the rest.
302
  * If the rest remains greater than 0 the IP address is not in GeoIP database (accuracy 99.5%).
303
+ * You can update the GeoIP database from time to time to get new IP data. This necessitates write permissions to wp-content/count-per-day-geoip directory.
304
+ * If the automatically update don't work download <a href="http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz">GeoIPv6.dat.gz</a>, extract and rename it to GeoIP.dat and load it to the count-per-day-geoip directory.
305
  * More information about GeoIP on https://www.maxmind.com
306
 
307
 
308
 
309
  == Changelog ==
310
 
311
+ = 3.5.1 =
312
+ + back in WordPress plugin repository
313
+ + Bugfix: Worldmap shortcode
314
+
315
+ = 3.5 =
316
+ + New: PHP 7 compatibility (mysqli)
317
+ + New: GeoIP part is now available as addon (installation with 1 click, see the settings page), because WordPress hates non GPL code in its plugin repository (after several years...)
318
+ + Bugfix: possible daylight saving time problem in chart (hopefully)
319
+ + Bugfix: reset function now deletes also collections
320
+
321
  = 3.4.1 =
322
  + Bugfix: Security fix backup download
323
 
userperspan.php CHANGED
@@ -1,7 +1,6 @@
1
  <?php
2
- if (!session_id()) session_start();
3
- $cpd_wp = (!empty($_SESSION['cpd_wp'])) ? $_SESSION['cpd_wp'] : '../../../';
4
- require_once($cpd_wp.'wp-load.php');
5
 
6
  // check user
7
  $o = get_option('count_per_day');
@@ -15,7 +14,7 @@ if ( !current_user_can($can_see) )
15
 
16
  $cpd_datemin = ( !empty($_REQUEST['datemin']) ) ? wp_strip_all_tags($_REQUEST['datemin']) : date_i18n('Y-m-d', time() - 86400 * 14); // 14 days
17
  $cpd_datemax = ( !empty($_REQUEST['datemax']) ) ? wp_strip_all_tags($_REQUEST['datemax']) : date_i18n('Y-m-d');
18
- $cpd_page = ( isset($_REQUEST['page']) ) ? intval($_REQUEST['page']) : 0;
19
 
20
  $sql = $wpdb->prepare(
21
  "SELECT p.post_title,
@@ -39,7 +38,7 @@ $cpd_visits = $count_per_day->mysqlQuery('rows', $sql, 'getUserPerPostSpan '.__L
39
  <head>
40
  <meta charset="UTF-8" />
41
  <title>Count per Day</title>
42
- <link rel="stylesheet" type="text/css" href="counter.css" />
43
  </head>
44
  <body class="cpd-thickbox">
45
 
@@ -52,7 +51,7 @@ $cpd_visits = $count_per_day->mysqlQuery('rows', $sql, 'getUserPerPostSpan '.__L
52
  <?php _e('End', 'cpd'); ?>:
53
  <input type="text" name="datemax" value="<?php echo $cpd_datemax; ?>" size="10" />
54
  <?php _e('PostID', 'cpd'); ?>:
55
- <input type="text" name="page" value="<?php echo $cpd_page; ?>" size="5" />
56
  <input type="submit" value="<?php _e('show', 'cpd') ?>" />
57
  </p>
58
  </form>
1
  <?php
2
+ if (!defined('ABSPATH'))
3
+ exit;
 
4
 
5
  // check user
6
  $o = get_option('count_per_day');
14
 
15
  $cpd_datemin = ( !empty($_REQUEST['datemin']) ) ? wp_strip_all_tags($_REQUEST['datemin']) : date_i18n('Y-m-d', time() - 86400 * 14); // 14 days
16
  $cpd_datemax = ( !empty($_REQUEST['datemax']) ) ? wp_strip_all_tags($_REQUEST['datemax']) : date_i18n('Y-m-d');
17
+ $cpd_page = ( isset($_REQUEST['cpage']) ) ? intval($_REQUEST['cpage']) : 0;
18
 
19
  $sql = $wpdb->prepare(
20
  "SELECT p.post_title,
38
  <head>
39
  <meta charset="UTF-8" />
40
  <title>Count per Day</title>
41
+ <link rel="stylesheet" type="text/css" href="<?php echo $count_per_day->dir ?>/counter.css" />
42
  </head>
43
  <body class="cpd-thickbox">
44
 
51
  <?php _e('End', 'cpd'); ?>:
52
  <input type="text" name="datemax" value="<?php echo $cpd_datemax; ?>" size="10" />
53
  <?php _e('PostID', 'cpd'); ?>:
54
+ <input type="text" name="cpage" value="<?php echo $cpd_page; ?>" size="5" />
55
  <input type="submit" value="<?php _e('show', 'cpd') ?>" />
56
  </p>
57
  </form>