Count per Day - Version 2.16

Version Description

  • New: more modern charts (jQuery flot plugin)
  • New: widgets now sortable
  • New: GeoIP database included, non extra download after plugin update necessary
  • New: list "Visitors online" per country
  • New: option to limit the referrers list
  • New: option to not load stylesheet in frontend
  • New: function 'getMostVisitedPostIDs', can create a "related posts" list
  • Bugfix: GeoIP functions renamed, conflicts with other plugins
  • New Language: Greek, thanks to Essetai_Imar
Download this release

Release Info

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

Code changes from version 1.5 to 2.16

Files changed (61) hide show
  1. ajax.php +27 -0
  2. counter-options.php +443 -52
  3. counter-rtl.css +20 -0
  4. counter.css +345 -11
  5. counter.php +2135 -334
  6. geoip/GeoIP.dat +0 -0
  7. geoip/geoip.inc +502 -0
  8. geoip/geoip.php +139 -0
  9. img/cpd_blau.png +0 -0
  10. img/cpd_calendar.png +0 -0
  11. img/cpd_clients.png +0 -0
  12. img/cpd_flags.png +0 -0
  13. img/cpd_menu.gif +0 -0
  14. img/cpd_pen.png +0 -0
  15. img/cpd_rot.png +0 -0
  16. img/cpd_trans.png +0 -0
  17. js/excanvas.min.js +1 -0
  18. js/jquery.flot.min.js +1 -0
  19. locale/cpd-bg_BG.mo +0 -0
  20. locale/cpd-bg_BG.po +785 -0
  21. locale/cpd-da_DK.mo +0 -0
  22. locale/cpd-da_DK.po +785 -0
  23. locale/cpd-de_DE.mo +0 -0
  24. locale/cpd-de_DE.po +800 -0
  25. locale/cpd-el.mo +0 -0
  26. locale/cpd-el.po +786 -0
  27. locale/cpd-es_ES.mo +0 -0
  28. locale/cpd-es_ES.po +785 -0
  29. locale/cpd-fr_FR.mo +0 -0
  30. locale/cpd-fr_FR.po +784 -0
  31. locale/cpd-it_IT.mo +0 -0
  32. locale/cpd-it_IT.po +784 -0
  33. locale/cpd-nl_NL.mo +0 -0
  34. locale/cpd-nl_NL.po +784 -0
  35. locale/cpd-pl_PL.mo +0 -0
  36. locale/cpd-pl_PL.po +785 -0
  37. locale/cpd-pt_BR.mo +0 -0
  38. locale/cpd-pt_BR.po +785 -0
  39. locale/cpd-ru_RU.mo +0 -0
  40. locale/cpd-ru_RU.po +784 -0
  41. locale/cpd-sv_SE.mo +0 -0
  42. locale/cpd-sv_SE.po +784 -0
  43. locale/de_DE.mo +0 -0
  44. locale/de_DE.po +0 -177
  45. locale/it_IT.mo +0 -0
  46. locale/it_IT.po +0 -169
  47. locale/pt_BR.mo +0 -0
  48. locale/pt_BR.po +0 -175
  49. map/ammap.swf +0 -0
  50. map/data.xml.php +81 -0
  51. map/map.php +25 -0
  52. map/settings.xml.php +60 -0
  53. map/swfobject.js +8 -0
  54. map/world.swf +0 -0
  55. massbots.php +67 -0
  56. notes.php +125 -0
  57. readme.txt +353 -90
  58. screenshot-1.png +0 -0
  59. screenshot-2.png +0 -0
  60. screenshot-3.png +0 -0
  61. userperspan.php +105 -0
ajax.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( $_GET['f'] == 'count' )
3
+ {
4
+ if (!session_id()) session_start();
5
+ require_once($_SESSION['cpd_wp'].'wp-load.php');
6
+
7
+ $cpd_funcs = CountPerDay_Widget::getWidgetFuncs();
8
+ $page = intval($_GET['page']);
9
+ if ( is_numeric($page) )
10
+ {
11
+ $count_per_day->count( '', $page );
12
+ foreach ( $cpd_funcs as $f )
13
+ {
14
+ if ( ($f == 'show' && $page) || $f != 'show' )
15
+ {
16
+ echo $f.'===';
17
+ if ( $f == 'getUserPerDay' )
18
+ eval('echo $count_per_day->getUserPerDay('.$count_per_day->options['dashboard_last_days'].');');
19
+ else if ( $f == 'show' )
20
+ eval('echo $count_per_day->show("", "", false, false, '.$page.');');
21
+ else
22
+ eval('echo $count_per_day->'.$f.'();');
23
+ echo '|';
24
+ }
25
+ }
26
+ }
27
+ }
counter-options.php CHANGED
@@ -1,136 +1,527 @@
1
  <?php
2
  /**
3
  * Filename: counter-options.php
4
- * Count Per Day - Options and Uninstall
5
  */
6
 
7
- // Form auswerten
8
  if(!empty($_POST['do']))
9
  {
10
  switch($_POST['do'])
11
  {
12
  // update options
13
  case 'cpd_update' :
14
- update_option( 'cpd_onlinetime', $_POST['cpd_onlinetime'] );
15
- $u = empty( $_POST['cpd_user'] ) ? 0 : 1 ;
16
- update_option( 'cpd_user', $u );
17
- $a = empty( $_POST['cpd_autocount'] ) ? 0 : 1 ;
18
- update_option( 'cpd_autocount', $a );
19
- update_option( 'cpd_bots', $_POST['cpd_bots'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  echo '<div id="message" class="updated fade"><p>'.__('Options updated', 'cpd').'</p></div>';
21
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  // clean database
23
  case 'cpd_clean' :
24
- $rows = cpdCleanDB();
25
  echo '<div id="message" class="updated fade"><p>'.sprintf(__('Database cleaned. %s rows deleted.', 'cpd'), $rows).'</p></div>';
26
  break;
 
 
 
 
 
 
 
27
  // uninstall plugin
28
  case __('UNINSTALL Count per Day', 'cpd') :
29
  if(trim($_POST['uninstall_cpd_yes']) == 'yes')
30
  {
31
- $wpdb->query("DROP TABLE IF EXISTS ".CPD_C_TABLE.";");
32
- $wpdb->query("DROP TABLE IF EXISTS ".CPD_CO_TABLE.";");
33
- delete_option('cpd_cdb_version');
34
- delete_option('cpd_codb_version');
35
- delete_option('cpd_onlinetime');
36
- delete_option('cpd_user');
37
- delete_option('cpd_autocount');
38
- delete_option('cpd_bots');
39
  echo '<div id="message" class="updated fade"><p>';
40
  printf(__('Table %s deleted', 'cpd'), CPD_C_TABLE);
41
  echo '<br/>';
42
  printf(__('Table %s deleted', 'cpd'), CPD_CO_TABLE);
43
  echo '<br/>';
 
 
44
  echo __('Options deleted', 'cpd').'</p></div>';
45
  $mode = 'end-UNINSTALL';
46
  }
47
  break;
 
48
  default:
49
  break;
50
  }
51
  }
52
 
 
 
 
 
 
 
 
53
  switch($mode) {
54
- // Deaktivierung
55
  case 'end-UNINSTALL':
56
- $deactivate_url = 'plugins.php?action=deactivate&amp;plugin='.dirname(plugin_basename(__FILE__)).'/counter.php';
57
  if ( function_exists('wp_nonce_url') )
58
- $deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_'.dirname(plugin_basename(__FILE__)).'/counter.php');
59
  echo '<div class="wrap">';
60
  echo '<h2>'.__('Uninstall', 'cpd').' "Count per Day"</h2>';
61
  echo '<p><strong><a href="'.$deactivate_url.'">'.__('Click here', 'cpd').'</a> '.__('to finish the uninstall and to deactivate "Count per Day".', 'cpd').'</strong></p>';
62
  echo '</div>';
63
  break;
64
- // Seite anzeigen
65
  default:
 
 
 
 
 
 
 
 
 
 
66
  ?>
67
  <div class="wrap">
68
- <h2>Count per Day - <?php _e('Options', 'cpd') ?></h2>
69
-
 
 
 
 
 
70
  <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
 
 
 
 
 
 
71
  <table class="form-table">
72
  <tr>
73
  <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Online time', 'cpd') ?>:</th>
74
- <td><input class="code" type="text" name="cpd_onlinetime" size="3" value="<?php echo get_option('cpd_onlinetime'); ?>" /> <?php _e('Seconds for online counter. Used for "Visitors online" on dashboard page.', 'cpd') ?></td>
75
- </tr><tr>
76
- <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Loged on Users', 'cpd') ?>:</th>
77
- <td><input type="checkbox" name="cpd_user" id="cpd_user" <?php if(get_option('cpd_user')==1) echo 'checked="checked"'; ?> /> <label for="cpd_user"><?php _e('count too', 'cpd') ?></label></td>
78
- </tr><tr>
 
 
 
 
 
 
 
 
 
 
 
 
79
  <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Auto counter', 'cpd') ?>:</th>
80
- <td><input type="checkbox" name="cpd_autocount" id="cpd_autocount" <?php if(get_option('cpd_autocount')==1) echo 'checked="checked"'; ?> /> <label for="cpd_autocount"><?php _e('Counts automatically single-posts and pages, no changes on template needed.', 'cpd') ?></label></td>
81
- </tr><tr>
 
82
  <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Bots to ignore', 'cpd') ?>:</th>
83
- <td><textarea name="cpd_bots" cols="50" rows="10"><?php echo get_option('cpd_bots'); ?></textarea></td>
 
 
 
 
 
 
 
 
 
 
 
 
84
  </tr>
85
  </table>
86
- <p class="submit">
87
- <input type="hidden" name="do" value="cpd_update" />
88
- <input type="submit" name="update" value="<?php _e('Update options', 'cpd') ?>" class="button-primary" />
89
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  </form>
 
 
91
  </div>
92
 
 
 
 
 
93
 
94
- <!-- Cleaner -->
95
- <div class="wrap" style="margin-top: 50px;">
96
- <h2>Count per Day - <?php _e('Clean the database', 'cpd') ?></h2>
 
 
 
 
 
 
 
 
 
97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  <p>
99
- <?php _e('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.', 'cpd') ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  </p>
101
 
102
  <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
103
  <p class="submit">
104
- <input type="hidden" name="do" value="cpd_clean" />
105
- <input type="submit" name="clean" value="<?php _e('Clean the database', 'cpd') ?>" class="button" />
106
  </p>
107
  </form>
108
  </div>
109
-
110
 
111
  <!-- Uninstall -->
112
  <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
113
- <div class="wrap" style="margin-top: 100px;">
114
- <h2>Count per Day - <?php _e('Uninstall', 'cpd') ?></h2>
 
115
  <p>
116
- <b><?php _e('Since WP 2.7 you can delete the plugin directly after deactivation on the plugins page.', 'cpd') ?></b><br />
117
  <?php _e('If "Count per Day" only disabled the tables in the database will be preserved.', 'cpd') ?><br/>
118
  <?php _e('Here you can delete the tables and disable "Count per Day".', 'cpd') ?>
119
  </p>
120
- <p style="text-align: left; color: red">
121
  <strong><?php _e('WARNING', 'cpd') ?>:</strong><br />
122
  <?php _e('These tables (with ALL counter data) will be deleted.', 'cpd') ?><br />
123
- <b><?php echo CPD_C_TABLE.', '.CPD_CO_TABLE; ?></b><br />
124
  <?php _e('If "Count per Day" re-installed, the counter starts at 0.', 'cpd') ?>
125
  </p>
126
  <p>&nbsp;</p>
127
- <p class="submit" style="text-align: center;">
128
  <input type="checkbox" name="uninstall_cpd_yes" value="yes" />&nbsp;<?php _e('Yes', 'cpd'); ?><br /><br />
129
  <input type="submit" name="do" value="<?php _e('UNINSTALL Count per Day', 'cpd') ?>" class="button" onclick="return confirm('<?php _e('You are sure to disable Count per Day and delete all data?', 'cpd') ?>')" />
130
  </p>
131
- </div>
 
132
  </form>
 
 
 
 
 
 
 
 
 
 
 
 
133
 
134
- <?php
135
- } // End switch($mode)
136
- ?>
1
  <?php
2
  /**
3
  * Filename: counter-options.php
4
+ * Count Per Day - Options and Administration
5
  */
6
 
7
+ // check form
8
  if(!empty($_POST['do']))
9
  {
10
  switch($_POST['do'])
11
  {
12
  // update options
13
  case 'cpd_update' :
14
+ $count_per_day->options['onlinetime'] = $_POST['cpd_onlinetime'];
15
+ $count_per_day->options['user'] = empty( $_POST['cpd_user'] ) ? 0 : 1 ;
16
+ $count_per_day->options['user_level'] = $_POST['cpd_user_level'];
17
+ $count_per_day->options['autocount'] = empty( $_POST['cpd_autocount'] ) ? 0 : 1 ;
18
+ $count_per_day->options['bots'] = $_POST['cpd_bots'];
19
+ $count_per_day->options['dashboard_posts'] = $_POST['cpd_dashboard_posts'];
20
+ $count_per_day->options['dashboard_last_posts'] = $_POST['cpd_dashboard_last_posts'];
21
+ $count_per_day->options['dashboard_last_days'] = $_POST['cpd_dashboard_last_days'];
22
+ $count_per_day->options['show_in_lists'] = empty( $_POST['cpd_show_in_lists'] ) ? 0 : 1 ;
23
+ $count_per_day->options['chart_days'] = $_POST['cpd_chart_days'];
24
+ $count_per_day->options['chart_height'] = $_POST['cpd_chart_height'];
25
+ $count_per_day->options['startdate'] = $_POST['cpd_startdate'];
26
+ $count_per_day->options['startcount'] = $_POST['cpd_startcount'];
27
+ $count_per_day->options['startreads'] = $_POST['cpd_startreads'];
28
+ $count_per_day->options['anoip'] = empty( $_POST['cpd_anoip'] ) ? 0 : 1 ;
29
+ $count_per_day->options['clients'] = $_POST['cpd_clients'];
30
+ $count_per_day->options['ajax'] = empty( $_POST['cpd_ajax'] ) ? 0 : 1 ;
31
+ $count_per_day->options['debug'] = empty( $_POST['cpd_debug'] ) ? 0 : 1 ;
32
+ $count_per_day->options['localref'] = empty( $_POST['cpd_localref'] ) ? 0 : 1 ;
33
+ $count_per_day->options['referrers'] = empty( $_POST['cpd_referrers'] ) ? 0 : 1 ;
34
+ $count_per_day->options['dashboard_referers'] = $_POST['cpd_dashboard_referers'];
35
+ $count_per_day->options['referers_last_days'] = $_POST['cpd_referers_last_days'];
36
+ $count_per_day->options['chart_old'] = empty( $_POST['cpd_chart_old'] ) ? 0 : 1 ;
37
+ $count_per_day->options['no_front_css'] = empty( $_POST['cpd_no_front_css'] ) ? 0 : 1 ;
38
+
39
+ if (empty($count_per_day->options['clients']))
40
+ $count_per_day->options['clients'] = 'Firefox, MSIE, Chrome, Safari, Opera';
41
+
42
+ if ( isset($_POST['cpd_countries']) )
43
+ $count_per_day->options['countries'] = $_POST['cpd_countries'];
44
+
45
+ update_option('count_per_day', $count_per_day->options);
46
+
47
  echo '<div id="message" class="updated fade"><p>'.__('Options updated', 'cpd').'</p></div>';
48
  break;
49
+
50
+ // update countries
51
+ case 'cpd_countries' :
52
+ if ( class_exists('CpdGeoIp') )
53
+ {
54
+ $count_per_day->queries[] = 'cpd_countries - class "CpdGeoIp" exists';
55
+ $rest = CpdGeoIp::updateDB();
56
+ echo '<div id="message" class="updated fade">
57
+ <form name="cpdcountries" method="post" action="'.$_SERVER['REQUEST_URI'].'">
58
+ <p>'.sprintf(__('Countries updated. <b>%s</b> entries in %s without country left', 'cpd'), $rest, CPD_C_TABLE);
59
+ if ( $rest > 100 )
60
+ {
61
+ // reload page per javascript until less than 100 entries without country
62
+ echo '<input type="hidden" name="do" value="cpd_countries" />
63
+ <input type="submit" name="updcon" value="'.__('update next', 'cpd').'" class="button" />';
64
+ if ( !$count_per_day->options['debug'] )
65
+ echo '<script type="text/javascript">document.cpdcountries.submit();</script>';
66
+ }
67
+ echo '</p>
68
+ </form>
69
+ </div>';
70
+ if ( $rest > 100 )
71
+ while (@ob_end_flush());
72
+ }
73
+ else
74
+ $count_per_day->queries[] = '<span style="color:red">cpd_countries - class "CpdGeoIp" NOT exists</span>';
75
+ break;
76
+
77
+ // download new GeoIP database
78
+ case 'cpd_countrydb' :
79
+ if ( class_exists('CpdGeoIp') )
80
+ {
81
+ $count_per_day->getQuery("SELECT country FROM ".CPD_C_TABLE, 'geoip_select');
82
+ if ((int) mysql_errno() == 1054)
83
+ // add row 'country' to counter db
84
+ $count_per_day->getQuery("ALTER TABLE `".CPD_C_TABLE."` ADD `country` CHAR(2) NOT NULL", 'geoip_alter');
85
+
86
+ $result = CpdGeoIp::updateGeoIpFile();
87
+ echo '<div id="message" class="updated fade"><p>'.$result.'</p></div>';
88
+ if ( file_exists($cpd_path.'geoip/GeoIP.dat') )
89
+ $cpd_geoip = 1;
90
+ }
91
+ break;
92
+
93
+ // delete massbots
94
+ case 'cpd_delete_massbots' :
95
+ if ( isset($_POST['limit']) )
96
+ {
97
+ $bots = $count_per_day->getMassBots($_POST['limit']);
98
+ $sum = 0;
99
+ while ( $row = mysql_fetch_array($bots) )
100
+ {
101
+ $count_per_day->getQuery("DELETE FROM ".CPD_C_TABLE." WHERE ip = INET_ATON('".$row['ip']."') AND date = '".$row['date']."'", 'deleteMassbots');
102
+ $sum += $row['posts'];
103
+ }
104
+ if ( $sum )
105
+ echo '<div id="message" class="updated fade"><p>'.sprintf(__('Mass Bots cleaned. %s counts deleted.', 'cpd'), $sum).'</p></div>';
106
+ }
107
+ break;
108
+
109
  // clean database
110
  case 'cpd_clean' :
111
+ $rows = $count_per_day->cleanDB();
112
  echo '<div id="message" class="updated fade"><p>'.sprintf(__('Database cleaned. %s rows deleted.', 'cpd'), $rows).'</p></div>';
113
  break;
114
+
115
+ // reset counter
116
+ case 'cpd_reset' :
117
+ $wpdb->query('TRUNCATE TABLE '.CPD_C_TABLE);
118
+ echo '<div id="message" class="updated fade"><p>'.sprintf(__('Counter reseted.', 'cpd'), $rows).'</p></div>';
119
+ break;
120
+
121
  // uninstall plugin
122
  case __('UNINSTALL Count per Day', 'cpd') :
123
  if(trim($_POST['uninstall_cpd_yes']) == 'yes')
124
  {
125
+ count_per_day_uninstall();
 
 
 
 
 
 
 
126
  echo '<div id="message" class="updated fade"><p>';
127
  printf(__('Table %s deleted', 'cpd'), CPD_C_TABLE);
128
  echo '<br/>';
129
  printf(__('Table %s deleted', 'cpd'), CPD_CO_TABLE);
130
  echo '<br/>';
131
+ printf(__('Table %s deleted', 'cpd'), CPD_N_TABLE);
132
+ echo '<br/>';
133
  echo __('Options deleted', 'cpd').'</p></div>';
134
  $mode = 'end-UNINSTALL';
135
  }
136
  break;
137
+
138
  default:
139
  break;
140
  }
141
  }
142
 
143
+ // delete one massbots per click on X
144
+ if ( isset($_GET['dmbip']) && isset($_GET['dmbdate']) )
145
+ $count_per_day->getQuery("DELETE FROM ".CPD_C_TABLE." WHERE ip = '".$_GET['dmbip']."' AND date = '".$_GET['dmbdate']."'", 'deleteMassbot');
146
+
147
+ if ( empty($mode) )
148
+ $mode = '';
149
+
150
  switch($mode) {
151
+ // deactivation
152
  case 'end-UNINSTALL':
153
+ $deactivate_url = 'plugins.php?action=deactivate&amp;plugin='.$cpd_dir_name.'/counter.php';
154
  if ( function_exists('wp_nonce_url') )
155
+ $deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_'.$cpd_dir_name.'/counter.php');
156
  echo '<div class="wrap">';
157
  echo '<h2>'.__('Uninstall', 'cpd').' "Count per Day"</h2>';
158
  echo '<p><strong><a href="'.$deactivate_url.'">'.__('Click here', 'cpd').'</a> '.__('to finish the uninstall and to deactivate "Count per Day".', 'cpd').'</strong></p>';
159
  echo '</div>';
160
  break;
161
+
162
  default:
163
+ // show options page
164
+
165
+ $o = $count_per_day->options;
166
+
167
+ // save massbot limit
168
+ if(isset($_POST['limit']))
169
+ {
170
+ $o['massbotlimit'] = $_POST['limit'];
171
+ update_option('count_per_day', $o);
172
+ }
173
  ?>
174
  <div class="wrap">
175
+ <h2><img src="<?php echo $count_per_day->getResource('cpd_menu.gif') ?>" alt="" style="width:24px;height:24px" /> Count per Day</h2>
176
+
177
+ <div id="poststuff">
178
+
179
+ <div class="postbox cpd_settings">
180
+ <h3><?php _e('Options', 'cpd') ?></h3>
181
+ <div class="inside">
182
  <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
183
+
184
+ <!-- counter -->
185
+
186
+ <fieldset>
187
+ <legend><?php _e('Counter', 'cpd') ?></legend>
188
+
189
  <table class="form-table">
190
  <tr>
191
  <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Online time', 'cpd') ?>:</th>
192
+ <td><input class="code" type="text" name="cpd_onlinetime" size="3" value="<?php echo $o['onlinetime']; ?>" /> <?php _e('Seconds for online counter. Used for "Visitors online" on dashboard page.', 'cpd') ?></td>
193
+ </tr>
194
+ <tr>
195
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Logged on Users', 'cpd') ?>:</th>
196
+ <td>
197
+ <label for="cpd_user"><input type="checkbox" name="cpd_user" id="cpd_user" <?php if($o['user']==1) echo 'checked="checked"'; ?> /> <?php _e('count too', 'cpd') ?></label>
198
+ - <?php _e('until User Level', 'cpd') ?>
199
+ <select name="cpd_user_level">
200
+ <option value="10" <?php if ($o['user_level'] == 10) echo 'selected="selected"' ?>><?php echo translate_user_role('Administrator') ?> (10)</option>
201
+ <option value="7" <?php if ($o['user_level'] == 7) echo 'selected="selected"' ?>><?php echo translate_user_role('Editor') ?> (7)</option>
202
+ <option value="2" <?php if ($o['user_level'] == 2) echo 'selected="selected"' ?>><?php echo translate_user_role('Author') ?> (2)</option>
203
+ <option value="1" <?php if ($o['user_level'] == 1) echo 'selected="selected"' ?>><?php echo translate_user_role('Contributor') ?> (1)</option>
204
+ <option value="0" <?php if ($o['user_level'] == 0) echo 'selected="selected"' ?>><?php echo translate_user_role('Subscriber') ?> (0)</option>
205
+ </select>
206
+ </td>
207
+ </tr>
208
+ <tr>
209
  <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Auto counter', 'cpd') ?>:</th>
210
+ <td><label for="cpd_autocount"><input type="checkbox" name="cpd_autocount" id="cpd_autocount" <?php if($o['autocount']==1) echo 'checked="checked"'; ?> /> <?php _e('Counts automatically single-posts and pages, no changes on template needed.', 'cpd') ?></label></td>
211
+ </tr>
212
+ <tr>
213
  <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Bots to ignore', 'cpd') ?>:</th>
214
+ <td><textarea name="cpd_bots" cols="50" rows="10"><?php echo $o['bots']; ?></textarea></td>
215
+ </tr>
216
+ <tr>
217
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Anonymous IP', 'cpd') ?>:</th>
218
+ <td><label for="cpd_anoip"><input type="checkbox" name="cpd_anoip" id="cpd_anoip" <?php if($o['anoip']==1) echo 'checked="checked"'; ?> /> a.b.c.d &gt; a.b.c.x</label></td>
219
+ </tr>
220
+ <tr>
221
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Cache', 'cpd') ?> (beta):</th>
222
+ <td><label for="cpd_ajax"><input type="checkbox" name="cpd_ajax" id="cpd_ajax" <?php if($o['ajax']==1) echo 'checked="checked"'; ?> /> <?php _e('I use a cache plugin. Count these visits with ajax.', 'cpd') ?></label></td>
223
+ </tr>
224
+ <tr>
225
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Clients and referrers', 'cpd') ?>:</th>
226
+ <td><label for="cpd_referrers"><input type="checkbox" name="cpd_referrers" id="cpd_referrers" <?php if($o['referrers']==1) echo 'checked="checked"'; ?> /> <?php _e('Save and show clients and referrers.<br />Needs a lot of space in the database but gives you more detailed informations of your visitors.', 'cpd') ?> (1000000 <?php _e('Reads', 'cpd') ?> ~ 130 MB)</label></td>
227
  </tr>
228
  </table>
229
+ </fieldset>
230
+
231
+ <!-- dashboard -->
232
+
233
+ <fieldset>
234
+ <legend><?php _e('Dashboard') ?></legend>
235
+ <table class="form-table">
236
+ <tr>
237
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Visitors per post', 'cpd') ?>:</th>
238
+ <td><input class="code" type="text" name="cpd_dashboard_posts" size="3" value="<?php echo $o['dashboard_posts']; ?>" /> <?php _e('How many posts do you want to see on dashboard page?', 'cpd') ?></td>
239
+ </tr>
240
+ <tr>
241
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Latest Counts - Posts', 'cpd') ?>:</th>
242
+ <td><input class="code" type="text" name="cpd_dashboard_last_posts" size="3" value="<?php echo $o['dashboard_last_posts']; ?>" /> <?php _e('How many posts do you want to see on dashboard page?', 'cpd') ?></td>
243
+ </tr>
244
+ <tr>
245
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Latest Counts - Days', 'cpd') ?>:</th>
246
+ <td><input class="code" type="text" name="cpd_dashboard_last_days" size="3" value="<?php echo $o['dashboard_last_days']; ?>" /> <?php _e('How many days do you want look back?', 'cpd') ?></td>
247
+ </tr>
248
+ <tr>
249
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Chart - Days', 'cpd') ?>:</th>
250
+ <td><input class="code" type="text" name="cpd_chart_days" size="3" value="<?php echo $o['chart_days']; ?>" /> <?php _e('How many days do you want look back?', 'cpd') ?></td>
251
+ </tr>
252
+ <tr>
253
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Chart - Height', 'cpd') ?>:</th>
254
+ <td><input class="code" type="text" name="cpd_chart_height" size="3" value="<?php echo $o['chart_height']; ?>" /> px - <?php _e('Height of the biggest bar', 'cpd') ?></td>
255
+ </tr>
256
+ <tr>
257
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Old Charts', 'cpd') ?>:</th>
258
+ <td><label for="cpd_chart_old"><input type="checkbox" name="cpd_chart_old" id="cpd_chart_old" <?php if($o['chart_old']==1) echo 'checked="checked"'; ?> /> <?php _e('Show old bar charts.', 'cpd') ?></label></td>
259
+ </tr>
260
+ <?php if ($cpd_geoip) { ?>
261
+ <tr>
262
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Countries', 'cpd') ?>:</th>
263
+ <td><input class="code" type="text" name="cpd_countries" size="3" value="<?php echo $o['countries']; ?>" /> <?php _e('How many countries do you want to see on dashboard page?', 'cpd') ?></td>
264
+ </tr>
265
+ <?php } ?>
266
+ <tr>
267
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Browsers', 'cpd') ?>:</th>
268
+ <td><input class="code" type="text" name="cpd_clients" size="50" value="<?php echo $o['clients']; ?>" /> <?php _e('Substring of the user agent, separated by comma', 'cpd') ?></td>
269
+ </tr>
270
+ <tr>
271
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Referrers - Entries', 'cpd') ?>:</th>
272
+ <td><input class="code" type="text" name="cpd_dashboard_referers" size="3" value="<?php echo $o['dashboard_referers']; ?>" /> <?php _e('How many referrers do you want to see on dashboard page?', 'cpd') ?></td>
273
+ </tr>
274
+ <tr>
275
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Referrers - Days', 'cpd') ?>:</th>
276
+ <td><input class="code" type="text" name="cpd_referers_last_days" size="3" value="<?php echo $o['referers_last_days']; ?>" /> <?php _e('How many days do you want look back?', 'cpd') ?></td>
277
+ </tr>
278
+ <tr>
279
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Local URLs', 'cpd') ?>:</th>
280
+ <td><label for="cpd_localref"><input type="checkbox" name="cpd_localref" id="cpd_localref" <?php if($o['localref']==1) echo 'checked="checked"'; ?> /> <?php _e('Show local referrers too.', 'cpd') ?> (<?php echo bloginfo('url') ?>/...)</label></td>
281
+ </tr>
282
+ </table>
283
+ </fieldset>
284
+
285
+ <!-- lists -->
286
+
287
+ <fieldset>
288
+ <legend><?php _e('Posts') ?> / <?php _e('Pages') ?></legend>
289
+ <table class="form-table">
290
+ <tr>
291
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Show in lists', 'cpd') ?>:</th>
292
+ <td><label for="cpd_show_in_lists"><input type="checkbox" name="cpd_show_in_lists" id="cpd_show_in_lists" <?php if($o['show_in_lists']==1) echo 'checked="checked"'; ?> /> <?php _e('Show "Reads per Post" in a new column in post management views.', 'cpd') ?></label></td>
293
+ </tr>
294
+ </table>
295
+ </fieldset>
296
+
297
+ <!-- start values -->
298
+
299
+ <fieldset>
300
+ <legend><?php _e('Start Values', 'cpd') ?></legend>
301
+ <table class="form-table">
302
+ <tr>
303
+ <th colspan="2">
304
+ <?php _e('Here you can change the date of first count and add a start count.', 'cpd')?>
305
+ </th>
306
+ </tr>
307
+ <tr>
308
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Start date', 'cpd') ?>:</th>
309
+ <td><input class="code" type="text" name="cpd_startdate" size="10" value="<?php echo $o['startdate']; ?>" /> <?php _e('Your old Counter starts at?', 'cpd') ?> [yyyy-mm-dd]</td>
310
+ </tr>
311
+ <tr>
312
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Start count', 'cpd') ?>:</th>
313
+ <td><input class="code" type="text" name="cpd_startcount" size="10" value="<?php echo $o['startcount']; ?>" /> <?php _e('Add this value to "Total visitors".', 'cpd') ?></td>
314
+ </tr>
315
+ <tr>
316
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('Start count', 'cpd') ?>:</th>
317
+ <td><input class="code" type="text" name="cpd_startreads" size="10" value="<?php echo $o['startreads']; ?>" /> <?php _e('Add this value to "Total reads".', 'cpd') ?></td>
318
+ </tr>
319
+ </table>
320
+ </fieldset>
321
+
322
+ <!-- Stylesheet -->
323
+
324
+ <fieldset>
325
+ <legend><?php _e('Stylesheet') ?></legend>
326
+ <table class="form-table">
327
+ <tr>
328
+ <th nowrap="nowrap" scope="row" style="vertical-align:middle;"><?php _e('NO Stylesheet in Frontend', 'cpd') ?>:</th>
329
+ <td><label for="cpd_no_front_css"><input type="checkbox" name="cpd_no_front_css" id="cpd_no_front_css" <?php if($o['no_front_css']==1) echo 'checked="checked"'; ?> /> <?php _e('Do not load the stylesheet "counter.css" in frontend.', 'cpd') ?></label></td>
330
+ </tr>
331
+ </table>
332
+ </fieldset>
333
+
334
+ <!-- debug -->
335
+
336
+ <fieldset>
337
+ <legend style="color:red"><?php _e('Debug mode', 'cpd') ?></legend>
338
+ <p style="margin-top:15px;">
339
+ <label for="cpd_debug"><input type="checkbox" name="cpd_debug" id="cpd_debug" <?php if($o['debug']==1) echo 'checked="checked"'; ?> /> <?php _e('Show debug informations at the bottom of all pages.', 'cpd') ?></label>
340
+ </p>
341
+ </fieldset>
342
+
343
+ <input type="hidden" name="do" value="cpd_update" />
344
+ <input type="submit" name="update" value="<?php _e('Update options', 'cpd') ?>" class="button-primary" style="margin-left: 5px;" />
345
+
346
  </form>
347
+
348
+ </div>
349
  </div>
350
 
351
+ <!-- Countries -->
352
+ <div class="postbox">
353
+ <h3><?php _e('GeoIP - Countries', 'cpd') ?></h3>
354
+ <div class="inside">
355
 
356
+ <table class="form-table">
357
+ <?php if ( $cpd_geoip ) { ?>
358
+ <tr>
359
+ <td>
360
+ <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
361
+ <input type="hidden" name="do" value="cpd_countries" />
362
+ <input type="submit" name="updcon" value="<?php _e('Update old counter data', 'cpd') ?>" class="button" />
363
+ </form>
364
+ </td>
365
+ <td><?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') ?></td>
366
+ </tr>
367
+ <?php } ?>
368
 
369
+ <?php if ( class_exists('CpdGeoIp') && ini_get('allow_url_fopen') && function_exists('gzopen') ) {
370
+ // install or update database ?>
371
+ <tr>
372
+ <td width="10">
373
+ <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
374
+ <input type="hidden" name="do" value="cpd_countrydb" />
375
+ <input type="submit" name="updcondb" value="<?php _e('Update GeoIP database', 'cpd') ?>" class="button" />
376
+ </form>
377
+ </td>
378
+ <td><?php _e('Download a new version of GeoIP.dat file.', 'cpd') ?></td>
379
+ </tr>
380
+ <?php } ?>
381
+ </table>
382
+
383
  <p>
384
+ <span class="cpd-r"><?php _e('More informations about GeoIP', 'cpd') ?>:
385
+ <a href="http://www.maxmind.com/app/geoip_country">www.maxmind.com</a></span>&nbsp;
386
+ </p>
387
+
388
+ </div>
389
+ </div>
390
+
391
+ <!-- Mass Bots -->
392
+ <div class="postbox">
393
+ <?php
394
+ $limit = (isset($o['massbotlimit'])) ? $o['massbotlimit'] : 25;
395
+ $limit = (isset($_POST['limit'])) ? $_POST['limit'] : $limit;
396
+ $limit_input = '<input type="text" size="3" name="limit" value="'.$limit.'" />';
397
+ $bots = $count_per_day->getMassBots($limit);
398
+ ?>
399
+ <h3><?php _e('Mass Bots', 'cpd') ?></h3>
400
+ <div class="inside">
401
+ <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
402
+ <p>
403
+ <?php printf(__('Show all IPs with more than %s page views per day', 'cpd'), $limit_input) ?>
404
+ <input type="submit" name="showmassbots" value="<?php _e('show', 'cpd') ?>" class="button" />
405
+ </p>
406
+ </form>
407
+
408
+ <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
409
+ <table class="widefat post">
410
+ <thead>
411
+ <tr>
412
+ <th><?php _e('IP', 'cpd') ?></th>
413
+ <th><?php _e('Date', 'cpd') ?></th>
414
+ <th><?php _e('Client', 'cpd') ?></th>
415
+ <th><?php _e('Views', 'cpd') ?></th>
416
+ </tr>
417
+ </thead>
418
+ <?php
419
+ $sum = 0;
420
+ if ( !mysql_errno() ) :
421
+ while ( $row = mysql_fetch_assoc($bots) )
422
+ {
423
+ $ip = $row['ip'];
424
+ echo '<tr><td style="white-space:nowrap">';
425
+ if ( $cpd_geoip )
426
+ {
427
+ $c = CpdGeoIp::getCountry($ip);
428
+ echo $c[1].' &nbsp;';
429
+ }
430
+ echo '<a href="?page=count-per-day/counter-options.php&amp;dmbip='.$row['longip'].'&amp;dmbdate='.$row['date'].'"
431
+ title="'.sprintf(__('Delete these %s counts', 'cpd'), $row['posts']).'"
432
+ style="color:red; font-weight: bold;">X</a> &nbsp;';
433
+ echo '<a href="http://www.easywhois.com/index.php?mode=iplookup&amp;domain='.$ip.'">'.$ip.'</a></td>'
434
+ .'<td style="white-space:nowrap;">'.mysql2date(get_option('date_format'), $row['date'] ).'</td>'
435
+ .'<td>'.$row['client'].'</td>'
436
+ .'<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">'
437
+ .$row['posts'].'</a></td>'
438
+ .'</tr>';
439
+ $sum += $row['posts'];
440
+ }
441
+ endif;
442
+ ?>
443
+ </table>
444
+ <?php if ( $sum ) { ?>
445
+ <p class="submit">
446
+ <input type="hidden" name="do" value="cpd_delete_massbots" />
447
+ <input type="hidden" name="limit" value="<?php echo $limit ?>" />
448
+ <input type="submit" name="clean" value="<?php printf(__('Delete these %s counts', 'cpd'), $sum) ?>" class="button" />
449
+ </p>
450
+ <?php } ?>
451
+ </form>
452
+ </div>
453
+ </div>
454
+
455
+ <!-- Cleaner -->
456
+ <?php if ( $count_per_day->options['referrers'] ) : ?>
457
+ <div class="postbox">
458
+ <h3><?php _e('Clean the database', 'cpd') ?></h3>
459
+ <div class="inside">
460
+ <p>
461
+ <?php _e('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.', 'cpd') ?>
462
+ </p>
463
+
464
+ <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
465
+ <p class="submit">
466
+ <input type="hidden" name="do" value="cpd_clean" />
467
+ <input type="submit" name="clean" value="<?php _e('Clean the database', 'cpd') ?>" class="button" />
468
+ </p>
469
+ </form>
470
+ </div>
471
+ </div>
472
+ <?php endif; ?>
473
+
474
+ <!-- Reset DBs -->
475
+ <div class="postbox">
476
+ <h3><?php _e('Reset the counter', 'cpd') ?></h3>
477
+ <div class="inside">
478
+ <p style="color: red">
479
+ <?php _e('You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!', 'cpd') ?>
480
  </p>
481
 
482
  <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
483
  <p class="submit">
484
+ <input type="hidden" name="do" value="cpd_reset" />
485
+ <input type="submit" name="clean" value="<?php _e('Reset the counter', 'cpd') ?>" class="button" />
486
  </p>
487
  </form>
488
  </div>
489
+ </div>
490
 
491
  <!-- Uninstall -->
492
  <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
493
+ <div class="postbox">
494
+ <h3><?php _e('Uninstall', 'cpd') ?></h3>
495
+ <div class="inside">
496
  <p>
 
497
  <?php _e('If "Count per Day" only disabled the tables in the database will be preserved.', 'cpd') ?><br/>
498
  <?php _e('Here you can delete the tables and disable "Count per Day".', 'cpd') ?>
499
  </p>
500
+ <p style="color: red">
501
  <strong><?php _e('WARNING', 'cpd') ?>:</strong><br />
502
  <?php _e('These tables (with ALL counter data) will be deleted.', 'cpd') ?><br />
503
+ <b><?php echo CPD_C_TABLE.', '.CPD_CO_TABLE.', '.CPD_N_TABLE; ?></b><br />
504
  <?php _e('If "Count per Day" re-installed, the counter starts at 0.', 'cpd') ?>
505
  </p>
506
  <p>&nbsp;</p>
507
+ <p class="submit">
508
  <input type="checkbox" name="uninstall_cpd_yes" value="yes" />&nbsp;<?php _e('Yes', 'cpd'); ?><br /><br />
509
  <input type="submit" name="do" value="<?php _e('UNINSTALL Count per Day', 'cpd') ?>" class="button" onclick="return confirm('<?php _e('You are sure to disable Count per Day and delete all data?', 'cpd') ?>')" />
510
  </p>
511
+ </div>
512
+ </div>
513
  </form>
514
+
515
+ <!-- Plugin page -->
516
+ <div class="postbox">
517
+ <h3><?php _e('Support', 'cpd') ?></h3>
518
+ <div class="inside">
519
+ <?php $count_per_day->cpdInfo() ?>
520
+ </div>
521
+ </div>
522
+
523
+
524
+ </div><!-- poststuff -->
525
+ </div><!-- wrap -->
526
 
527
+ <?php } // End switch($mode)
 
 
counter-rtl.css ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cpd_front_list,
2
+ .cpd_front_list li
3
+ {
4
+ margin-right: 0 !important;
5
+ }
6
+
7
+ .cpd_front_list li,
8
+ .cpd-l,
9
+ .cpd-notes td,
10
+ .cpd-notes th
11
+ {
12
+ text-align: right;
13
+ }
14
+
15
+ .cpd_front_list li b,
16
+ .cpd-dashboard li b,
17
+ .cpd-r
18
+ {
19
+ float: left;
20
+ }
counter.css CHANGED
@@ -1,26 +1,360 @@
1
- .cpd_table {
2
- width: 100%;
 
 
 
3
  }
4
 
5
- .cpd_table td {
6
- padding-right: 10px;
7
- vertical-align: top;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  }
9
 
10
- .cpd_table li {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  color: #777;
 
 
 
12
  }
13
 
14
- .cpd_table li b {
 
15
  font-family: Georgia,"Times New Roman",Times,serif;
16
- color: #2583ad;
17
  font-size: 18px;
 
18
  }
19
 
20
- .cpd_table li span {
21
  color: #f00;
22
  }
23
 
24
- .cpd_table ul {
25
- list-style: none;
 
 
 
 
 
 
 
 
 
 
 
 
26
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* frontend */
2
+
3
+ .cpd_front_list, .cpd_front_list li {
4
+ list-style-type: none !important;
5
+ margin-left: 0 !important;
6
  }
7
 
8
+ .cpd_front_list li b { /* values */
9
+ float: right;
10
+ }
11
+
12
+ .cpd_front_chart {
13
+ padding-bottom: 5px;
14
+ }
15
+
16
+ .cpd_front_chart p {
17
+ padding: 0 !important;
18
+ }
19
+
20
+ .cpd_front_chart img {
21
+ vertical-align: bottom;
22
+ }
23
+
24
+ /* settings */
25
+
26
+ .cpd_settings fieldset {
27
+ margin: 10px 5px 20px;
28
+ padding: 0 10px 10px;
29
+ border: 1px solid #dfdfdf;
30
+ border-radius: 6px;
31
+ -moz-border-radius: 6px;
32
+ -webkit-border-radius: 6px;
33
+ }
34
+
35
+ .cpd_settings legend {
36
+ background: #dfdfdf;
37
+ border-radius: 10px;
38
+ -moz-border-radius: 10px;
39
+ -webkit-border-radius: 10px;
40
+ margin: 0 10px;
41
+ padding: 5px 10px;
42
+ text-shadow: 0 1px 0 #fff;
43
+ font-weight: bold;
44
+ }
45
+
46
+ /* dashboard */
47
+
48
+ #cpd-flot-place {
49
+ padding: 5px;
50
+ background: #fff;
51
+ border-radius: 6px;
52
+ border: 1px #ccc solid;
53
+ }
54
+
55
+ #cpd-flot-choice {
56
+ padding: 5px;
57
+ text-align: center;
58
  }
59
 
60
+ #cpd-flot {
61
+ overflow: hidden;
62
+ }
63
+ #cpd-tooltip {
64
+ position: absolute;
65
+ z-index: 10;
66
+ display: none;
67
+ text-align: center;
68
+ padding: 2px 4px;
69
+ border: 1px solid #ddd;
70
+ border-radius: 4px;
71
+ background-color: #fff;
72
+ box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.4);
73
+ }
74
+
75
+ .cpd-list-chart {
76
+ margin-bottom: 10px;
77
+ height: 50px;
78
+ border: 1px solid #ddd;
79
+ background: -moz-linear-gradient(top, #ccc 0, #fff 80%);
80
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #005), color-stop(81%, #4a7eb8), color-stop(82%, #5A646D), color-stop(87%, #fafafa));
81
+ }
82
+
83
+ .cpd-dashboard .inside {
84
+ padding: 5px;
85
+ }
86
+
87
+ .cpd-dashboard .cpd_front_list {
88
+ padding-right: 5px;
89
+ max-height: 200px;
90
+ overflow-y: auto;
91
+ }
92
+
93
+ .cpd-dashboard li {
94
  color: #777;
95
+ padding-bottom: 2px;
96
+ border-bottom: 1px #ddd dotted;
97
+ overflow: hidden;
98
  }
99
 
100
+ .cpd-dashboard li b {
101
+ float: right;
102
  font-family: Georgia,"Times New Roman",Times,serif;
 
103
  font-size: 18px;
104
+ color: #2583ad;
105
  }
106
 
107
+ .cpd-dashboard li span {
108
  color: #f00;
109
  }
110
 
111
+ .cpd-dashboard a {
112
+ text-decoration: none;
113
+ }
114
+ /* column on post and page lists */
115
+ .column-cpd_reads {
116
+ width: 50px;
117
+ white-space: nowrap;
118
+ overflow: visible;
119
+ }
120
+
121
+ .cpd-l {}
122
+
123
+ .cpd-r {
124
+ float: right;
125
  }
126
+
127
+ /* widget */
128
+
129
+ .cpd_widget_item {
130
+ padding: 2px 5px;
131
+ height: 25x;
132
+ background: #eee;
133
+ cursor: move;
134
+ border-radius: 4px;
135
+ }
136
+
137
+ .cpd_widget_title {
138
+ cursor:auto;
139
+ }
140
+
141
+ .cpd_widget_item .widefat {
142
+ width: 235px !important;
143
+ margin-left: 15px;
144
+ }
145
+
146
+ /* thickbox */
147
+
148
+ .cpd-thickbox {
149
+ background-color: #F7F6F1;
150
+ font-size: 13px;
151
+ }
152
+
153
+ .cpd-thickbox h2 {
154
+ font: italic 1.5em Georgia,"Times New Roman","Bitstream Charter",Times,serif;
155
+ margin: 0;
156
+ padding: 0;
157
+ color: #093E56;
158
+ }
159
+
160
+ .cpd-thickbox li {
161
+ padding-bottom: 5px;
162
+ border-top: none;
163
+ }
164
+
165
+ /* notes thickbox */
166
+
167
+ .cpd-notes {
168
+ width: 100%;
169
+ width: auto;
170
+ margin: 1px;
171
+ border-color: #000;
172
+ border-collapse: collapse;
173
+ }
174
+
175
+ .cpd-notes td, .cpd-notes th {
176
+ vertical-align: top;
177
+ text-align: left;
178
+ padding: 2px;
179
+ font: 12px Verdana, Arial, Helvetica, sans-serif;
180
+ border-bottom: 1px #aaa solid;
181
+ }
182
+
183
+ .cpd-notes th {
184
+ background-color: #8cbdd5;
185
+ font-weight: bold;
186
+ }
187
+
188
+ .cpd-notes .nowrap {
189
+ white-space: nowrap;
190
+ }
191
+
192
+ .cpd-notes .red {
193
+ background-color: #f00;
194
+ color: #ff0;
195
+ }
196
+
197
+ .cpd-notes .green {
198
+ background-color: #0a0;
199
+ color: #ff0;
200
+ }
201
+
202
+ .cpd-notes input {
203
+ width: 97%;
204
+ font: 12px Verdana, Arial, Helvetica, sans-serif;
205
+ }
206
+
207
+ /* clients */
208
+
209
+ .cpd-client-logo {
210
+ padding-left: 25px;
211
+ background: url(img/cpd_clients.png) no-repeat left -25px;
212
+ }
213
+
214
+ .cpd-client-chrome{background-position:0 0;}
215
+ .cpd-client-firefox{background-position:0 -49px;}
216
+ .cpd-client-msie{background-position:0 -98px;}
217
+ .cpd-client-opera{background-position:0 -147px;}
218
+ .cpd-client-safari{background-position:0 -196px;}
219
+
220
+ /*referrers */
221
+
222
+ #cpd_referrers li a {
223
+ width: 85%;
224
+ display: block;
225
+ float: left;
226
+ white-space: nowrap;
227
+ overflow: hidden;
228
+ }
229
+
230
+ /* flags */
231
+
232
+ .cpd-flag {
233
+ display: inline-block;
234
+ float: left;
235
+ width: 23px;
236
+ height: 12px;
237
+ margin-top: 3px;
238
+ background-image: url(img/cpd_flags.png);
239
+ background-repeat: no-repeat;
240
+ }
241
+
242
+ .cpd-flag-ae {background-position:0 0;}
243
+ .cpd-flag-af, .cpd-flag-xh, .cpd-flag-zu {background-position:0 -13px;}
244
+ .cpd-flag-al {background-position:0 -26px;}
245
+ .cpd-flag-am {background-position:0 -39px;}
246
+ .cpd-flag-ar {background-position:0 -52px;}
247
+ .cpd-flag-at {background-position:0 -65px;}
248
+ .cpd-flag-au {background-position:0 -78px;}
249
+ .cpd-flag-az {background-position:0 -91px;}
250
+ .cpd-flag-ba {background-position:0 -104px;}
251
+ .cpd-flag-bd {background-position:0 -117px;}
252
+ .cpd-flag-be {background-position:0 -130px;}
253
+ .cpd-flag-bg {background-position:0 -143px;}
254
+ .cpd-flag-bh {background-position:0 -156px;}
255
+ .cpd-flag-bn {background-position:0 -169px;}
256
+ .cpd-flag-bo {background-position:0 -182px;}
257
+ .cpd-flag-br {background-position:0 -195px;}
258
+ .cpd-flag-by {background-position:0 -208px;}
259
+ .cpd-flag-bz {background-position:0 -221px;}
260
+ .cpd-flag-ca {background-position:0 -234px;}
261
+ .cpd-flag-ch {background-position:0 -247px;}
262
+ .cpd-flag-ci {background-position:0 -260px;}
263
+ .cpd-flag-cl {background-position:0 -273px;}
264
+ .cpd-flag-cn {background-position:0 -286px;}
265
+ .cpd-flag-co {background-position:0 -299px;}
266
+ .cpd-flag-cr {background-position:0 -312px;}
267
+ .cpd-flag-cs {background-position:0 -325px;}
268
+ .cpd-flag-cy, .cpd-flag-el, .cpd-flag-gr {background-position:0 -338px;}
269
+ .cpd-flag-cz {background-position:0 -351px;}
270
+ .cpd-flag-da, .cpd-flag-dk {background-position:0 -364px;}
271
+ .cpd-flag-de {background-position:0 -377px;}
272
+ .cpd-flag-do {background-position:0 -390px;}
273
+ .cpd-flag-dz {background-position:0 -403px;}
274
+ .cpd-flag-ec {background-position:0 -416px;}
275
+ .cpd-flag-ee {background-position:0 -429px;}
276
+ .cpd-flag-eg {background-position:0 -442px;}
277
+ .cpd-flag-en, .cpd-flag-us {background-position:0 -455px;}
278
+ .cpd-flag-eo {background-position:0 -468px;}
279
+ .cpd-flag-es {background-position:0 -481px;}
280
+ .cpd-flag-eu {background-position:0 -494px;}
281
+ .cpd-flag-fi {background-position:0 -507px;}
282
+ .cpd-flag-fo {background-position:0 -520px;}
283
+ .cpd-flag-fr {background-position:0 -533px;}
284
+ .cpd-flag-gb {background-position:0 -546px;}
285
+ .cpd-flag-ge {background-position:0 -559px;}
286
+ .cpd-flag-gt {background-position:0 -572px;}
287
+ .cpd-flag-hk {background-position:0 -585px;}
288
+ .cpd-flag-hn {background-position:0 -598px;}
289
+ .cpd-flag-hr {background-position:0 -611px;}
290
+ .cpd-flag-hu {background-position:0 -624px;}
291
+ .cpd-flag-id {background-position:0 -637px;}
292
+ .cpd-flag-ie {background-position:0 -650px;}
293
+ .cpd-flag-il {background-position:0 -663px;}
294
+ .cpd-flag-in {background-position:0 -676px;}
295
+ .cpd-flag-iq {background-position:0 -689px;}
296
+ .cpd-flag-ir {background-position:0 -702px;}
297
+ .cpd-flag-is {background-position:0 -715px;}
298
+ .cpd-flag-it {background-position:0 -728px;}
299
+ .cpd-flag-ja, .cpd-flag-jp {background-position:0 -741px;}
300
+ .cpd-flag-jm {background-position:0 -754px;}
301
+ .cpd-flag-jo {background-position:0 -767px;}
302
+ .cpd-flag-kk {background-position:0 -780px;}
303
+ .cpd-flag-kp {background-position:0 -793px;}
304
+ .cpd-flag-kr {background-position:0 -806px;}
305
+ .cpd-flag-kw {background-position:0 -819px;}
306
+ .cpd-flag-ky {background-position:0 -832px;}
307
+ .cpd-flag-lb {background-position:0 -845px;}
308
+ .cpd-flag-li {background-position:0 -858px;}
309
+ .cpd-flag-lk {background-position:0 -871px;}
310
+ .cpd-flag-ls {background-position:0 -884px;}
311
+ .cpd-flag-lt {background-position:0 -897px;}
312
+ .cpd-flag-lu {background-position:0 -910px;}
313
+ .cpd-flag-lv {background-position:0 -923px;}
314
+ .cpd-flag-ly {background-position:0 -936px;}
315
+ .cpd-flag-ma {background-position:0 -949px;}
316
+ .cpd-flag-mk {background-position:0 -962px;}
317
+ .cpd-flag-mm {background-position:0 -975px;}
318
+ .cpd-flag-mo {background-position:0 -988px;}
319
+ .cpd-flag-mt {background-position:0 -1001px;}
320
+ .cpd-flag-mx {background-position:0 -1014px;}
321
+ .cpd-flag-my {background-position:0 -1027px;}
322
+ .cpd-flag-nb, .cpd-flag-nn, .cpd-flag-no {background-position:0 -1040px;}
323
+ .cpd-flag-ni {background-position:0 -1053px;}
324
+ .cpd-flag-nl {background-position:0 -1066px;}
325
+ .cpd-flag-nz {background-position:0 -1079px;}
326
+ .cpd-flag-om {background-position:0 -1092px;}
327
+ .cpd-flag-pa {background-position:0 -1105px;}
328
+ .cpd-flag-pe {background-position:0 -1118px;}
329
+ .cpd-flag-ph {background-position:0 -1131px;}
330
+ .cpd-flag-pk {background-position:0 -1144px;}
331
+ .cpd-flag-pl {background-position:0 -1157px;}
332
+ .cpd-flag-pr {background-position:0 -1170px;}
333
+ .cpd-flag-pt {background-position:0 -1183px;}
334
+ .cpd-flag-py {background-position:0 -1196px;}
335
+ .cpd-flag-qa {background-position:0 -1209px;}
336
+ .cpd-flag-ro {background-position:0 -1222px;}
337
+ .cpd-flag-rs {background-position:0 -1235px;}
338
+ .cpd-flag-ru {background-position:0 -1248px;}
339
+ .cpd-flag-sa {background-position:0 -1261px;}
340
+ .cpd-flag-se {background-position:0 -1274px;}
341
+ .cpd-flag-sg {background-position:0 -1287px;}
342
+ .cpd-flag-si {background-position:0 -1300px;}
343
+ .cpd-flag-sk {background-position:0 -1313px;}
344
+ .cpd-flag-sv {background-position:0 -1326px;}
345
+ .cpd-flag-sy {background-position:0 -1339px;}
346
+ .cpd-flag-th {background-position:0 -1352px;}
347
+ .cpd-flag-tn {background-position:0 -1365px;}
348
+ .cpd-flag-tr {background-position:0 -1378px;}
349
+ .cpd-flag-tt {background-position:0 -1391px;}
350
+ .cpd-flag-tw {background-position:0 -1404px;}
351
+ .cpd-flag-tz {background-position:0 -1417px;}
352
+ .cpd-flag-ua {background-position:0 -1430px;}
353
+ .cpd-flag-unknown, .cpd-flag-a1, .cpd-flag-a2, .cpd-flag-o1 {background-position:0 -1443px;}
354
+ .cpd-flag-uy {background-position:0 -1456px;}
355
+ .cpd-flag-uz {background-position:0 -1469px;}
356
+ .cpd-flag-ve {background-position:0 -1482px;}
357
+ .cpd-flag-vn {background-position:0 -1495px;}
358
+ .cpd-flag-ye {background-position:0 -1508px;}
359
+ .cpd-flag-za {background-position:0 -1521px;}
360
+ .cpd-flag-me {background-position:0 -1534px;}
counter.php CHANGED
@@ -2,19 +2,194 @@
2
  /*
3
  Plugin Name: Count Per Day
4
  Plugin URI: http://www.tomsdimension.de/wp-plugins/count-per-day
5
- Description: Counter, shows reads per page; today, yesterday, last week, last months ... on dashboard.
6
- Version: 1.5
7
- License: GPL
8
  Author: Tom Braider
9
  Author URI: http://www.tomsdimension.de
10
  */
11
 
 
 
12
 
13
  /**
 
14
  */
15
- global $table_prefix;
16
- define('CPD_C_TABLE', $table_prefix.'cpd_counter');
17
- define('CPD_CO_TABLE', $table_prefix.'cpd_counter_useronline');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  /**
20
  * counts and shows visits
@@ -23,483 +198,2109 @@ define('CPD_CO_TABLE', $table_prefix.'cpd_counter_useronline');
23
  * @param string $after string after the number
24
  * @param boolean $show "echo" (true, standard) or "return"
25
  * @param boolean $count count visits (true, standard) or only show vistis
 
26
  * @return string counter string
27
  */
28
- function cpdShow( $before='', $after=' reads', $show = true, $count = true )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  {
30
- global $wpdb;
31
- $page = get_the_ID();
32
- // only count once
33
- if ( $count == true && get_option('cpd_autocount') == 0 )
34
- cpdCount();
35
- $visits = $wpdb->get_results("SELECT page FROM ".CPD_C_TABLE." WHERE page='$page';");
36
- $visits_per_page = count($visits);
37
- if ( $show == true )
38
- echo $before.$visits_per_page.$after;
 
 
39
  else
40
- return $visits_per_page;
41
  }
42
 
43
  /**
44
- * shows visits (without counting)
 
45
  */
46
- function cpdCount()
47
  {
48
  global $wpdb;
49
- cpdCreateTables(); // create tables if necessary
50
-
51
- // find PostID
52
- if ( get_option('cpd_autocount') == 1 )
53
- {
54
- if (have_posts()) : while ( have_posts() && $page == 0 ) : the_post();
55
- $page = get_the_ID();
56
- endwhile; endif;
57
- rewind_posts();
 
 
 
 
 
58
  }
59
- else if ( is_single() || is_page() )
60
- $page = get_the_ID();
 
 
 
 
 
61
  else
62
- $page = 0;
 
63
 
64
- $countUser = ( get_option('cpd_user') == 0 && is_user_logged_in() == true ) ? 0 : 1;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
 
66
- // only count if: non bot, PostID exists, Logon is ok
67
- if ( cpdIsBot() == false && !empty($page) && $countUser == 1 )
68
- {
69
- $userip = $_SERVER['REMOTE_ADDR'];
70
- $client = $_SERVER['HTTP_USER_AGENT'];
71
- $date = date('ymd');
72
- // memorize UserIP
73
- $user_ip = $wpdb->get_results("SELECT * FROM ".CPD_C_TABLE." WHERE ip='$userip' AND date='$date' AND page='$page';");
74
- if ( count($user_ip) == 0 )
75
- $wpdb->query("INSERT INTO ".CPD_C_TABLE." (page, ip, client, date) VALUES ('"
76
- .$wpdb->escape($page)."', '".$wpdb->escape($userip)."', '"
77
- .$wpdb->escape($client)."', '".$wpdb->escape($date)."');");
78
-
79
- $timestamp = time();
80
- $timeout = $timestamp - get_option('cpd_onlinetime');
81
-
82
- $wpdb->query("REPLACE INTO ".CPD_CO_TABLE." (timestamp, ip, page) VALUES ('".$wpdb->escape($timestamp)."','".$wpdb->escape($userip)."','".$wpdb->escape($page)."');");
83
- $wpdb->query("DELETE FROM ".CPD_CO_TABLE." WHERE timestamp < $timeout;");
84
- }
85
  }
86
 
87
  /**
88
- * bot or human?
89
- * @param string $client USER_AGENT
90
- * @param array $bots strings to check
 
 
 
91
  */
92
- function cpdIsBot( $client = '', $bots = '' )
93
  {
94
- if ( empty($bots) )
95
- // load pattern
96
- $bots = explode( "\n", get_option('cpd_bots') );
97
- $isBot = false;
98
- foreach ( $bots as $bot )
99
  {
100
- $b = trim($bot);
101
- if ( !empty($b) )
102
  {
103
- if ( empty($client) )
104
- {
105
- if ( strpos( strtolower($_SERVER['HTTP_USER_AGENT']), strtolower($b) ) !== false )
106
- $isBot = true;
107
- }
108
- else
109
- {
110
- if ( strpos( strtolower($client), strtolower($b) ) !== false )
111
- $isBot = true;
112
- }
113
  }
 
 
 
114
  }
115
- return $isBot;
116
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
 
 
 
 
 
 
118
 
119
  /**
120
- * create tables if not exists
 
 
 
 
121
  */
122
- function cpdCreateTables() {
123
- require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
124
- global $wpdb;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
 
126
- if ( $wpdb->get_var( "SHOW TABLES LIKE '".CPD_C_TABLE."'" ) != CPD_C_TABLE )
127
  {
128
- // table "counter" is not exists
129
- $sql ="CREATE TABLE IF NOT EXISTS `".CPD_C_TABLE."` (
130
- `id` int(10) NOT NULL auto_increment,
131
- `ip` varchar(15) NOT NULL,
132
- `client` varchar(100) NOT NULL,
133
- `date` char(6) NOT NULL,
134
- `page` int(11) NOT NULL,
135
- PRIMARY KEY (`id`)
136
- );";
137
- dbDelta($sql);
138
- add_option('cpd_cdb_version', '1.0');
139
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
 
141
- if ( $wpdb->get_var( "SHOW TABLES LIKE '".CPD_CO_TABLE."'" ) != CPD_CO_TABLE )
 
 
 
 
 
142
  {
143
- // table "counter-online" is not exists
144
- $sql ="CREATE TABLE IF NOT EXISTS `".CPD_CO_TABLE."` (
145
- `timestamp` int(15) NOT NULL default '0',
146
- `ip` varchar(15) NOT NULL default '',
147
- `page` int(11) NOT NULL default '0',
148
- PRIMARY KEY (`ip`)
149
- );";
150
- dbDelta($sql);
151
- add_option('cpd_codb_version', '1.0');
152
  }
 
 
 
153
 
154
- add_option( 'cpd_onlinetime', 300 );
155
- add_option( 'cpd_user', 0 );
156
- add_option( 'cpd_autocount', 0 );
157
- add_option( 'cpd_bots', "bot\nspider\nsearch\ncrawler\nask.com\nvalidator\nsnoopy\n".
158
- "suchen.de\nsuchbaer.de\nshelob\nsemager\nxenu\nsuch_de\nia_archiver\nMicrosoft URL Control\nnetluchs" );
159
  }
160
 
161
- register_activation_hook(__FILE__,'cpdCreateTables');
162
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
 
164
  /**
165
- * statistics page
 
166
  */
167
- function cpdDashbord()
168
  {
169
- ?>
170
- <div class="wrap">
171
- <h2>Count per Day - <?php _e('Statistics', 'cpd') ?></h2>
172
- <table class="cpd_table"><tr>
173
- <td>
174
- <table class="widefat">
175
- <thead><tr><th><?php _e('Reads at all', 'cpd') ?></th></tr></thead>
176
- <tbody><tr><td>
177
- <ul>
178
- <li><?php _e('Reads at all', 'cpd') ?>: <b><span><?php cpdGetUserAll(); ?></span></b></li>
179
- <li><?php _e('Visitors currently online', 'cpd') ?>: <b><span><?php cpdGetUserOnline(); ?></span></b></li>
180
- <li><?php _e('Reads today', 'cpd') ?>: <b><?php cpdGetUserToday(); ?></b></li>
181
- <li><?php _e('Reads yesterday', 'cpd') ?>: <b><?php cpdGetUserYesterday(); ?></b></li>
182
- <li><?php _e('Reads last week', 'cpd') ?>: <b><?php cpdGetUserLastWeek(); ?></b></li>
183
- <li><?php _e('Counter starts at', 'cpd') ?>: <b><?php cpdGetFirstCount(); ?></b></li>
184
- <li>&Oslash; <?php _e('Reads per day', 'cpd') ?>: <b><?php cpdGetUserPerDay(); ?></b></li>
185
- </ul>
186
- </td></tr></tbody>
187
- </table>
188
- </td>
189
- <td>
190
- <table class="widefat">
191
- <thead><tr><th><?php _e('Reads per month', 'cpd') ?></th></tr></thead>
192
- <tbody><tr><td><?php cpdGetUserPerMonth(); ?></td></tr></tbody>
193
- </table>
194
- </td>
195
- <td>
196
- <table class="widefat">
197
- <thead><tr><th><?php _e('Reads per post', 'cpd') ?></th></tr></thead>
198
- <tbody><tr><td><?php cpdGetUserPerPost(50); ?></td></tr></tbody>
199
- </table>
200
- </td>
201
- </tr></table>
202
 
203
- </div>
204
- <?php
 
 
 
 
 
 
 
 
 
205
  }
206
 
207
- // statistic functions, you can use is in your template too
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
 
209
  /**
210
- * shows current visitors
211
  */
212
- function cpdGetUserOnline()
213
  {
214
  global $wpdb;
215
- $v = $wpdb->get_var("SELECT count(page) FROM ".CPD_CO_TABLE.";");
216
- echo $v;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  }
218
 
219
  /**
220
- * shows all visitors
 
221
  */
222
- function cpdGetUserAll()
223
  {
224
- global $wpdb;
225
- $v = $wpdb->get_results("SELECT page FROM ".CPD_C_TABLE." GROUP BY ip, date;");
226
- echo count($v);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  }
228
 
229
  /**
230
- * shows today visitors
231
  */
232
- function cpdGetUserToday()
233
  {
234
- global $wpdb;
235
- $date = date('ymd',time());
236
- $v = $wpdb->get_results("SELECT page FROM ".CPD_C_TABLE." WHERE date = '$date' GROUP BY ip;");
237
- echo count($v);
 
238
  }
239
 
240
  /**
241
- * shows yesterday visitors
242
  */
243
- function cpdGetUserYesterday()
244
  {
245
- global $wpdb;
246
- $date = date('ymd',time()-60*60*24);
247
- $v = $wpdb->get_results("SELECT page FROM ".CPD_C_TABLE." WHERE date = '$date' GROUP BY ip;");
248
- echo count($v);
249
  }
250
 
251
  /**
252
- * shows last week visitors (last 7 days)
253
  */
254
- function cpdGetUserLastWeek()
255
  {
256
- global $wpdb;
257
- $date = date('ymd',time()-60*60*24*7);
258
- $v = $wpdb->get_results("SELECT page FROM ".CPD_C_TABLE." WHERE date >= '$date' GROUP BY ip;");
259
- echo count($v);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
260
  }
261
 
262
  /**
263
- * shows visitors per month
264
  */
265
- function cpdGetUserPerMonth()
266
  {
267
- global $wpdb;
268
- $m = $wpdb->get_results("SELECT left(date,4) as month FROM ".CPD_C_TABLE." GROUP BY left(date,4) ORDER BY date desc");
269
- echo '<ul>';
270
- foreach ( $m as $row )
271
- {
272
- $v = $wpdb->get_results("SELECT page FROM ".CPD_C_TABLE." WHERE left(date,4) = ".$row->month." GROUP BY ip, date;");
273
- echo '<li>20'.substr($row->month,0,2).'/'.substr($row->month,2,2).': <b>'.count($v).'</b></li>'."\n";
274
- }
275
- echo '</ul>';
276
  }
277
 
278
  /**
279
- * shows visitors per post
280
- *
281
- * @param integer $limit Sql-Limit, 0 = kein Limit
282
  */
283
- function cpdGetUserPerPost( $limit = 0 )
284
  {
285
  global $wpdb;
286
- global $table_prefix;
287
- $sql = " SELECT count(".CPD_C_TABLE.".id) as count,
288
- ".$table_prefix."posts.post_title as post,
289
- ".$table_prefix."posts.ID as post_id
290
- FROM ".CPD_C_TABLE."
291
- LEFT JOIN ".$table_prefix."posts
292
- ON ".$table_prefix."posts.id = ".CPD_C_TABLE.".page
293
- GROUP BY ".CPD_C_TABLE.".page
294
- ORDER BY count DESC";
295
- if ( $limit > 0 )
296
- $sql .= " LIMIT ".$limit;
297
- $m = $wpdb->get_results($sql);
298
- echo '<ul>';
299
- foreach ( $m as $row )
300
- echo '<li><a href="'.get_bloginfo('url').'?p='.$row->post_id.'">'.$row->post.'</a>: <b>'.$row->count.'</b></li>'."\n";
301
- echo '</ul>';
302
  }
303
 
304
  /**
305
- * shows counter start, first day
306
  */
307
- function cpdGetFirstCount()
308
  {
309
- global $wpdb;
310
- global $wp_locale;
311
- $v = $wpdb->get_var("SELECT date FROM ".CPD_C_TABLE." ORDER BY date LIMIT 1;");
312
- $date = strtotime( '20'.substr($v,0,2).'-'.substr($v,2,2).'-'.substr($v,4,2) );
313
- echo date('j. ', $date) . $wp_locale->get_month( substr($v,2,2) ) . date(' Y', $date);
314
  }
315
 
316
  /**
317
- * shows averaged visitors per day
 
 
 
 
 
 
 
 
 
 
318
  */
319
- function cpdGetUserPerDay()
320
  {
321
- global $wpdb;
322
- $v = $wpdb->get_results("SELECT MIN(date) as min, MAX(date) as max FROM ".CPD_C_TABLE.";");
323
- foreach ($v as $row)
324
- {
325
- $min = strtotime( '20'.substr($row->min,0,2).'-'.substr($row->min,2,2).'-'.substr($row->min,4,2) );
326
- $max = strtotime( '20'.substr($row->max,0,2).'-'.substr($row->max,2,2).'-'.substr($row->max,4,2) );
327
- $tage = (($max - $min) / 86400 + 1);
328
- }
329
- $v = $wpdb->get_results('SELECT page FROM '.CPD_C_TABLE.' GROUP BY ip, date');
330
- $count = count($v) / $tage;
331
- if ( $count < 5 )
332
- echo number_format($count, 2);
333
- else
334
- echo number_format($count, 0);
335
  }
336
 
337
  /**
338
- * deletes spam in table, if you add new bot pattern you can clean the db
339
  */
340
- function cpdCleanDB()
341
  {
342
- global $wpdb;
343
 
344
- $bots = explode( "\n", get_option('cpd_bots') );
345
- $rows = 0;
346
- $v = $wpdb->get_results('SELECT * FROM '.CPD_C_TABLE);
347
- foreach ($v as $row)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
348
  {
349
- if ( cpdIsBot($row->client, $bots) )
350
- {
351
- $wpdb->query('DELETE FROM '.CPD_C_TABLE.' WHERE id = '.$row->id);
352
- $rows++;
353
- }
 
 
 
 
 
 
 
354
  }
355
- return $rows;
356
  }
357
 
358
  /**
359
- * adds stylesheet
360
  */
361
- function cpdAddCSS() {
362
- $this_dir = get_bloginfo('wpurl').'/'.PLUGINDIR.'/'.dirname(plugin_basename(__FILE__));
363
- wp_enqueue_style('cpd_css', $this_dir.'/counter.css', array());
364
- wp_print_styles('cpd_css');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
365
  }
366
 
367
- // only on statistics page
368
- if ( eregi( 'count-per-day', $_REQUEST['page']) )
369
- add_action( 'admin_head', 'cpdAddCSS', 100 );
370
-
371
  /**
372
- * adss menu
373
- * @param string $content WP-"Content"
 
 
374
  */
375
- function cpdMenu($content)
376
  {
377
- global $wp_version;
378
- if (function_exists('add_options_page'))
 
 
 
379
  {
380
- $menutitle = '';
381
- if ( version_compare( $wp_version, '2.6.999', '>' ) )
382
- $menutitle = '<img src="'.cpdGetResource('cpd_menu_2.gif').'" alt="" /> ';
383
- $menutitle .= 'Count per Day';
384
 
385
- add_options_page('CountPerDay', $menutitle, 'manage_options', dirname(plugin_basename(__FILE__)).'/counter-options.php') ;
386
- add_submenu_page('index.php','CountPerDay',$menutitle,1,__FILE__,'cpdDashbord');
 
 
 
 
 
 
 
 
 
 
 
 
387
 
388
- // $plugin = plugin_basename(__FILE__);
389
- // add_filter( 'plugin_action_links_' . $plugin, 'cpd_plugin_actions' );
 
 
 
 
 
 
 
 
390
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  }
 
 
 
 
392
  }
393
 
394
- if ( is_admin() )
395
- add_action('admin_menu', 'cpdMenu');
396
-
397
-
398
  /**
399
- * adds an action link to the plugins page
400
  */
401
- function cpdPluginActions($links, $file)
402
  {
403
- if( $file == plugin_basename(__FILE__) )
404
- {
405
- $link = '<a href="options-general.php?page='.dirname(plugin_basename(__FILE__)).'/counter-options.php">'.__('Settings').'</a>';
406
- array_unshift( $links, $link );
407
- }
408
- return $links;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409
  }
410
-
411
- add_filter('plugin_action_links', 'cpdPluginActions', 10, 2);
412
-
413
 
414
  /**
415
- * adds locale support
416
  */
417
- function cpdInitLocale()
418
  {
419
- $locale = get_locale();
420
- $mofile = dirname(__FILE__) . "/locale/".$locale.".mo";
421
- load_textdomain('cpd', $mofile);
422
- load_plugin_textdomain('cpd', dirname(__FILE__));
 
 
 
423
  }
424
 
425
- add_action('init', 'cpdInitLocale', 98);
 
 
 
 
 
 
426
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
427
 
428
  /**
429
- * loads automatic counter
430
  */
431
- function cpdAutocount( )
432
  {
433
- if ( is_single() || is_page() )
434
- cpdCount();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
435
  }
436
 
437
- if ( get_option('cpd_autocount') == 1 )
438
- add_action('wp', 'cpdAutocount');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
439
 
 
 
 
 
 
 
 
440
 
441
  /**
442
- * uninstall functions, deletes tables and options
 
 
 
443
  */
444
- function cpdUninstall()
445
  {
446
- global $wpdb;
447
- $wpdb->query('DROP TABLE IF EXISTS '.CPD_C_TABLE);
448
- $wpdb->query('DROP TABLE IF EXISTS '.CPD_CO_TABLE);
449
- delete_option('cpd_cdb_version');
450
- delete_option('cpd_codb_version');
451
- delete_option('cpd_onlinetime');
452
- delete_option('cpd_user');
453
- delete_option('cpd_autocount');
454
- delete_option('cpd_bots');
 
 
 
455
  }
456
 
 
 
 
457
 
458
  /**
459
- * defines base64 encoded image recources
460
  */
461
- if( isset($_GET['resource']) && !empty($_GET['resource'])) {
462
- # base64 encoding
463
- $resources = array(
464
- 'cpd_menu.gif' =>
465
- 'R0lGODlhDAAMAJECAHFxcUNDQ////wAAACH5BAEAAAIALAAAAA'.
466
- 'AMAAwAAAIdjI4ppsqNngA0PYDwZDrjUEGLGJGHBKFNwLYuWwAA'.
467
- 'Ow==',
468
- 'cpd_menu_2.gif' =>
469
- 'R0lGODlhDAAMAJECAP8AAAAAAP///wAAACH5BAEAAAIALAAAAA'.
470
- 'AMAAwAAAIdjI4ppsqNngA0PYDwZDrjUEGLGJGHBKFNwLYuWwAA'.
471
- 'Ow==');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
472
 
473
- if(array_key_exists($_GET['resource'], $resources)) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
474
 
475
- $content = base64_decode($resources[ $_GET['resource'] ]);
 
 
 
 
 
 
 
 
 
 
476
 
477
- $lastMod = filemtime(__FILE__);
478
- $client = ( isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) ? $_SERVER['HTTP_IF_MODIFIED_SINCE'] : false );
479
- if (isset($client) && (strtotime($client) == $lastMod)) {
480
- header('Last-Modified: '.gmdate('D, d M Y H:i:s', $lastMod).' GMT', true, 304);
481
- exit;
482
- } else {
483
- header('Last-Modified: '.gmdate('D, d M Y H:i:s', $lastMod).' GMT', true, 200);
484
- header('Content-Length: '.strlen($content));
485
- header('Content-Type: image/' . substr(strrchr($_GET['resource'], '.'), 1) );
486
- echo $content;
487
- exit;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
488
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
489
  }
490
- }
 
 
491
 
492
 
493
  /**
494
- * gets image recource with given name
495
  */
496
- function cpdGetResource( $resourceID ) {
497
- return trailingslashit( get_bloginfo('url') ) . '?resource=' . $resourceID;
 
 
 
 
 
498
  }
499
 
500
- // since WP 2.7
501
- if ( function_exists('register_uninstall_hook') )
502
- register_uninstall_hook(__FILE__, 'cpdUninstall');
503
 
504
-
505
- ?>
2
  /*
3
  Plugin Name: Count Per Day
4
  Plugin URI: http://www.tomsdimension.de/wp-plugins/count-per-day
5
+ Description: Counter, shows reads per page; today, yesterday, last week, last months ... on dashboard, per shortcode or in widget.
6
+ Version: 2.16
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 = '2.16';
14
 
15
  /**
16
+ * include GeoIP addon
17
  */
18
+ $cpd_path = str_replace('/', DIRECTORY_SEPARATOR, ABSPATH.PLUGINDIR.'/'.$cpd_dir_name.'/');
19
+
20
+ if ( file_exists($cpd_path.'geoip/geoip.php') )
21
+ include_once($cpd_path.'geoip/geoip.php');
22
+ $cpd_geoip = ( class_exists('CpdGeoIp') && file_exists($cpd_path.'geoip/GeoIP.dat') ) ? 1 : 0;
23
+
24
+ /**
25
+ * Count per Day
26
+ */
27
+ class CountPerDay
28
+ {
29
+
30
+ var $options; // options array
31
+ var $dir; // this plugin dir
32
+ var $dbcon; // database connection
33
+ var $queries = array(); // queries times for debug
34
+ var $page; // Post/Page-ID
35
+ var $installed = false; // CpD installed in subblogs?
36
+
37
+ /**
38
+ * Constructor
39
+ */
40
+ function CountPerDay()
41
+ {
42
+ // variables
43
+ global $table_prefix, $cpd_path, $cpd_dir_name;
44
+ define('CPD_C_TABLE', $table_prefix.'cpd_counter');
45
+ define('CPD_CO_TABLE', $table_prefix.'cpd_counter_useronline');
46
+ define('CPD_N_TABLE', $table_prefix.'cpd_notes');
47
+ define('CPD_METABOX', 'cpd_metaboxes');
48
+
49
+ // use local time, not UTC
50
+ get_option('gmt_offset');
51
+
52
+ $this->options = get_option('count_per_day');
53
+
54
+ // manual debug mode
55
+ if ( !empty($_GET['debug']) && WP_DEBUG )
56
+ $this->options['debug'] = 1;
57
+
58
+ $this->dir = get_bloginfo('wpurl').'/'.PLUGINDIR.'/'.$cpd_dir_name;
59
+ $this->queries[0] = 0;
60
+
61
+ // update online counter
62
+ add_action('wp', array(&$this, 'deleteOnlineCounter'));
63
+
64
+ // admin menu
65
+ if ( is_admin() )
66
+ add_action('admin_menu', array(&$this, 'menu'));
67
+
68
+ // settings link on plugin page
69
+ add_filter('plugin_action_links', array(&$this, 'pluginActions'), 10, 2);
70
+
71
+ // auto counter
72
+ if ( $this->options['autocount'] == 1 )
73
+ add_action('wp', array(&$this,'count'));
74
+
75
+ // javascript to count cached posts
76
+ if ( $this->options['ajax'] == 1 )
77
+ {
78
+ wp_enqueue_script('jquery');
79
+ add_action('wp_footer', array(&$this,'addAjaxScript'));
80
+ }
81
+
82
+ // widget on dashboard page
83
+ add_action('wp_dashboard_setup', array(&$this, 'dashboardWidgetSetup'));
84
+
85
+ // CpD dashboard page
86
+ add_filter('screen_layout_columns', array(&$this, 'screenLayoutColumns'), 10, 2);
87
+
88
+ // register callback for admin menu setup
89
+ add_action('admin_menu', array(&$this, 'setAdminMenu'));
90
+
91
+ // column page list
92
+ add_action('manage_pages_custom_column', array(&$this, 'cpdColumnContent'), 10, 2);
93
+ add_filter('manage_pages_columns', array(&$this, 'cpdColumn'));
94
+
95
+ // column post list
96
+ add_action('manage_posts_custom_column', array(&$this, 'cpdColumnContent'), 10, 2);
97
+ add_filter('manage_posts_columns', array(&$this, 'cpdColumn'));
98
+
99
+ // locale support
100
+ if (defined('WPLANG') && function_exists('load_plugin_textdomain'))
101
+ load_plugin_textdomain('cpd', false, $cpd_dir_name.'/locale');
102
+
103
+ // adds stylesheet
104
+ add_action('admin_head', array(&$this, 'addCss'));
105
+ if ( empty($this->options['no_front_css']) )
106
+ add_action('wp_head', array(&$this, 'addCss'));
107
+
108
+ // adds javascript
109
+ add_action('admin_head', array(&$this, 'addJS'));
110
+
111
+ // widget setup
112
+ add_action('widgets_init', array( &$this, 'register_widgets'));
113
+
114
+ // activation hook
115
+ register_activation_hook(ABSPATH.PLUGINDIR.'/count-per-day/counter.php', array(&$this, 'checkVersion'));
116
+
117
+ // update hook
118
+ if ( function_exists('register_update_hook') )
119
+ register_update_hook(ABSPATH.PLUGINDIR.'/count-per-day/counter.php', array(&$this, 'checkVersion'));
120
+
121
+ // uninstall hook
122
+ register_uninstall_hook($cpd_path.'counter.php', 'count_per_day_uninstall');
123
+
124
+ // query times debug
125
+ if ( $this->options['debug'] )
126
+ {
127
+ add_action('wp_footer', array(&$this, 'showQueries'));
128
+ add_action('admin_footer', array(&$this, 'showQueries'));
129
+ }
130
+
131
+ // add shortcode support
132
+ $this->addShortcodes();
133
+
134
+ // thickbox in backend only
135
+ if ( strpos($_SERVER['SCRIPT_NAME'], '/wp-admin/') !== false )
136
+ {
137
+ wp_enqueue_script('thickbox');
138
+ wp_enqueue_script('cpd_flot', $this->dir.'/js/jquery.flot.min.js', 'jQuery');
139
+ }
140
+
141
+ // Session
142
+ add_action('init', array(&$this, 'startSession'));
143
+
144
+ $this->connectDB();
145
+ }
146
+
147
+ /**
148
+ * starts session to provide WP variables to "addons"
149
+ */
150
+ function startSession()
151
+ {
152
+ if (!session_id())
153
+ session_start();
154
+ $_SESSION['cpd_wp'] = ABSPATH;
155
+ }
156
+
157
+ /**
158
+ * direct database connection without wordpress functions saves memory
159
+ */
160
+ function connectDB()
161
+ {
162
+ global $wpdb;
163
+
164
+ $this->dbcon = @mysql_connect(DB_HOST, DB_USER, DB_PASSWORD, true);
165
+ @mysql_select_db(DB_NAME, $this->dbcon);
166
+ $this->getQuery("SET NAMES '".$wpdb->charset."'", 'SET NAMES');
167
+ }
168
+
169
+ /**
170
+ * get results per own connection (shows time for debug)
171
+ * @param string $sql SQL statement
172
+ * @param string $func show this name before time
173
+ * @return MySql result
174
+ */
175
+ function getQuery( $sql, $func = '' )
176
+ {
177
+ global $wpdb;
178
+
179
+ if ( $this->options['debug'] )
180
+ {
181
+ $t = microtime(true);
182
+ $res = mysql_query($sql, $this->dbcon);
183
+ $d = number_format( microtime(true) - $t , 5);
184
+ $error = ($res) ? '' : '<b style="color:red">ERROR:</b> '.mysql_errno($this->dbcon).' - '.mysql_error($this->dbcon);
185
+ $this->queries[] = $func.' : <b>'.$d.'</b><br/><code>'.$sql.'</code><br/>'.$error;
186
+ $this->queries[0] += $d;
187
+ }
188
+ else
189
+ $res = @mysql_query($sql, $this->dbcon);
190
+
191
+ return $res;
192
+ }
193
 
194
  /**
195
  * counts and shows visits
198
  * @param string $after string after the number
199
  * @param boolean $show "echo" (true, standard) or "return"
200
  * @param boolean $count count visits (true, standard) or only show vistis
201
+ * @param string/int $page PostID to count
202
  * @return string counter string
203
  */
204
+ function show( $before='', $after=' reads', $show = true, $count = true, $page = 'x' )
205
+ {
206
+ global $wpdb;
207
+ // count once only
208
+ if ( $count && !$this->options['autocount'] )
209
+ $this->count();
210
+ if ( $page == 'x' )
211
+ $page = get_the_ID();
212
+ $res = $this->getQuery("SELECT COUNT(*) FROM ".CPD_C_TABLE." WHERE page='$page'", 'show');
213
+ $row = mysql_fetch_row($res);
214
+ if ( $show )
215
+ echo $before.$row[0].$after;
216
+ else
217
+ return $row[0];
218
+ }
219
+
220
+ /**
221
+ * anonymize IP address (last bit) if option is set
222
+ * @param $ip real IP address
223
+ * @return new IP address
224
+ */
225
+ function anonymize_ip( $ip )
226
+ {
227
+ if ( $this->options['debug'] )
228
+ $this->queries[] = 'called Function: <b style="color:blue">anonymize_ip</b> IP: <code>'.$ip.'</code>';
229
+
230
+ if ($this->options['anoip'] == 1)
231
+ {
232
+ $i = explode('.', $ip);
233
+ $i[3] += round( array_sum($i) / 4 + date_i18n('d') );
234
+ if ( $i[3] > 255 )
235
+ $i[3] -= 255;
236
+ return implode('.', $i);
237
+ }
238
+ else
239
+ return $ip;
240
+ }
241
+
242
+ /**
243
+ * gets PostID
244
+ */
245
+ function getPostID()
246
+ {
247
+ global $wp_query;
248
+
249
+ // find PostID
250
+ if ( !is_404() ) :
251
+ if ( $this->options['autocount'] == 1 && is_singular() )
252
+ {
253
+ // single page with autocount on
254
+ // make loop before regular loop is defined
255
+ if (have_posts()) :
256
+ while ( have_posts() && empty($p) ) :
257
+ the_post();
258
+ $p = get_the_ID();
259
+ endwhile;
260
+ endif;
261
+ rewind_posts();
262
+ }
263
+ else if ( is_singular() )
264
+ // single page with template tag show() or count()
265
+ $p = get_the_ID();
266
+
267
+ // "index" pages only with autocount
268
+ else if ( is_category() || is_tag() )
269
+ // category or tag => negativ ID in CpD DB
270
+ $p = 0 - $wp_query->get_queried_object_id();
271
+ else
272
+ // index, date, search and other "list" pages will count only once
273
+ $p = 0;
274
+
275
+ $this->page = $p;
276
+
277
+ if ( $this->options['debug'] )
278
+ $this->queries[] = 'called Function: <b style="color:blue">getPostID</b> page ID: <code>'.$p.'</code>';
279
+
280
+ return $p;
281
+ endif;
282
+
283
+ return false;
284
+ }
285
+
286
+ /**
287
+ * counts visits (without show)
288
+ * @param $x some wp data (ignore it)
289
+ * @param string/int $page PostID to count
290
+ */
291
+ function count( $x, $page = 'x' )
292
+ {
293
+ global $wpdb, $wp_query, $cpd_path, $cpd_geoip, $userdata, $table_prefix;
294
+
295
+ if ( $this->options['debug'] )
296
+ $this->queries[] = 'called Function: <b style="color:blue">count</b> page: <code>'.$page.'</code>';
297
+
298
+ if ( $page == 'x' )
299
+ // normal counter
300
+ $page = $this->getPostID();
301
+ else
302
+ // ajax counter on cached pages
303
+ $page = intval($page);
304
+
305
+ // get userlevel from role
306
+ $caps = $table_prefix.'capabilities';
307
+ if ( isset($userdata->$caps) )
308
+ {
309
+ $role = $userdata->$caps;
310
+ if ($role['administrator']) $userlevel = 10;
311
+ else if ($role['editor']) $userlevel = 7;
312
+ else if ($role['author']) $userlevel = 2;
313
+ else if ($role['contributor']) $userlevel = 1;
314
+ else if ($role['subscriber']) $userlevel = 0;
315
+ else $userlevel = -1;
316
+ }
317
+ else
318
+ $userlevel = -1;
319
+
320
+ // count visitor?
321
+ $countUser = 1;
322
+ if ( $this->options['user'] == 0 && is_user_logged_in() ) $countUser = 0; // don't count loged user
323
+ if ( $this->options['user'] == 1 && isset($userdata) && $this->options['user_level'] < $userlevel ) $countUser = 0; // loged user, but higher user level
324
+
325
+ $isBot = $this->isBot();
326
+
327
+ if ( $this->options['debug'] )
328
+ $this->queries[] = 'called Function: <b style="color:blue">count (variables)</b> '
329
+ .'isBot: <code>'.intval($isBot).'</code> '
330
+ .'countUser: <code>'.$countUser.'</code> '
331
+ .'page: <code>'.$page.'</code> '
332
+ .'userlevel: <code>'.$userlevel.'</code>';
333
+
334
+ // only count if: non bot, Logon is ok
335
+ if ( !$isBot && $countUser && isset($page) )
336
+ {
337
+ $userip = $this->anonymize_ip($_SERVER['REMOTE_ADDR']);
338
+ $client = ($this->options['referers']) ? $_SERVER['HTTP_USER_AGENT'] : '';
339
+ $referer = ($this->options['referers'] && isset($_SERVER['HTTP_REFERER'])) ? $_SERVER['HTTP_REFERER'] : '';
340
+ $date = date_i18n('Y-m-d');
341
+
342
+ // new visitor on page?
343
+ $res = $this->getQuery("SELECT count(*) FROM ".CPD_C_TABLE." WHERE ip=INET_ATON('$userip') AND date='$date' AND page='$page'", 'count check');
344
+ $row = mysql_fetch_row($res);
345
+ if ( $row[0] == 0 )
346
+ {
347
+ // save count
348
+ if ( $cpd_geoip )
349
+ {
350
+ // with GeoIP addon save country
351
+ $gi = cpd_geoip_open($cpd_path.'geoip/GeoIP.dat', GEOIP_STANDARD);
352
+ $country = strtolower(cpd_geoip_country_code_by_addr($gi, $userip));
353
+ $this->getQuery($wpdb->prepare("INSERT INTO ".CPD_C_TABLE." (page, ip, client, date, country, referer)
354
+ VALUES (%s, INET_ATON(%s), %s, %s, %s, %s)", $page, $userip, $client, $date, $country, $referer), 'count insert');
355
+ }
356
+ else
357
+ {
358
+ // without country
359
+ $this->getQuery($wpdb->prepare("INSERT INTO ".CPD_C_TABLE." (page, ip, client, date, referer)
360
+ VALUES (%s, INET_ATON(%s), %s, %s, %s)", $page, $userip, $client, $date, $referer), 'count insert');
361
+ }
362
+ }
363
+
364
+ // online counter
365
+ $timestamp = time();
366
+ $this->getQuery($wpdb->prepare("REPLACE INTO ".CPD_CO_TABLE." (timestamp, ip, page)
367
+ VALUES ( %s, INET_ATON(%s), %s)", $timestamp, $userip, $page), 'count online');
368
+ }
369
+ }
370
+
371
+ /**
372
+ * deletes old online user
373
+ */
374
+ function deleteOnlineCounter()
375
+ {
376
+ $timeout = time() - $this->options['onlinetime'];
377
+ $this->getQuery("DELETE FROM ".CPD_CO_TABLE." WHERE timestamp < $timeout", 'deleteOnlineCounter');
378
+ }
379
+
380
+ /**
381
+ * bot or human?
382
+ * @param string $client USER_AGENT
383
+ * @param array $bots strings to check
384
+ * @param string $ip IP adress
385
+ */
386
+ function isBot( $client = '', $bots = '', $ip = '' )
387
+ {
388
+ if ( empty($client) )
389
+ $client = $_SERVER['HTTP_USER_AGENT'];
390
+ if ( empty($ip) )
391
+ $ip = $_SERVER['REMOTE_ADDR'];
392
+
393
+ // empty/short client -> not normal browser -> bot
394
+ if ( empty($client) || strlen($client) < 20 )
395
+ return true;
396
+
397
+ if ( empty($bots) )
398
+ $bots = explode( "\n", $this->options['bots'] );
399
+
400
+ $isBot = false;
401
+ foreach ( $bots as $bot )
402
+ {
403
+ if (!$isBot) // loop until first bot was found only
404
+ {
405
+ $b = trim($bot);
406
+ if ( !empty($b) && ( $ip == $b || strpos( strtolower($client), strtolower($b) ) !== false ) )
407
+ $isBot = true;
408
+ }
409
+ }
410
+ return $isBot;
411
+ }
412
+
413
+ /**
414
+ * creates tables if not exists
415
+ */
416
+ function createTables()
417
+ {
418
+ global $wpdb, $table_prefix;
419
+
420
+ // for plugin activation, creates $wpdb
421
+ require_once(ABSPATH.'wp-admin/includes/upgrade.php');
422
+
423
+ // variables for subblogs
424
+ $cpd_c = $table_prefix.'cpd_counter';
425
+ $cpd_o = $table_prefix.'cpd_counter_useronline';
426
+ $cpd_n = $table_prefix.'cpd_notes';
427
+
428
+ if (!empty ($wpdb->charset))
429
+ $charset_collate = "DEFAULT CHARACTER SET {$wpdb->charset}";
430
+ if (!empty ($wpdb->collate))
431
+ $charset_collate .= " COLLATE {$wpdb->collate}";
432
+
433
+ // table "counter"
434
+ $sql = "CREATE TABLE IF NOT EXISTS `$cpd_c` (
435
+ `id` int(10) NOT NULL auto_increment,
436
+ `ip` int(10) unsigned NOT NULL,
437
+ `client` varchar(150) NOT NULL,
438
+ `date` date NOT NULL,
439
+ `page` mediumint(9) NOT NULL,
440
+ `referer` varchar(100) NOT NULL,
441
+ PRIMARY KEY (`id`),
442
+ KEY `idx_page` (`page`),
443
+ KEY `idx_dateip` (`date`,`ip`) )
444
+ $charset_collate;";
445
+ $this->getQuery($sql);
446
+
447
+ // update fields in old table
448
+ $field = $this->getQuery( "SHOW FIELDS FROM `$cpd_c` LIKE 'ip'" );
449
+ $row = mysql_fetch_array($field);
450
+ if ( strpos(strtolower($row['Type']), 'int') === false )
451
+ {
452
+ $queries = array (
453
+ "ALTER TABLE `$cpd_c` ADD `ip2` INT(10) UNSIGNED NOT NULL AFTER `ip`",
454
+ "UPDATE `$cpd_c` SET ip2 = INET_ATON(ip)",
455
+ "ALTER TABLE `$cpd_c` DROP `ip`",
456
+ "ALTER TABLE `$cpd_c` CHANGE `ip2` `ip` INT( 10 ) UNSIGNED NOT NULL",
457
+ "ALTER TABLE `$cpd_c` CHANGE `date` `date` date NOT NULL",
458
+ "ALTER TABLE `$cpd_c` CHANGE `page` `page` mediumint(9) NOT NULL");
459
+
460
+ foreach ( $queries as $sql)
461
+ $this->getQuery($sql, 'update old fields');
462
+ }
463
+
464
+ // make new keys
465
+ $keys = $this->getQuery( "SHOW KEYS FROM `$cpd_c`" );
466
+ $s = array();
467
+ while ( $row = mysql_fetch_array($keys) )
468
+ if ( $row['Key_name'] != 'PRIMARY' )
469
+ $s[] = 'DROP INDEX `'.$row['Key_name'].'`';
470
+ $s = array_unique($s);
471
+
472
+ $sql = "ALTER TABLE `$cpd_c` ";
473
+ if ( sizeof($s) )
474
+ $sql .= implode(',', $s).', ';
475
+ $sql .= 'ADD KEY `idx_dateip` (`date`,`ip`), ADD KEY `idx_page` (`page`)';
476
+ $this->getQuery($sql);
477
+
478
+ // if GeoIP installed we need row "country"
479
+ if ( class_exists('CpdGeoIp') )
480
+ {
481
+ $this->getQuery("SELECT country FROM `$cpd_c`");
482
+ if ((int) mysql_errno() == 1054)
483
+ $this->getQuery("ALTER TABLE `$cpd_c` ADD `country` CHAR(2) NOT NULL");
484
+ }
485
+
486
+ // referer
487
+ $this->getQuery("SELECT referer FROM `$cpd_c`");
488
+ if ((int) mysql_errno() == 1054)
489
+ $this->getQuery("ALTER TABLE `$cpd_c` ADD `referer` VARCHAR(100) NOT NULL");
490
+
491
+ // table "counter-online"
492
+ $sql = "CREATE TABLE IF NOT EXISTS `$cpd_o` (
493
+ `timestamp` int(15) NOT NULL,
494
+ `ip` int(10) UNSIGNED NOT NULL,
495
+ `page` int(11) NOT NULL,
496
+ PRIMARY KEY (`ip`) )
497
+ $charset_collate;";
498
+ $this->getQuery($sql);
499
+
500
+ // table "notes"
501
+ $sql = "CREATE TABLE IF NOT EXISTS `$cpd_n` (
502
+ `id` int(11) NOT NULL AUTO_INCREMENT,
503
+ `date` date NOT NULL,
504
+ `note` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
505
+ PRIMARY KEY (`id`),
506
+ UNIQUE KEY `date` (`date`) )
507
+ $charset_collate;";
508
+ $this->getQuery($sql);
509
+
510
+ // update options to array
511
+ $this->UpdateOptions();
512
+
513
+ // set directory mode
514
+ @chmod(ABSPATH.PLUGINDIR.'/count-per-day/geoip', 0777);
515
+ }
516
+
517
+ /**
518
+ * creates dashboard summary metabox content
519
+ */
520
+ function dashboardReadsAtAll()
521
+ {
522
+ $thisMonth = date_i18n('F');
523
+ ?>
524
+ <ul>
525
+ <li><b><span><?php $this->getReadsAll(); ?></span></b><?php _e('Total reads', 'cpd') ?>:</li>
526
+ <li><b><?php $this->getReadsToday(); ?></b><?php _e('Reads today', 'cpd') ?>:</li>
527
+ <li><b><?php $this->getReadsYesterday(); ?></b><?php _e('Reads yesterday', 'cpd') ?>:</li>
528
+ <li><b><?php $this->getReadsLastWeek(); ?></b><?php _e('Reads last week', 'cpd') ?>:</li>
529
+ <li><b><?php $this->getReadsThisMonth(); ?></b><?php _e('Reads', 'cpd') ?> <?php echo $thisMonth ?>:</li>
530
+ <li><b><span><?php $this->getUserAll(); ?></span></b><?php _e('Total visitors', 'cpd') ?>:</li>
531
+ <li><b><span><?php $this->getUserOnline(); ?></span></b><?php _e('Visitors currently online', 'cpd') ?>:</li>
532
+ <li><b><?php $this->getUserToday(); ?></b><?php _e('Visitors today', 'cpd') ?>:</li>
533
+ <li><b><?php $this->getUserYesterday(); ?></b><?php _e('Visitors yesterday', 'cpd') ?>:</li>
534
+ <li><b><?php $this->getUserLastWeek(); ?></b><?php _e('Visitors last week', 'cpd') ?>:</li>
535
+ <li><b><?php $this->getUserThisMonth(); ?></b><?php _e('Total visitors', 'cpd') ?> <?php echo $thisMonth ?>:</li>
536
+ <li><b><?php $this->getUserPerDay($this->options['dashboard_last_days']); ?></b>&Oslash; <?php _e('Visitors per day', 'cpd') ?>:</li>
537
+ <li><b><?php $this->getFirstCount(); ?></b><?php _e('Counter starts on', 'cpd') ?>:</li>
538
+ </ul>
539
+ <?php
540
+ }
541
+
542
+ /**
543
+ * creates the big chart with reads and visotors
544
+ * @param int $limit last x days
545
+ */
546
+ function getFlotChart( $limit = 0 )
547
+ {
548
+ global $table_prefix;
549
+ if ( $limit == 0 )
550
+ $limit = (!empty($this->options['chart_days'])) ? $this->options['chart_days'] : 30;
551
+ $limit -= 1;
552
+
553
+ // last day
554
+ $end_sql = (isset($_GET['cpd_chart_start'])) ? $_GET['cpd_chart_start'] : date_i18n('Y-m-d');
555
+ $end_time = strtotime($end_sql);
556
+ $end_str = mysql2date(get_option('date_format'), $end_sql);
557
+
558
+ // first day
559
+ $start_time = $end_time - $limit * 86400;
560
+ $start_sql = date('Y-m-d', $start_time);
561
+ $start_str = mysql2date(get_option('date_format'), $start_sql);
562
+
563
+ // buttons
564
+ $button_back = date('Y-m-d', $start_time - 86400);
565
+ $button_forward = date('Y-m-d', $end_time + 86400 * ($limit + 1));
566
+
567
+ // create data array
568
+ $data = array();
569
+ for ( $day = $start_time; $day < $end_time; $day = $day + 86400 )
570
+ $data[$day] = array(0, 0);
571
+
572
+ // reads
573
+ $sql = "
574
+ SELECT COUNT(*) count, c.date
575
+ FROM ".CPD_C_TABLE." AS c
576
+ WHERE c.date BETWEEN '$start_sql' AND '$end_sql'
577
+ GROUP BY c.date";
578
+ $res = $this->getQuery($sql, 'ChartReads');
579
+ if ( @mysql_num_rows($res) )
580
+ while ( $row = mysql_fetch_array($res) )
581
+ $data[strtotime($row['date'])][0] = $row['count'];
582
+
583
+ // visitors
584
+ $sql = "
585
+ SELECT COUNT(*) count, t.date
586
+ FROM ( SELECT COUNT(*) count, date
587
+ FROM ".CPD_C_TABLE."
588
+ GROUP BY date, ip
589
+ ) AS t
590
+ WHERE t.date BETWEEN '$start_sql' AND '$end_sql'
591
+ GROUP BY t.date";
592
+ $res = $this->getQuery($sql, 'ChartVisitors');
593
+ if ( @mysql_num_rows($res) )
594
+ while ( $row = mysql_fetch_array($res) )
595
+ $data[strtotime($row['date'])][1] = $row['count'];
596
+
597
+ // fill data array
598
+ $reads = array();
599
+ $visitors = array();
600
+ foreach ( $data as $day => $values )
601
+ {
602
+ $reads[] = '['.$day.'000,'.$values[0].']';
603
+ $visitors[] = '['.$day.'000,'.$values[1].']';
604
+ }
605
+ $reads_line = '['.implode(',', $reads).']';
606
+ $visitors_line = '['.implode(',', $visitors).']';
607
+ ?>
608
+
609
+ <div id="cpd-flot-place">
610
+ <div id="cpd-flot-choice">
611
+ <div style="float:left">
612
+ <a href="index.php?page=cpd_metaboxes&amp;cpd_chart_start=<?php echo $button_back ?>" class="button">&lt;</a>
613
+ <?php echo $start_str ?>
614
+ </div>
615
+ <div style="float:right">
616
+ <?php echo $end_str ?>
617
+ <a href="index.php?page=cpd_metaboxes&amp;cpd_chart_start=<?php echo $button_forward ?>" class="button">&gt;</a>
618
+ </div>
619
+ </div>
620
+ <div id="cpd-flot" style="height:<?php echo (!empty($this->options['chart_height'])) ? $this->options['chart_height'] : 200; ?>px"></div>
621
+ </div>
622
+
623
+ <script type="text/javascript">
624
+ //<![CDATA[
625
+ jQuery(function() {
626
+ var placeholder = jQuery("#cpd-flot");
627
+ var choiceContainer = jQuery("#cpd-flot-choice");
628
+ var colors = ['blue', 'red'];
629
+ var datasets = {
630
+ 'reads': { data: <?php echo $reads_line ?>, label: '<?php _e('Reads per day', 'cpd') ?>' },
631
+ 'visitors' : { data: <?php echo $visitors_line ?>, label: '<?php _e('Visitors per day', 'cpd') ?>' }
632
+ };
633
+
634
+ // Checkboxen
635
+ var i = 0;
636
+ jQuery.each(datasets, function(key, val) {
637
+ val.color = i;
638
+ ++i;
639
+ choiceContainer.append(
640
+ '<input type="checkbox" name="' + key + '" checked="checked" id="id' + key + '" \/> '
641
+ + '<label style="padding-left:3px;margin-right:10px;border-left:14px solid ' + colors[val.color] + '" for="id' + key + '">' + val.label + '<\/label> ');
642
+ });
643
+ choiceContainer.find("input").click(plotAccordingToChoices);
644
+
645
+ function showTooltip(x, y, contents) {
646
+ jQuery('<div id="cpd-tooltip">' + contents + '<\/div>').css({ top:y-70, left:x-80 }).appendTo("body").fadeIn(200);
647
+ }
648
+
649
+ var previousPoint = null;
650
+ jQuery(placeholder).bind("plothover", function (event, pos, item) {
651
+ if (item) {
652
+ if (previousPoint != item.datapoint) {
653
+ previousPoint = item.datapoint;
654
+ jQuery("#cpd-tooltip").remove();
655
+ var dx = new Date(item.datapoint[0]);
656
+ var datum = dx.getDate() + '.' + (dx.getMonth() + 1) + '.' + dx.getFullYear();
657
+ showTooltip(item.pageX, item.pageY,
658
+ datum + '<br\/><b>' + item.datapoint[1] + '<\/b> ' + item.series.label);
659
+ }
660
+ }
661
+ else {
662
+ jQuery("#cpd-tooltip").remove();
663
+ previousPoint = null;
664
+ }
665
+ });
666
+
667
+ function weekendAreas(axes) {
668
+ var markings = [];
669
+ var d = new Date(axes.xaxis.min);
670
+ d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7));
671
+ d.setUTCSeconds(0);
672
+ d.setUTCMinutes(0);
673
+ d.setUTCHours(0);
674
+ var i = d.getTime();
675
+ do {
676
+ markings.push({ xaxis: { from: i, to: i + 2 * 24 * 60 * 60 * 1000 } });
677
+ i += 7 * 24 * 60 * 60 * 1000;
678
+ } while (i < axes.xaxis.max);
679
+ return markings;
680
+ }
681
+
682
+ function plotAccordingToChoices() {
683
+ var data = [];
684
+ choiceContainer.find("input:checked").each(function () {
685
+ var key = jQuery(this).attr("name");
686
+ if (key && datasets[key])
687
+ data.push(datasets[key]);
688
+ });
689
+
690
+ if (data.length > 0)
691
+ jQuery.plot(jQuery(placeholder), data , {
692
+ xaxis: { mode: 'time', timeformat: '%d.%m.%y' },
693
+ legend: { show: false },
694
+ colors: colors,
695
+ lines: { fill: true },
696
+ grid: { borderWidth: 1, borderColor: '#ccc', hoverable: true, markings: weekendAreas }
697
+ });
698
+ }
699
+
700
+ plotAccordingToChoices();
701
+ });
702
+ //]]>
703
+ </script>
704
+ <?php
705
+ }
706
+
707
+ /**
708
+ * creates dashboard chart metabox content - page visits
709
+ * @param integer $limit days to show
710
+ * @param boolean $frontend limit function on frontend
711
+ * @see dashboardChartDataRequest()
712
+ */
713
+ function dashboardChart( $limit = 0, $frontend = false )
714
+ {
715
+ global $table_prefix;
716
+ if ( $limit == 0 )
717
+ $limit = ( !empty($this->options['chart_days']) )? $this->options['chart_days'] : 30;
718
+ $start = ( isset($_GET['cpd_chart_start']) ) ? $_GET['cpd_chart_start'] : date_i18n('Y-m-d');
719
+
720
+ $sql = "
721
+ SELECT count(*) count, c.date, n.note
722
+ FROM ".CPD_C_TABLE." AS c
723
+ LEFT JOIN ".$table_prefix."cpd_notes AS n
724
+ ON n.date = c.date
725
+ WHERE c.date <= '".$start."'
726
+ GROUP BY c.date
727
+ ORDER BY c.date DESC
728
+ LIMIT $limit";
729
+ $r = $this->dashboardChartDataRequest($sql, $limit, $frontend);
730
+ if ($frontend)
731
+ return $r;
732
+ else
733
+ echo $r;
734
+ }
735
+
736
+ /**
737
+ * creates dashboard chart metabox content - visitors
738
+ * @param integer limit days to show
739
+ * @param boolean $frontend limit function on frontend
740
+ * @see dashboardChartDataRequest()
741
+ */
742
+ function dashboardChartVisitors( $limit = 0, $frontend = false )
743
+ {
744
+ global $table_prefix;
745
+ if ( $limit == 0 )
746
+ $limit = ( !empty($this->options['chart_days']) )? $this->options['chart_days'] : 30;
747
+ $start = ( isset($_GET['cpd_chart_start']) ) ? $_GET['cpd_chart_start'] : date_i18n('Y-m-d');
748
+ $sql = "
749
+ SELECT count(*) count, t.date, n.note
750
+ FROM ( SELECT count(*) count, date
751
+ FROM ".CPD_C_TABLE."
752
+ GROUP BY date, ip
753
+ ) AS t
754
+ LEFT JOIN ".$table_prefix."cpd_notes AS n
755
+ ON n.date = t.date
756
+ WHERE t.date <= '".$start."'
757
+ GROUP BY t.date
758
+ ORDER BY t.date DESC
759
+ LIMIT $limit";
760
+ $r = $this->dashboardChartDataRequest($sql, $limit, $frontend);
761
+ if ($frontend)
762
+ return $r;
763
+ else
764
+ echo $r;
765
+ }
766
+
767
+ /**
768
+ * creates dashboard chart metabox content
769
+ * @param string $sql SQL-Statement visitors or page visits
770
+ * @param boolean $frontend limit function on frontend
771
+ */
772
+ function dashboardChartDataRequest( $sql = '', $limit, $frontend = false )
773
+ {
774
+ global $wp_locale;
775
+
776
+ // get options
777
+ $max_height = ( !empty($this->options['chart_height']) ) ? $this->options['chart_height'] : 200;
778
+
779
+ $res = $this->getQuery($sql, 'Chart');
780
+ if ( mysql_errno() || !mysql_num_rows($res) )
781
+ return;
782
+
783
+ $res_array = array();
784
+
785
+ // find date end points
786
+ while ( $day = mysql_fetch_assoc($res) )
787
+ {
788
+ $res_array[] = $day;
789
+ if ( empty($end) )
790
+ $end = $day['date'];
791
+ $start = $day['date'];
792
+ }
793
+
794
+ $end_time = strtotime($end);
795
+ $start_time = max( array($end_time - ($limit - 1) * 86400, strtotime($start)) );
796
+ $days = round(max(1, ($end_time - $start_time) / 86400 + 1));
797
+ $bar_width = round(100 / $days, 2); // per cent
798
+
799
+ // find max count
800
+ $max = 1;
801
+ mysql_data_seek($res, 0);
802
+ while ( $day = mysql_fetch_array($res) )
803
+ {
804
+ $date = strtotime($day['date']);
805
+ if ( $date >= $start_time && $day['count'] > $max )
806
+ $max = max(1, $day['count']);
807
+ }
808
+
809
+ $height_factor = $max_height / $max;
810
+
811
+ // headline with max count
812
+ $r = '
813
+ <div style="text-align:center;">
814
+ <small style="display:block; float:right;">'.$days.' '.__('days', 'cpd').'</small>
815
+ <small style="display:block; float:left;">Max: '.$max.'</small>';
816
+ if ( !$frontend )
817
+ $r .= '<small><a href="'.$this->dir.'/notes.php?KeepThis=true&amp;TB_iframe=true" title="Count per Day" class="thickbox">'.__('Notes', 'cpd').'</a></small>';
818
+ $r .= '<small>&nbsp;</small></div>';
819
+
820
+ $r .= '<p style="border-bottom:1px black solid; white-space:nowrap;">';
821
+
822
+ $date_old = $start_time;
823
+
824
+ // newest data will show right
825
+ $res_array = array_reverse($res_array);
826
+ foreach ( $res_array as $day )
827
+ {
828
+ $date = strtotime($day['date']);
829
+ $note = ( $day['note'] != '' ) ? ' - '.$day['note'] : '';
830
+
831
+ if ( $date >= $start_time )
832
+ {
833
+ // show the last $limit days only
834
+ if ( $date - $date_old > 86400 )
835
+ {
836
+ // show space if no reads today
837
+ $width = (($date - $date_old) / 86400 - 1) * $bar_width;
838
+ if ( $frontend )
839
+ $note = '';
840
+ $r .= '<img src="'.$this->getResource('cpd_trans.png').'" title="'.__('no reads at this time', 'cpd').$note.'"
841
+ style="width:'.$width.'%; height:'.$max_height.'px" />';
842
+ }
843
+
844
+ // show normal bar
845
+ $height = max( round($day['count'] * $height_factor, 0), 1 );
846
+ $date_str = mysql2date(get_option('date_format'), $day['date']);
847
+ if ( !$frontend )
848
+ $r .= '<a href="?page=cpd_metaboxes&amp;daytoshow='.$day['date'].'">';
849
+ $r .= '<img src="';
850
+ if ($note && !$frontend)
851
+ $r .= $this->getResource('cpd_blau.png').'" title="'.$date_str.' : '.$day['count'].$note.'"';
852
+ else
853
+ $r .= $this->getResource('cpd_rot.png').'" title="'.$date_str.' : '.$day['count'].'"';
854
+ $r .= ' style="width:'.$bar_width.'%; height:'.$height.'px" />';
855
+ if ( !$frontend )
856
+ $r .= '</a>';
857
+
858
+ $date_old = $date;
859
+ }
860
+ }
861
+
862
+ // legend
863
+ $end_str = mysql2date(get_option('date_format'), $end);
864
+ $start_str = mysql2date(get_option('date_format'), $start);
865
+ $r .= '</p>
866
+ <div style="height: 10px" class="cpd-l">
867
+ <small>'.$start_str.'</small>
868
+ <small class="cpd-r">'.$end_str.'</small>
869
+ </div>';
870
+
871
+ // buttons
872
+ $date_back = date('Y-m-d', strtotime($start) - 86400);
873
+ $date_forward = date('Y-m-d', strtotime($end) + 86400 * $limit);
874
+ $r .= '<p style="text-align:center;">
875
+ <a href="index.php?page=cpd_metaboxes&amp;cpd_chart_start='.$date_back.'" class="button">&lt;</a>
876
+ <a href="index.php?page=cpd_metaboxes&amp;cpd_chart_start='.$date_forward.'" class="button">&gt;</a>
877
+ </p>';
878
+
879
+ return $r;
880
+ }
881
+
882
+ /**
883
+ * shows current visitors
884
+ */
885
+ function getUserOnline( $frontend = false, $country = false )
886
+ {
887
+ global $cpd_geoip, $cpd_path;
888
+ $c = '';
889
+
890
+ if ( $cpd_geoip && $country )
891
+ {
892
+ // map link
893
+ if (!$frontend && file_exists($cpd_path.'map/map.php') )
894
+ $c .= '<div style="margin: 5px 0 10px 0;"><a href="'.$this->dir.'/map/map.php?map=visitors%20online'
895
+ .'&amp;KeepThis=true&amp;TB_iframe=true" title="Count per Day - '.__('Map', 'cpd').'" class="thickbox button">'.__('Map', 'cpd').'</a></div>';
896
+
897
+ // countries list
898
+ $geoip = new GeoIPCpd();
899
+ $gi = cpd_geoip_open($cpd_path.'geoip/GeoIP.dat', GEOIP_STANDARD);
900
+
901
+ $res = $this->getQuery("SELECT INET_NTOA(ip) AS ip FROM ".CPD_CO_TABLE, 'getUserOnline');
902
+ if ( @mysql_num_rows($res) )
903
+ {
904
+ $vo = array();
905
+ while ( $r = mysql_fetch_array($res) )
906
+ {
907
+ $country = strtolower(cpd_geoip_country_code_by_addr($gi, $r['ip']));
908
+ $id = $geoip->GEOIP_COUNTRY_CODE_TO_NUMBER[strtoupper($country)];
909
+ if ( empty($id) )
910
+ {
911
+ $name = '???';
912
+ $country = 'unknown';
913
+ }
914
+ else
915
+ $name = $geoip->GEOIP_COUNTRY_NAMES[$id];
916
+ $count = (isset($vo[$country])) ? $vo[$country][1] + 1 : 1;
917
+ $vo[$country] = array($name, $count);
918
+ }
919
+
920
+ $c .= '<ul class="cpd_front_list">';
921
+ foreach ( $vo as $k => $v )
922
+ $c .= '<li><b>'.$v[1].'</b><div class="cpd-flag cpd-flag-'.$k.'"></div> '.$v[0].'&nbsp;</li>'."\n";
923
+ $c .= "</ul>\n";
924
+ }
925
+ }
926
+ else
927
+ {
928
+ // number only
929
+ $res = $this->getQuery("SELECT count(*) FROM ".CPD_CO_TABLE, 'getUserOnline');
930
+ $row = mysql_fetch_row($res);
931
+ $c = $row[0];
932
+ }
933
+
934
+ if ($frontend)
935
+ return $c;
936
+ else
937
+ echo $c;
938
+ }
939
+
940
+ /**
941
+ * shows all visitors
942
+ */
943
+ function getUserAll( $frontend = false )
944
+ {
945
+ $res = $this->getQuery("SELECT 1 FROM ".CPD_C_TABLE." GROUP BY date, ip", 'getUserAll');
946
+ $c = mysql_num_rows($res) + intval($this->options['startcount']);
947
+ if ($frontend)
948
+ return $c;
949
+ else
950
+ echo $c;
951
+ }
952
+
953
+ /**
954
+ * shows all reads
955
+ */
956
+ function getReadsAll( $frontend = false )
957
+ {
958
+ $res = $this->getQuery("SELECT COUNT(*) FROM ".CPD_C_TABLE, 'getReadsAll');
959
+ $row = mysql_fetch_row($res);
960
+ $c = $row[0] + intval($this->options['startreads']);
961
+ if ($frontend)
962
+ return $c;
963
+ else
964
+ echo $c;
965
+ }
966
+
967
+ /**
968
+ * shows today visitors
969
+ */
970
+ function getUserToday( $frontend = false )
971
+ {
972
+ $date = date_i18n('Y-m-d');
973
+ $res = $this->getQuery("SELECT 1 FROM ".CPD_C_TABLE." WHERE date = '$date' GROUP BY ip", 'getUserToday');
974
+ $c = mysql_num_rows($res);
975
+ if ($frontend)
976
+ return $c;
977
+ else
978
+ echo $c;
979
+ }
980
+
981
+ /**
982
+ * shows today reads
983
+ */
984
+ function getReadsToday( $frontend = false )
985
+ {
986
+ $date = date_i18n('Y-m-d');
987
+ $res = $this->getQuery("SELECT COUNT(*) FROM ".CPD_C_TABLE." WHERE date = '$date'", 'getReadsToday');
988
+ $row = mysql_fetch_row($res);
989
+ if ($frontend)
990
+ return $row[0];
991
+ else
992
+ echo $row[0];
993
+ }
994
+
995
+ /**
996
+ * shows yesterday visitors
997
+ */
998
+ function getUserYesterday( $frontend = false )
999
+ {
1000
+ $date = date_i18n('Y-m-d', current_time('timestamp')-86400);
1001
+ $res = $this->getQuery("SELECT 1 FROM ".CPD_C_TABLE." WHERE date = '$date' GROUP BY ip", 'getUserYesterday');
1002
+ $c = mysql_num_rows($res);
1003
+ if ($frontend)
1004
+ return $c;
1005
+ else
1006
+ echo $c;
1007
+ }
1008
+
1009
+ /**
1010
+ * shows yesterday reads
1011
+ */
1012
+ function getReadsYesterday( $frontend = false )
1013
+ {
1014
+ $date = date_i18n('Y-m-d', current_time('timestamp')-86400);
1015
+ $res = $this->getQuery("SELECT COUNT(*) FROM ".CPD_C_TABLE." WHERE date = '$date'", 'getReadsYesterday');
1016
+ $row = mysql_fetch_row($res);
1017
+ if ($frontend)
1018
+ return $row[0];
1019
+ else
1020
+ echo $row[0];
1021
+ }
1022
+
1023
+ /**
1024
+ * shows last week visitors (last 7 days)
1025
+ */
1026
+ function getUserLastWeek( $frontend = false )
1027
+ {
1028
+ $date = date_i18n('Y-m-d', current_time('timestamp')-86400*7);
1029
+ $res = $this->getQuery("SELECT 1 FROM ".CPD_C_TABLE." WHERE date >= '$date' GROUP BY date, ip;", 'getUserLastWeek');
1030
+ $c = mysql_num_rows($res);
1031
+ if ($frontend)
1032
+ return $c;
1033
+ else
1034
+ echo $c;
1035
+ }
1036
+
1037
+ /**
1038
+ * shows last week reads (last 7 days)
1039
+ */
1040
+ function getReadsLastWeek( $frontend = false )
1041
+ {
1042
+ $date = date_i18n('Y-m-d', current_time('timestamp')-86400*7);
1043
+ $res = $this->getQuery("SELECT COUNT(*) FROM ".CPD_C_TABLE." WHERE date >= '$date';", 'getReadsLastWeek');
1044
+ $row = mysql_fetch_row($res);
1045
+ if ($frontend)
1046
+ return $row[0];
1047
+ else
1048
+ echo $row[0];
1049
+ }
1050
+
1051
+ /**
1052
+ * shows this month visitors
1053
+ */
1054
+ function getUserThisMonth( $frontend = false )
1055
+ {
1056
+ $first = date_i18n('Y-m-', current_time('timestamp')).'01';
1057
+ $res = $this->getQuery("SELECT 1 FROM ".CPD_C_TABLE." WHERE date >= '$first' GROUP BY date, ip;", 'getUserThisMonth');
1058
+ $c = mysql_num_rows($res);
1059
+ if ($frontend)
1060
+ return $c;
1061
+ else
1062
+ echo $c;
1063
+ }
1064
+
1065
+ /**
1066
+ * shows this month reads
1067
+ */
1068
+ function getReadsThisMonth( $frontend = false )
1069
+ {
1070
+ $first = date_i18n('Y-m-', current_time('timestamp')).'01';
1071
+ $res = $this->getQuery("SELECT COUNT(*) FROM ".CPD_C_TABLE." WHERE date >= '$first';", 'getReadsThisMonth');
1072
+ $row = mysql_fetch_row($res);
1073
+ if ($frontend)
1074
+ return $row[0];
1075
+ else
1076
+ echo $row[0];
1077
+ }
1078
+
1079
+ /**
1080
+ * shows visitors per month
1081
+ */
1082
+ function getUserPerMonth( $frontend = false )
1083
+ {
1084
+ $m = $this->getQuery("SELECT LEFT(date,7) FROM ".CPD_C_TABLE." GROUP BY year(date), month(date) ORDER BY date DESC", 'getUserPerMonths');
1085
+ $r = '<ul class="cpd_front_list">';
1086
+ $d = array();
1087
+ $i = 1;
1088
+ while ( $row = mysql_fetch_row($m) )
1089
+ {
1090
+ $res = $this->getQuery("SELECT 1 FROM ".CPD_C_TABLE." WHERE LEFT(date,7) = '".$row[0]."' GROUP BY date, ip", 'getUserPerMonth');
1091
+ $r .= '<li><b>'.mysql_num_rows($res).'</b> '.$row[0].'</li>'."\n";
1092
+ $d[] = '[-'.$i++.','.mysql_num_rows($res).']';
1093
+ }
1094
+ $r .= '</ul>';
1095
+ if ($frontend)
1096
+ return $r;
1097
+ else
1098
+ {
1099
+ $r = $this->includeChartJS( 'cpd-flot-userpermonth', $d, $r );
1100
+ echo $r;
1101
+ }
1102
+ }
1103
+
1104
+ /**
1105
+ * shows reads per month
1106
+ */
1107
+ function getReadsPerMonth( $frontend = false )
1108
+ {
1109
+ $res = $this->getQuery("SELECT COUNT(*), LEFT(date,7) FROM ".CPD_C_TABLE." GROUP BY year(date), month(date) ORDER BY date DESC", 'getReadsPerMonths');
1110
+ $r = '<ul class="cpd_front_list">';
1111
+ $d = array();
1112
+ $i = 1;
1113
+ while ( $row = mysql_fetch_row($res) )
1114
+ {
1115
+ $r .= '<li><b>'.$row[0].'</b> '.$row[1].'</li>'."\n";
1116
+ $d[] = '[-'.$i++.','.$row[0].']';
1117
+ }
1118
+ $r .= '</ul>';
1119
+ if ($frontend)
1120
+ return $r;
1121
+ else
1122
+ {
1123
+ $r = $this->includeChartJS( 'cpd-flot-readspermonth', $d, $r );
1124
+ echo $r;
1125
+ }
1126
+ }
1127
+
1128
+ /**
1129
+ * shows visitors per post
1130
+ * @param integer $limit number of posts, -1 = all, 0 = get option from db, x = number
1131
+ * @param boolean $frontend limit function on frontend
1132
+ */
1133
+ function getUserPerPost( $limit = 0, $frontend = false )
1134
+ {
1135
+ global $wpdb;
1136
+ if ( $limit == 0 )
1137
+ $limit = $this->options['dashboard_posts'];
1138
+
1139
+ $sql = "
1140
+ SELECT COUNT(c.id) count,
1141
+ c.page post_id,
1142
+ p.post_title post,
1143
+ t.name tag_cat_name,
1144
+ t.slug tag_cat_slug,
1145
+ x.taxonomy tax
1146
+ FROM ".CPD_C_TABLE." c
1147
+ LEFT JOIN ".$wpdb->posts." p
1148
+ ON p.id = c.page
1149
+ LEFT JOIN ".$wpdb->terms." t
1150
+ ON t.term_id = 0 - c.page
1151
+ LEFT JOIN ".$wpdb->term_taxonomy." x
1152
+ ON x.term_id = t.term_id
1153
+ WHERE c.page
1154
+ GROUP BY c.page
1155
+ ORDER BY count DESC";
1156
+ if ( $limit > 0 )
1157
+ $sql .= " LIMIT ".$limit;
1158
+ $r = $this->getUserPer_SQL( $sql, 'getUserPerPost', $frontend );
1159
+ if ($frontend)
1160
+ return $r;
1161
+ else
1162
+ echo $r;
1163
+ }
1164
+
1165
+ /**
1166
+ * shows counter start, first day or given value
1167
+ */
1168
+ function getFirstCount( $frontend = false )
1169
  {
1170
+ global $wp_locale;
1171
+ if (!empty($this->options['startdate']))
1172
+ $c = mysql2date(get_option('date_format'), $this->options['startdate'] );
1173
+ else
1174
+ {
1175
+ $res = $this->getQuery("SELECT date FROM ".CPD_C_TABLE." ORDER BY date LIMIT 1", 'getFirstCount');
1176
+ $row = mysql_fetch_row($res);
1177
+ $c = mysql2date(get_option('date_format'), $row[0] );
1178
+ }
1179
+ if ($frontend)
1180
+ return $c;
1181
  else
1182
+ echo $c;
1183
  }
1184
 
1185
  /**
1186
+ * shows averaged visitors per day
1187
+ * @param integer $days days to calc
1188
  */
1189
+ function getUserPerDay( $days = 0, $frontend = false )
1190
  {
1191
  global $wpdb;
1192
+ $datemax = date_i18n('Y-m-d');
1193
+ if ( $days > 0 )
1194
+ // last $days days without today
1195
+ $datemin = date_i18n('Y-m-d', current_time('timestamp') - ($days + 1) * 86400);
1196
+ else
1197
+ {
1198
+ $v = $wpdb->get_results('SELECT MIN(date) min, MAX(date) max FROM '.CPD_C_TABLE);
1199
+ foreach ($v as $row)
1200
+ {
1201
+ $min = strtotime($row->min);
1202
+ $max = strtotime($row->max);
1203
+ $days = (($max - $min) / 86400 + 1);
1204
+ $datemin = 0;
1205
+ }
1206
  }
1207
+
1208
+ $res = $this->getQuery("SELECT 1 FROM ".CPD_C_TABLE." WHERE date > '$datemin' AND date < '$datemax' GROUP BY ip, date", 'getUserPerDay');
1209
+ $count = @mysql_num_rows($res) / $days;
1210
+
1211
+ $c = '<abbr title="last '.$days.' days without today">';
1212
+ if ( $count < 5 )
1213
+ $c .= number_format($count, 2);
1214
  else
1215
+ $c .= number_format($count, 0);
1216
+ $c .= '</abbr>';
1217
 
1218
+ if ($frontend)
1219
+ return $c;
1220
+ else
1221
+ echo $c;
1222
+ }
1223
+
1224
+ /**
1225
+ * shows most visited pages in last days
1226
+ * @param integer $days days to calc (last days)
1227
+ * @param integer $limit count of posts (last posts)
1228
+ */
1229
+ function getMostVisitedPosts( $days = 0, $limit = 0, $frontend = false )
1230
+ {
1231
+ global $wpdb;
1232
+ if ( $days == 0 )
1233
+ $days = $this->options['dashboard_last_days'];
1234
+ if ( $limit == 0 )
1235
+ $limit = $this->options['dashboard_last_posts'];
1236
+ $date = date_i18n('Y-m-d', current_time('timestamp') - 86400 * $days);
1237
+ $sql = "
1238
+ SELECT COUNT(c.id) count,
1239
+ c.page post_id,
1240
+ p.post_title post,
1241
+ t.name tag_cat_name,
1242
+ t.slug tag_cat_slug,
1243
+ x.taxonomy tax
1244
+ FROM ".CPD_C_TABLE." c
1245
+ LEFT JOIN ".$wpdb->posts." p
1246
+ ON p.id = c.page
1247
+ LEFT JOIN ".$wpdb->terms." t
1248
+ ON t.term_id = 0 - c.page
1249
+ LEFT JOIN ".$wpdb->term_taxonomy." x
1250
+ ON x.term_id = t.term_id
1251
+ WHERE c.date >= '$date'
1252
+ GROUP BY c.page
1253
+ ORDER BY count DESC
1254
+ LIMIT $limit";
1255
 
1256
+ $r = '<small>'.sprintf(__('The %s most visited posts in last %s days:', 'cpd'), $limit, $days).'<br/>&nbsp;</small>';
1257
+ $r .= $this->getUserPer_SQL( $sql, 'getMostVisitedPosts', $frontend );
1258
+ if ($frontend)
1259
+ return $r;
1260
+ else
1261
+ echo $r;
 
 
 
 
 
 
 
 
 
 
 
 
 
1262
  }
1263
 
1264
  /**
1265
+ * gets Post_IDs of most visited pages in last days with category filter
1266
+ * @param integer $days days to calc (last days)
1267
+ * @param integer $limit count of posts (last posts)
1268
+ * @param array/integer $cats IDs of category to filter
1269
+ * @param boolean $return_array returns an array with Post-ID and title, otherwise comma separated list of Post-IDs
1270
+ * @return string/array list of Post-IDs
1271
  */
1272
+ function getMostVisitedPostIDs( $days = 365, $limit = 10, $cats = false, $return_array = false )
1273
  {
1274
+ global $wpdb;
1275
+ $date = date_i18n('Y-m-d', current_time('timestamp') - 86400 * $days);
1276
+ if ( is_array($cats) )
 
 
1277
  {
1278
+ if ( is_object($cats[0]) )
 
1279
  {
1280
+ $catIDs = array();
1281
+ foreach( $cats as $cat )
1282
+ $catIDs[] = $cat->term_id;
 
 
 
 
 
 
 
1283
  }
1284
+ else
1285
+ $catIDs = (array) $cats;
1286
+ $cats = implode(',', $catIDs);
1287
  }
1288
+ $cat_filter = ($cats) ? 'AND x.term_id IN ('.$cats.')' : '';
1289
+
1290
+ $q1 = ($return_array) ? ', p.post_title' : '';
1291
+ $q2 = ($return_array) ? ' LEFT JOIN '.$wpdb->posts.' p ON p.ID = c.page ' : '';
1292
+
1293
+ $sql = "
1294
+ SELECT COUNT(c.id) count,
1295
+ c.page post_id
1296
+ $q1
1297
+ FROM ".CPD_C_TABLE." c
1298
+ $q2
1299
+ LEFT JOIN ".$wpdb->term_relationships." r
1300
+ ON r.object_id = c.page
1301
+ LEFT JOIN ".$wpdb->term_taxonomy." x
1302
+ ON x.term_taxonomy_id = r.term_taxonomy_id
1303
+ WHERE c.date >= '$date'
1304
+ $cat_filter
1305
+ GROUP BY c.page
1306
+ ORDER BY count DESC
1307
+ LIMIT $limit";
1308
+ $res = $this->getQuery($sql, 'getMostVisitedPostIDs');
1309
+
1310
+ $ids = array();
1311
+ if ( @mysql_num_rows($res) )
1312
+ while ( $row = mysql_fetch_array($res) )
1313
+ {
1314
+ if ( $return_array )
1315
+ $ids[] = array('id' => $row['post_id'], 'title' => $row['post_title'], 'count' => $row['count']);
1316
+ else
1317
+ $ids[] = $row['post_id'];
1318
+ }
1319
 
1320
+ if ( $return_array )
1321
+ return $ids;
1322
+ else
1323
+ return implode(',', $ids);
1324
+ }
1325
 
1326
  /**
1327
+ * shows visited pages at given day
1328
+ * @param integer $date day in mySql date format yyyy-mm-dd
1329
+ * @param integer $limit count of posts (last posts)
1330
+ * @param boolean $show_form show form for date selection
1331
+ * @param boolean $show_notes show button to add notes in form
1332
  */
1333
+ function getVisitedPostsOnDay( $date = 0, $limit = 0, $show_form = true, $show_notes = true, $frontend = false )
1334
+ {
1335
+ global $wpdb, $cpd_path, $table_prefix, $userdata;
1336
+ if (!empty($_POST['daytoshow']))
1337
+ $date = $_POST['daytoshow'];
1338
+ else if (!empty($_GET['daytoshow']))
1339
+ $date = $_GET['daytoshow'];
1340
+ else if ( $date == 0 )
1341
+ $date = date_i18n('Y-m-d');
1342
+ if ( $limit == 0 )
1343
+ $limit = $this->options['dashboard_last_posts'];
1344
+
1345
+ // get note
1346
+ $notes = $wpdb->get_results("SELECT * FROM ".$table_prefix."cpd_notes WHERE date = '$date'", ARRAY_A);
1347
+ if ( $notes )
1348
+ $note = $notes[0]['note'];
1349
+
1350
+ $sql = "
1351
+ SELECT COUNT(c.id) count,
1352
+ c.page post_id,
1353
+ p.post_title post,
1354
+ t.name tag_cat_name,
1355
+ t.slug tag_cat_slug,
1356
+ x.taxonomy tax
1357
+ FROM ".CPD_C_TABLE." c
1358
+ LEFT JOIN ".$wpdb->posts." p
1359
+ ON p.id = c.page
1360
+ LEFT JOIN ".$wpdb->terms." t
1361
+ ON t.term_id = 0 - c.page
1362
+ LEFT JOIN ".$wpdb->term_taxonomy." x
1363
+ ON x.term_id = t.term_id
1364
+ WHERE c.date = '$date'
1365
+ GROUP BY c.page
1366
+ ORDER BY count DESC
1367
+ LIMIT $limit";
1368
 
1369
+ if ( $show_form )
1370
  {
1371
+ echo '<form action="" method="post">
1372
+ <input name="daytoshow" value="'.$date.'" size="10" />
1373
+ <input type="submit" name="showday" value="'.__('Show').'" class="button" />';
1374
+ if ( $show_notes )
1375
+ 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> ';
1376
+ echo '</form>';
 
 
 
 
 
1377
  }
1378
+
1379
+ if ( isset($note) )
1380
+ echo '<p style="background:#eee; padding:2px;">'.$note.'</p>';
1381
+
1382
+ $r = $this->getUserPer_SQL( $sql, 'getVisitedPostsOnDay', $frontend );
1383
+
1384
+ if ($frontend)
1385
+ return $r;
1386
+ else
1387
+ echo $r;
1388
+ }
1389
+
1390
+ /**
1391
+ * shows little browser statistics
1392
+ */
1393
+ function getClients( $frontend = false )
1394
+ {
1395
+ global $wpdb;
1396
+ $c_string = $this->options['clients'];
1397
+ $clients = explode(',', $c_string);
1398
 
1399
+ $res = $this->getQuery("SELECT COUNT(*) count FROM ".CPD_C_TABLE, 'getClients_all');
1400
+ $row = @mysql_fetch_row($res);
1401
+ $all = max(1, $row[0]);
1402
+ $rest = 100;
1403
+ $r = '<ul id="cpd_clients" class="cpd_front_list">';
1404
+ foreach ($clients as $c)
1405
  {
1406
+ $c = trim($c);
1407
+ $res = $this->getQuery("SELECT COUNT(*) count FROM ".CPD_C_TABLE." WHERE client like '%".$c."%'", 'getClients_'.$c);
1408
+ $row = @mysql_fetch_row($res);
1409
+ $percent = number_format(100 * $row[0] / $all, 0);
1410
+ $rest -= $percent;
1411
+ $r .= '<li class="cpd-client-logo cpd-client-'.strtolower($c).'">'.$c.'<b>'.$percent.' %</b></li>';
 
 
 
1412
  }
1413
+ if ( $rest > 0 )
1414
+ $r .= '<li>'.__('Other', 'cpd').'<b>'.$rest.' %</b></li>';
1415
+ $r .= '</ul>';
1416
 
1417
+ if ($frontend)
1418
+ return $r;
1419
+ else
1420
+ echo $r;
 
1421
  }
1422
 
1423
+ /**
1424
+ * shows top referrers
1425
+ */
1426
+ function getReferers( $limit = 0, $frontend = false, $days = 0 )
1427
+ {
1428
+ global $wpdb;
1429
+ if ( $limit == 0 )
1430
+ $limit = $this->options['dashboard_referers'];
1431
+ if ( $days == 0 )
1432
+ $days = $this->options['referers_last_days'];
1433
+
1434
+ // local url filter
1435
+ $dayfiltre = "AND date > DATE_SUB('".date_i18n('Y-m-d')."', INTERVAL $days DAY)";
1436
+
1437
+ $localref = ($this->options['localref']) ? '' : " AND referer NOT LIKE '".get_bloginfo('url')."%' ";
1438
+ $res = $this->getQuery("SELECT COUNT(*) count, referer FROM ".CPD_C_TABLE." WHERE referer > '' $dayfiltre $localref GROUP BY referer ORDER BY count DESC LIMIT $limit", 'getReferers');
1439
+ $r = '<small>'.sprintf(__('The %s referrers in last %s days:', 'cpd'), $limit, $days).'<br/>&nbsp;</small>';
1440
+ $r .= '<ul id="cpd_referrers" class="cpd_front_list">';
1441
+ if ( @mysql_num_rows($res) )
1442
+ while ( $row = mysql_fetch_array($res) )
1443
+ {
1444
+ $ref = str_replace('&', '&amp;', $row['referer']);
1445
+ $ref2 = str_replace('http://', '', $ref);
1446
+ $r .= '<li><a href="'.$ref.'">'.$ref2.'</a><b>'.$row['count'].'</b></li>';
1447
+ }
1448
+ $r .= '</ul>';
1449
+
1450
+ if ($frontend)
1451
+ return $r;
1452
+ else
1453
+ echo $r;
1454
+ }
1455
 
1456
  /**
1457
+ * gets mass bots
1458
+ * @param int $limit only show IP if more than x page views per day
1459
  */
1460
+ function getMassBots( $limit = 0 )
1461
  {
1462
+ if ( $limit == 0 )
1463
+ $limit = 50;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1464
 
1465
+ $sql = "
1466
+ SELECT t.id, t.ip AS longip, INET_NTOA(t.ip) AS ip, t.date, t.posts,
1467
+ c.client
1468
+ FROM ( SELECT id, ip, date, count(*) posts
1469
+ FROM ".CPD_C_TABLE."
1470
+ GROUP BY ip, date
1471
+ ORDER BY posts DESC ) AS t
1472
+ LEFT JOIN ".CPD_C_TABLE." c
1473
+ ON c.id = t.id
1474
+ WHERE posts > $limit";
1475
+ return $this->getQuery($sql, 'getMassBots');
1476
  }
1477
 
1478
+ /**
1479
+ * creates counter lists
1480
+ * @param string $sql SQL Statement
1481
+ * @param string $name function name for debug
1482
+ * @param boolean $frontend limit function on frontend
1483
+ */
1484
+ function getUserPer_SQL( $sql, $name = '', $frontend = false )
1485
+ {
1486
+ global $userdata;
1487
+ $m = $this->getQuery($sql, $name);
1488
+ $r = '<ul class="cpd_front_list">';
1489
+ while ( $row = mysql_fetch_assoc($m) )
1490
+ {
1491
+ $r .= '<li><b>'.$row['count'].'</b>';
1492
+ // link only for editors in backend
1493
+ if ( isset($userdata->user_level) && intval($userdata->user_level) >= 7 && !$frontend)
1494
+ {
1495
+ if ( $row['post_id'] > 0 )
1496
+ $r .= '<a href="post.php?action=edit&amp;post='.$row['post_id'].'"><img src="'.$this->getResource('cpd_pen.png').'" alt="[e]" title="'.__('Edit Post').'" style="width:9px;height:12px;" /></a> '
1497
+ .'<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->getResource('cpd_calendar.png').'" alt="[v]" style="width:12px;height:12px;" /></a> ';
1498
+ else
1499
+ $r .= '<img src="'.$this->getResource('cpd_trans.png').'" alt="" style="width:25px;height:12px;" /> ';
1500
+ }
1501
+
1502
+ $r .= '<a href="'.get_bloginfo('url');
1503
+ if ( $row['post_id'] < 0 && $row['tax'] == 'category' )
1504
+ //category
1505
+ $r .= '?cat='.abs($row['post_id']).'">- '.$row['tag_cat_name'].' ('.__('Category').') -';
1506
+ else if ( $row['post_id'] < 0 )
1507
+ // tag
1508
+ $r .= '?tag='.$row['tag_cat_slug'].'">- '.$row['tag_cat_name'].' ('.__('Tag').') -';
1509
+ else if ( $row['post_id'] == 0 )
1510
+ // homepage
1511
+ $r .= '">- '.__('Front page displays').' -';
1512
+ else
1513
+ {
1514
+ // post/page
1515
+ $postname = $row['post'];
1516
+ if ( empty($postname) )
1517
+ $postname = '---';
1518
+ $r .= '?p='.$row['post_id'].'">'.$postname;
1519
+ }
1520
+ $r .= '</a>';
1521
+
1522
+ $r .= '</li>'."\n";
1523
+ }
1524
+ $r .= '</ul>';
1525
+
1526
+ return $r;
1527
+ }
1528
 
1529
  /**
1530
+ * deletes spam in table, if you add new bot pattern you can clean the db
1531
  */
1532
+ function cleanDB()
1533
  {
1534
  global $wpdb;
1535
+
1536
+ // get trimed bot array
1537
+ function trim_value(&$value) { $value = trim($value); }
1538
+ $bots = explode( "\n", $this->options['bots'] );
1539
+ array_walk($bots, 'trim_value');
1540
+
1541
+ $rows_before = $wpdb->get_var('SELECT COUNT(*) FROM '.CPD_C_TABLE);
1542
+
1543
+ // delete by ip
1544
+ foreach( $bots as $ip )
1545
+ if ( ip2long($ip) !== false )
1546
+ $this->getQuery('DELETE FROM '.CPD_C_TABLE.' WHERE INET_NTOA(ip) LIKE \''.$ip.'%\'', 'clenaDB_ip');
1547
+
1548
+ // delete by client
1549
+ foreach ($bots as $bot)
1550
+ $this->getQuery("DELETE FROM ".CPD_C_TABLE." WHERE client LIKE '%$bot%'", 'cleanDB_client');
1551
+
1552
+ // delete if a previously countered page was deleted
1553
+ $this->getQuery("DELETE FROM ".CPD_C_TABLE." WHERE page NOT IN ( SELECT id FROM ".$wpdb->posts.") AND page > 0", 'cleanDB_delPosts');
1554
+
1555
+ $rows_after = $wpdb->get_var('SELECT COUNT(*) FROM '.CPD_C_TABLE);
1556
+ return $rows_before - $rows_after;
1557
  }
1558
 
1559
  /**
1560
+ * adds menu entry to backend
1561
+ * @param string $content WP-"Content"
1562
  */
1563
+ function menu($content)
1564
  {
1565
+ global $cpd_dir_name;
1566
+ if (function_exists('add_options_page'))
1567
+ {
1568
+ $menutitle = '<img src="'.$this->getResource('cpd_menu.gif').'" alt="" style="width:9px;height:12px;" /> Count per Day';
1569
+ add_options_page('CountPerDay', $menutitle, 'manage_options', $cpd_dir_name.'/counter-options.php') ;
1570
+ }
1571
+ }
1572
+
1573
+ /**
1574
+ * adds an "settings" link to the plugins page
1575
+ */
1576
+ function pluginActions($links, $file)
1577
+ {
1578
+ global $cpd_dir_name;
1579
+ if( $file == $cpd_dir_name.'/counter.php'
1580
+ && strpos( $_SERVER['SCRIPT_NAME'], '/network/') === false ) // not on network plugin page
1581
+ {
1582
+ $link = '<a href="options-general.php?page='.$cpd_dir_name.'/counter-options.php">'.__('Settings').'</a>';
1583
+ array_unshift( $links, $link );
1584
+ }
1585
+ return $links;
1586
  }
1587
 
1588
  /**
1589
+ * creates the little widget on dashboard
1590
  */
1591
+ function dashboardWidget()
1592
  {
1593
+ echo '<a href="?page=cpd_metaboxes"><b>';
1594
+ $this->getUserAll();
1595
+ echo '</b></a> '.__('Total visitors', 'cpd').'<b> - ';
1596
+ $this->getUserPerDay($this->options['dashboard_last_days']);
1597
+ echo '</b> '.__('Visitors per day', 'cpd');
1598
  }
1599
 
1600
  /**
1601
+ * adds widget to dashboard page
1602
  */
1603
+ function dashboardWidgetSetup()
1604
  {
1605
+ wp_add_dashboard_widget( 'cpdDashboardWidget', 'Count per Day', array(&$this,'dashboardWidget') );
 
 
 
1606
  }
1607
 
1608
  /**
1609
+ * combines the options to one array, update from previous versions
1610
  */
1611
+ function updateOptions()
1612
  {
1613
+ global $cpd_version;
1614
+
1615
+ $o = get_option('count_per_day', array());
1616
+ $onew = array(
1617
+ 'version' => $cpd_version,
1618
+ 'onlinetime' => (isset($o['onlinetime'])) ? $o['onlinetime'] : 300,
1619
+ 'user' => (isset($o['user'])) ? $o['user'] : 0,
1620
+ 'user_level' => (isset($o['user_level'])) ? $o['user_level'] : 0,
1621
+ 'autocount' => (isset($o['autocount'])) ? $o['autocount'] : 1,
1622
+ 'bots' => (isset($o['bots'])) ? $o['bots'] : "bot\nspider\nsearch\ncrawler\nask.com\nvalidator\nsnoopy\nsuchen.de\nsuchbaer.de\nshelob\nsemager\nxenu\nsuch_de\nia_archiver\nMicrosoft URL Control\nnetluchs",
1623
+ 'dashboard_posts' => (isset($o['dashboard_posts'])) ? $o['dashboard_posts'] : 20,
1624
+ 'dashboard_last_posts' => (isset($o['dashboard_last_posts'])) ? $o['dashboard_last_posts'] : 20,
1625
+ 'dashboard_last_days' => (isset($o['dashboard_last_days'])) ? $o['dashboard_last_days'] : 7,
1626
+ 'show_in_lists' => (isset($o['show_in_lists'])) ? $o['show_in_lists'] : 1,
1627
+ 'chart_days' => (isset($o['chart_days'])) ? $o['chart_days'] : 60,
1628
+ 'chart_height' => (isset($o['chart_height'])) ? $o['chart_height'] : 100,
1629
+ 'countries' => (isset($o['countries'])) ? $o['countries'] : 20,
1630
+ 'startdate' => (isset($o['startdate'])) ? $o['startdate'] : '',
1631
+ 'startcount' => (isset($o['startcount'])) ? $o['startcount'] : '',
1632
+ 'startreads' => (isset($o['startreads'])) ? $o['startreads'] : '',
1633
+ 'anoip' => (isset($o['anoip'])) ? $o['anoip'] : 0,
1634
+ 'massbotlimit' => (isset($o['massbotlimit'])) ? $o['massbotlimit'] : 25,
1635
+ 'clients' => (isset($o['clients'])) ? $o['clients'] : 'Firefox, MSIE, Chrome, Safari, Opera',
1636
+ 'ajax' => (isset($o['ajax'])) ? $o['ajax'] : 0,
1637
+ 'debug' => (isset($o['debug'])) ? $o['debug'] : 0,
1638
+ 'referers' => (isset($o['referers'])) ? $o['referers'] : 1,
1639
+ 'dashboard_referers' => (isset($o['dashboard_referers'])) ? $o['dashboard_referers'] : 20,
1640
+ 'referers_last_days' => (isset($o['referers_last_days'])) ? $o['referers_last_days'] : 7,
1641
+ 'chart_old' => (isset($o['chart_old'])) ? $o['chart_old'] : 0,
1642
+ 'no_front_css' => (isset($o['no_front_css'])) ? $o['no_front_css'] : 0
1643
+ );
1644
+ update_option('count_per_day', $onew);
1645
  }
1646
 
1647
  /**
1648
+ * add counter column to page/post lists
1649
  */
1650
+ function cpdColumn($defaults)
1651
  {
1652
+ if ( $this->options['show_in_lists'] )
1653
+ $defaults['cpd_reads'] = '<img src="'.$this->getResource('cpd_menu.gif').'" alt="'.__('Reads', 'cpd').'" title="'.__('Reads', 'cpd').'" style="width:9px;height:12px;" />';
1654
+ return $defaults;
 
 
 
 
 
 
1655
  }
1656
 
1657
  /**
1658
+ * adds content to the counter column
 
 
1659
  */
1660
+ function cpdColumnContent($column_name, $id = 0)
1661
  {
1662
  global $wpdb;
1663
+ if( $column_name == 'cpd_reads' )
1664
+ {
1665
+ $res = $this->getQuery("SELECT COUNT(*) FROM ".CPD_C_TABLE." WHERE page='$id'", 'cpdColumn_'.$id);
1666
+ $row = mysql_fetch_row($res);
1667
+ echo (int) $row[0];
1668
+ }
 
 
 
 
 
 
 
 
 
 
1669
  }
1670
 
1671
  /**
1672
+ * gets image recource with given name
1673
  */
1674
+ function getResource( $r )
1675
  {
1676
+ return trailingslashit( $this->dir ).'img/'.$r;
 
 
 
 
1677
  }
1678
 
1679
  /**
1680
+ * sets columns on dashboard page
1681
+ */
1682
+ function screenLayoutColumns($columns, $screen)
1683
+ {
1684
+ if ($screen == $this->pagehook)
1685
+ $columns[$this->pagehook] = 4;
1686
+ return $columns;
1687
+ }
1688
+
1689
+ /**
1690
+ * extends the admin menu
1691
  */
1692
+ function setAdminMenu()
1693
  {
1694
+ $menutitle = '<img src="'.$this->getResource('cpd_menu.gif').'" alt="" style="width:12px;height:12px;" /> Count per Day';
1695
+ $this->pagehook = add_submenu_page('index.php', 'CountPerDay', $menutitle, 1, CPD_METABOX, array(&$this, 'onShowPage'));
1696
+ add_action('load-'.$this->pagehook, array(&$this, 'onLoadPage'));
 
 
 
 
 
 
 
 
 
 
 
1697
  }
1698
 
1699
  /**
1700
+ * backlink to Plugin homepage
1701
  */
1702
+ function cpdInfo()
1703
  {
1704
+ global $cpd_version;
1705
 
1706
+ $t = '<span style="white-space:nowrap">'.date_i18n('Y-m-d H:i').'</span>';
1707
+ echo '<p>Count per Day: <code>'.$cpd_version.'</code><br/>';
1708
+ printf(__('Time for Count per Day: <code>%s</code>.', 'cpd'), $t);
1709
+ echo '<br />'.__('Bug? Problem? Question? Hint? Praise?', 'cpd').' ';
1710
+ printf(__('Write a comment on the <a href="%s">plugin page</a>.', 'cpd'), 'http://www.tomsdimension.de/wp-plugins/count-per-day');
1711
+ echo '<br />'.__('License').': <a href="http://www.tomsdimension.de/postcards">Postcardware :)</a>';
1712
+ echo '<br /><a href="'.$this->dir.'/readme.txt?KeepThis=true&amp;TB_iframe=true" title="Count per Day - Readme.txt" class="thickbox"><strong>Readme.txt</strong></a></p>';
1713
+ }
1714
+
1715
+ /**
1716
+ * function calls from metabox default parameters
1717
+ */
1718
+ function getMostVisitedPostsMeta() { $this->getMostVisitedPosts(); }
1719
+ function getUserPerPostMeta() { $this->getUserPerPost(); }
1720
+ function getVisitedPostsOnDayMeta() { $this->getVisitedPostsOnDay( 0, 100); }
1721
+ function dashboardChartMeta() { $this->dashboardChart( 0, false); }
1722
+ function dashboardChartVisitorsMeta() { $this->dashboardChartVisitors( 0, false); }
1723
+ function getCountriesMeta() { $this->getCountries(0, false); }
1724
+ function getCountriesVisitorsMeta() { $this->getCountries(0, false, true); }
1725
+ function getReferersMeta() { $this->getReferers(0, false); }
1726
+ function getUserOnlineMeta() { $this->getUserOnline( false, true); }
1727
+
1728
+ /**
1729
+ * will be executed if wordpress core detects this page has to be rendered
1730
+ */
1731
+ function onLoadPage()
1732
+ {
1733
+ global $cpd_geoip;
1734
+ // needed javascripts
1735
+ wp_enqueue_script('common');
1736
+ wp_enqueue_script('wp-lists');
1737
+ if ( !$this->options['chart_old'] )
1738
+ wp_enqueue_script('postbox');
1739
+
1740
+ // add the metaboxes
1741
+ add_meta_box('reads_at_all', __('Total visitors', 'cpd'), array(&$this, 'dashboardReadsAtAll'), $this->pagehook, 'cpdrow1', 'core');
1742
+ add_meta_box('user_online', __('Visitors online', 'cpd'), array(&$this, 'getUserOnlineMeta'), $this->pagehook, 'cpdrow1', 'default');
1743
+ add_meta_box('user_per_month', __('Visitors per month', 'cpd'), array(&$this, 'getUserPerMonth'), $this->pagehook, 'cpdrow2', 'default');
1744
+ add_meta_box('reads_per_month', __('Reads per month', 'cpd'), array(&$this, 'getReadsPerMonth'), $this->pagehook, 'cpdrow3', 'default');
1745
+ add_meta_box('reads_per_post', __('Visitors per post', 'cpd'), array(&$this, 'getUserPerPostMeta'), $this->pagehook, 'cpdrow3', 'default');
1746
+ add_meta_box('last_reads', __('Latest Counts', 'cpd'), array(&$this, 'getMostVisitedPostsMeta'), $this->pagehook, 'cpdrow4', 'default');
1747
+ add_meta_box('day_reads', __('Visitors per day', 'cpd'), array(&$this, 'getVisitedPostsOnDayMeta'), $this->pagehook, 'cpdrow4', 'default');
1748
+ add_meta_box('cpd_info', __('Plugin'), array(&$this, 'cpdInfo'), $this->pagehook, 'cpdrow1', 'low');
1749
+ if ( $this->options['referers'] )
1750
  {
1751
+ add_meta_box('browsers', __('Browsers', 'cpd'), array(&$this, 'getClients'), $this->pagehook, 'cpdrow2', 'default');
1752
+ add_meta_box('referers', __('Referrer', 'cpd'), array(&$this, 'getReferersMeta'), $this->pagehook, 'cpdrow3', 'default');
1753
+ }
1754
+ if ( $this->options['chart_old'] )
1755
+ {
1756
+ add_meta_box('chart_visitors', __('Visitors per day', 'cpd'), array(&$this, 'dashboardChartVisitorsMeta'), $this->pagehook, 'cpdrow1', 'default');
1757
+ add_meta_box('chart_reads', __('Reads per day', 'cpd'), array(&$this, 'dashboardChartMeta'), $this->pagehook, 'cpdrow1', 'default');
1758
+ }
1759
+ if ( $cpd_geoip )
1760
+ {
1761
+ add_meta_box('countries', __('Reads per Country', 'cpd'), array(&$this, 'getCountriesMeta'), $this->pagehook, 'cpdrow2', 'default');
1762
+ add_meta_box('countries2', __('Visitors per Country', 'cpd'), array(&$this, 'getCountriesVisitorsMeta'), $this->pagehook, 'cpdrow2', 'default');
1763
  }
 
1764
  }
1765
 
1766
  /**
1767
+ * creates dashboard page
1768
  */
1769
+ function onShowPage()
1770
+ {
1771
+ global $screen_layout_columns, $count_per_day;
1772
+ if ( empty($screen_layout_columns) )
1773
+ $screen_layout_columns = 4;
1774
+ $data = '';
1775
+ ?>
1776
+ <div id="cpd-metaboxes" class="wrap">
1777
+ <h2><img src="<?php echo $this->getResource('cpd_menu.gif') ?>" alt="" style="width:24px;height:24px" /> Count per Day - <?php _e('Statistics', 'cpd') ?></h2>
1778
+ <?php
1779
+ wp_nonce_field('cpd-metaboxes');
1780
+ wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false );
1781
+ wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false );
1782
+ $css = 'style="width:'.round(98 / $screen_layout_columns, 1).'%;"';
1783
+ if ( !$this->options['chart_old'] )
1784
+ $this->getFlotChart();
1785
+ ?>
1786
+ <div id="dashboard-widgets" class="metabox-holder cpd-dashboard">
1787
+ <div class="postbox-container" <?php echo $css; ?>><?php do_meta_boxes($this->pagehook, 'cpdrow1', $data); ?></div>
1788
+ <div class="postbox-container" <?php echo $css; ?>><?php do_meta_boxes($this->pagehook, 'cpdrow2', $data); ?></div>
1789
+ <div class="postbox-container" <?php echo $css; ?>><?php do_meta_boxes($this->pagehook, 'cpdrow3', $data); ?></div>
1790
+ <div class="postbox-container" <?php echo $css; ?>><?php do_meta_boxes($this->pagehook, 'cpdrow4', $data); ?></div>
1791
+ <br class="clear"/>
1792
+ </div>
1793
+ </div>
1794
+ <script type="text/javascript">
1795
+ //<![CDATA[
1796
+ jQuery(document).ready( function($) {
1797
+ $('.if-js-closed').removeClass('if-js-closed').addClass('closed');
1798
+ postboxes.add_postbox_toggles('<?php echo $this->pagehook; ?>');
1799
+ });
1800
+ //]]>
1801
+ </script>
1802
+ <?php
1803
  }
1804
 
 
 
 
 
1805
  /**
1806
+ * gets country flags and page views
1807
+ * @param integer $limit count of countries
1808
+ * @param boolean $frontend limit function on frontend
1809
+ * @param boolean $visitors show visitors insteed of reads
1810
  */
1811
+ function getCountries( $limit = 0, $frontend, $visitors = false )
1812
  {
1813
+ global $cpd_path, $cpd_geoip;
1814
+ $c = '';
1815
+
1816
+ // with GeoIP addon only
1817
+ if ( $cpd_geoip )
1818
  {
1819
+ $geoip = new GeoIPCpD();
1820
+ if ( $limit == 0 )
1821
+ $limit = max( 0, $this->options['countries'] );
 
1822
 
1823
+ if ( $visitors )
1824
+ // visitors
1825
+ $res = $this->getQuery("
1826
+ SELECT country, COUNT(*) c
1827
+ FROM ( SELECT country, ip, COUNT(*) c
1828
+ FROM ".CPD_C_TABLE."
1829
+ WHERE ip > 0
1830
+ GROUP BY country, ip ) as t
1831
+ GROUP BY country
1832
+ ORDER BY c desc
1833
+ LIMIT $limit", 'getCountries');
1834
+ else
1835
+ // reads
1836
+ $res = $this->getQuery("SELECT country, COUNT(*) c FROM ".CPD_C_TABLE." WHERE ip > 0 GROUP BY country ORDER BY c DESC LIMIT $limit", 'getCountries');
1837
 
1838
+ // map link
1839
+ if (!$frontend && file_exists($cpd_path.'map/map.php') )
1840
+ {
1841
+ $c .= '<div style="margin: 5px 0 10px 0;"><a href="'.$this->dir.'/map/map.php?map=';
1842
+ if ( $visitors )
1843
+ $c .= 'visitors';
1844
+ else
1845
+ $c .= 'reads';
1846
+ $c .= '&amp;KeepThis=true&amp;TB_iframe=true" title="Count per Day - '.__('Map', 'cpd').'" class="thickbox button">'.__('Map', 'cpd').'</a></div>';
1847
+ }
1848
 
1849
+ if ( @mysql_num_rows($res) )
1850
+ {
1851
+ $c .= '<ul class="cpd_front_list">';
1852
+ while ( $r = mysql_fetch_array($res) )
1853
+ {
1854
+ $id = $geoip->GEOIP_COUNTRY_CODE_TO_NUMBER[strtoupper($r['country'])];
1855
+ if ( empty($id) )
1856
+ {
1857
+ $name = '???';
1858
+ $r['country'] = 'unknown';
1859
+ }
1860
+ else
1861
+ $name = $geoip->GEOIP_COUNTRY_NAMES[$id];
1862
+ $c .= '<li><b>'.$r['c'].'</b>
1863
+ <div class="cpd-flag cpd-flag-'.$r['country'].'"></div> '
1864
+ .$name.'&nbsp;</li>'."\n";
1865
+ }
1866
+ $c .= '</ul>';
1867
+ }
1868
  }
1869
+ if ($frontend)
1870
+ return $c;
1871
+ else
1872
+ echo $c;
1873
  }
1874
 
 
 
 
 
1875
  /**
1876
+ * adds some shortcodes to use functions in frontend
1877
  */
1878
+ function addShortcodes()
1879
  {
1880
+ add_shortcode('CPD_READS_THIS', array( &$this, 'shortShow'));
1881
+ add_shortcode('CPD_READS_TOTAL', array( &$this, 'shortReadsTotal'));
1882
+ add_shortcode('CPD_READS_TODAY', array( &$this, 'shortReadsToday'));
1883
+ add_shortcode('CPD_READS_YESTERDAY', array( &$this, 'shortReadsYesterday'));
1884
+ add_shortcode('CPD_READS_LAST_WEEK', array( &$this, 'shortReadsLastWeek'));
1885
+ add_shortcode('CPD_READS_PER_MONTH', array( &$this, 'shortReadsPerMonth'));
1886
+ add_shortcode('CPD_READS_THIS_MONTH', array( &$this, 'shortReadsThisMonth'));
1887
+ add_shortcode('CPD_VISITORS_TOTAL', array( &$this, 'shortUserAll'));
1888
+ add_shortcode('CPD_VISITORS_ONLINE', array( &$this, 'shortUserOnline'));
1889
+ add_shortcode('CPD_VISITORS_TODAY', array( &$this, 'shortUserToday'));
1890
+ add_shortcode('CPD_VISITORS_YESTERDAY', array( &$this, 'shortUserYesterday'));
1891
+ add_shortcode('CPD_VISITORS_LAST_WEEK', array( &$this, 'shortUserLastWeek'));
1892
+ add_shortcode('CPD_VISITORS_THIS_MONTH', array( &$this, 'shortUserThisMonth'));
1893
+ add_shortcode('CPD_VISITORS_PER_DAY', array( &$this, 'shortUserPerDay'));
1894
+ add_shortcode('CPD_FIRST_COUNT', array( &$this, 'shortFirstCount'));
1895
+ add_shortcode('CPD_CLIENTS', array( &$this, 'shortClients'));
1896
+ add_shortcode('CPD_READS_CHART', array( &$this, 'shortChartReads'));
1897
+ add_shortcode('CPD_VISITORS_CHART', array( &$this, 'shortChartVisitors'));
1898
+ add_shortcode('CPD_VISITORS_PER_MONTH', array( &$this, 'shortUserPerMonth'));
1899
+ add_shortcode('CPD_VISITORS_PER_POST', array( &$this, 'shortUserPerPost'));
1900
+ add_shortcode('CPD_COUNTRIES', array( &$this, 'shortCountries'));
1901
+ add_shortcode('CPD_MOST_VISITED_POSTS', array( &$this, 'shortMostVisitedPosts'));
1902
+ add_shortcode('CPD_REFERERS', array( &$this, 'shortReferers'));
1903
+ add_shortcode('CPD_POSTS_ON_DAY', array( &$this, 'shortPostsOnDay'));
1904
+ }
1905
+ function shortShow() { return $this->show('', '', false, false); }
1906
+ function shortReadsTotal() { return $this->getReadsAll(true); }
1907
+ function shortReadsToday() { return $this->getReadsToday(true); }
1908
+ function shortReadsYesterday() { return $this->getReadsYesterday(true); }
1909
+ function shortReadsThisMonth() { return $this->getReadsThisMonth(true); }
1910
+ function shortReadsLastWeek() { return $this->getReadsLastWeek(true); }
1911
+ function shortReadsPerMonth() { return $this->getReadsPerMonth(true); }
1912
+ function shortUserAll() { return $this->getUserAll(true); }
1913
+ function shortUserOnline() { return $this->getUserOnline(true); }
1914
+ function shortUserToday() { return $this->getUserToday(true); }
1915
+ function shortUserYesterday() { return $this->getUserYesterday(true); }
1916
+ function shortUserLastWeek() { return $this->getUserLastWeek(true); }
1917
+ function shortUserThisMonth() { return $this->getUserThisMonth(true); }
1918
+ function shortUserPerDay() { return $this->getUserPerDay($this->options['dashboard_last_days'], true); }
1919
+ function shortFirstCount() { return $this->getFirstCount(true); }
1920
+ function shortClients() { return $this->getClients(true); }
1921
+ function shortChartReads() { return '<div class="cpd_front_chart">'.$this->dashboardChart(0, true).'</div>'; }
1922
+ function shortChartVisitors() { return '<div class="cpd_front_chart">'.$this->dashboardChartVisitors(0, true).'</div>'; }
1923
+ function shortUserPerMonth() { return $this->getUserPerMonth(true); }
1924
+ function shortUserPerPost() { return $this->getUserPerPost(0, true); }
1925
+ function shortCountries() { return $this->getCountries(0, true); }
1926
+ function shortMostVisitedPosts(){ return $this->getMostVisitedPosts(0, 0, true); }
1927
+ function shortReferers() { return $this->getReferers(0, true); }
1928
+ function shortPostsOnDay( $atts )
1929
+ {
1930
+ extract( shortcode_atts( array(
1931
+ 'date' => 0,
1932
+ 'limit' => 0
1933
+ ), $atts) );
1934
+ return $this->getVisitedPostsOnDay( $date, $limit, false, false, true );
1935
  }
 
 
 
1936
 
1937
  /**
1938
+ * adds style sheet to admin header
1939
  */
1940
+ function addCss()
1941
  {
1942
+ global $text_direction;
1943
+ echo "\n".'<link rel="stylesheet" href="'.$this->dir.'/counter.css" type="text/css" />'."\n";
1944
+ if ( $text_direction == 'rtl' )
1945
+ echo '<link rel="stylesheet" href="'.$this->dir.'/counter-rtl.css" type="text/css" />'."\n";
1946
+ // thickbox style here because add_thickbox() breaks RTL in he_IL
1947
+ if ( strpos($_SERVER['SCRIPT_NAME'], '/wp-admin/') !== false )
1948
+ echo '<link rel="stylesheet" href="'.get_bloginfo('wpurl').'/wp-includes/js/thickbox/thickbox.css" type="text/css" />'."\n";
1949
  }
1950
 
1951
+ /**
1952
+ * adds javascript to admin header
1953
+ */
1954
+ function addJS()
1955
+ {
1956
+ echo '<!--[if IE]><script type="text/javascript" src="'.$this->dir.'/js/excanvas.min.js"></script><![endif]-->'."\n";
1957
+ }
1958
 
1959
+ /**
1960
+ * adds ajax script to count cached posts
1961
+ */
1962
+ function addAjaxScript()
1963
+ {
1964
+ $this->getPostID();
1965
+ echo <<< JSEND
1966
+ <script type="text/javascript">
1967
+ // Count per Day
1968
+ //<![CDATA[
1969
+ jQuery(document).ready( function($)
1970
+ {
1971
+ jQuery.get('{$this->dir}/ajax.php?f=count&page={$this->page}', function(text)
1972
+ {
1973
+ var cpd_funcs = text.split('|');
1974
+ for(var i = 0; i < cpd_funcs.length; i++)
1975
+ {
1976
+ var cpd_daten = cpd_funcs[i].split('===');
1977
+ var cpd_fields = document.getElementsByName('cpd_number_' + cpd_daten[0].toLowerCase());
1978
+ for(var x = 0; x < cpd_fields.length; x++)
1979
+ cpd_fields[x].innerHTML = cpd_daten[1];
1980
+ }
1981
+ });
1982
+ } );
1983
+ //]]>
1984
+ </script>
1985
+ JSEND;
1986
+ }
1987
 
1988
  /**
1989
+ * shows time of queries
1990
  */
1991
+ function showQueries()
1992
  {
1993
+ global $cpd_path, $cpd_version;
1994
+ echo '<div style="margin:10px; padding-left:30px; border:1px red solid">
1995
+ <b>Count per Day - DEBUG: '.round($this->queries[0], 3).' s</b><ol>';
1996
+ echo '<li>'
1997
+ .'<b>Server:</b> '.$_SERVER['SERVER_SOFTWARE'].'<br/>'
1998
+ .'<b>PHP:</b> '.phpversion().'<br/>'
1999
+ .'<b>mySQL Server:</b> '.mysql_get_server_info($this->dbcon).'<br/>'
2000
+ .'<b>mySQL Client:</b> '.mysql_get_client_info().'<br/>'
2001
+ .'<b>WordPress:</b> '.get_bloginfo('version').'<br/>'
2002
+ .'<b>Count per Day:</b> '.$cpd_version.'<br/>'
2003
+ .'<b>Time for Count per Day:</b> '.date_i18n('Y-m-d H:i').'<br/>'
2004
+ .'<b>URL:</b> '.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].'<br/>'
2005
+ .'<b>Referrer:</b> '.$_SERVER['HTTP_REFERER']
2006
+ .'</li>';
2007
+ echo '<li><b>POST:</b><br/>';
2008
+ var_dump($_POST);
2009
+ echo '<li><b>SESSION:</b><br/>';
2010
+ var_dump($_SESSION);
2011
+ echo '</li>';
2012
+ echo '<li><b>Tables:</b><br><b>'.CPD_C_TABLE.'</b>: ';
2013
+ $res = $this->getQuery( "SHOW FIELDS FROM `".CPD_C_TABLE."`", 'showFields' );
2014
+ while ( $col = mysql_fetch_array($res) )
2015
+ echo '<span style="color:blue">'.$col['Field'].'</span> = '.$col['Type'].' &nbsp; ';
2016
+ echo '<br/><b>'.CPD_CO_TABLE.'</b>: ';
2017
+ $res = $this->getQuery( "SHOW FIELDS FROM `".CPD_CO_TABLE."`", 'showFields' );
2018
+ while ( $col = mysql_fetch_array($res) )
2019
+ echo '<span style="color:blue">'.$col['Field'].'</span> = '.$col['Type'].' &nbsp; ';
2020
+ echo '<br/><b>'.CPD_N_TABLE.'</b>: ';
2021
+ $res = $this->getQuery( "SHOW FIELDS FROM `".CPD_N_TABLE."`", 'showFields' );
2022
+ while ( $col = mysql_fetch_array($res) )
2023
+ echo '<span style="color:blue">'.$col['Field'].'</span> = '.$col['Type'].' &nbsp; ';
2024
+ echo '</li>';
2025
+ echo '<li><b>Options:</b><br /> ';
2026
+ foreach ( $this->options as $k=>$v )
2027
+ if ( $k != 'bots') // hoster restrictions
2028
+ echo $k.' = '.$v.'<br />';
2029
+ echo '</li>';
2030
+ foreach($this->queries as $q)
2031
+ if ($q != $this->queries[0] )
2032
+ echo '<li>'.$q.'</li>';
2033
+ echo '</ol>';
2034
+ ?>
2035
+ <p>GeoIP:
2036
+ d_ir=<?php echo substr(decoct(fileperms($cpd_path.'geoip/')), -3) ?>
2037
+ f_ile=<?php echo (is_file($cpd_path.'geoip/GeoIP.dat')) ? substr(decoct(fileperms($cpd_path.'geoip/GeoIP.dat')), -3) : '-'; ?>
2038
+ f_open=<?php echo (function_exists('fopen')) ? 'true' : 'false' ?>
2039
+ g_zopen=<?php echo (function_exists('gzopen')) ? 'true' : 'false' ?>
2040
+ a_llow_url_fopen=<?php echo (ini_get('allow_url_fopen')) ? 'true' : 'false' ?>
2041
+ </p>
2042
+ <?php
2043
+ echo '</div>';
2044
  }
2045
 
2046
+ /**
2047
+ * checks installation in sub blogs
2048
+ */
2049
+ function checkVersion()
2050
+ {
2051
+ global $wpdb;
2052
+
2053
+ if ( function_exists('is_multisite') && is_multisite() )
2054
+ {
2055
+ // check if it is a network activation
2056
+ if ( isset($_GET['networkwide']) && ($_GET['networkwide'] == 1) )
2057
+ {
2058
+ $old_blog = $wpdb->blogid;
2059
+ $blogids = $wpdb->get_col($wpdb->prepare("SELECT blog_id FROM $wpdb->blogs"));
2060
+ foreach ($blogids as $blog_id)
2061
+ {
2062
+ // create tables in all sub blogs
2063
+ switch_to_blog($blog_id);
2064
+ $this->createTables();
2065
+ }
2066
+ switch_to_blog($old_blog);
2067
+ return;
2068
+ }
2069
+ }
2070
+ // create tables in main blog
2071
+ $this->createTables();
2072
+ }
2073
 
2074
+ /**
2075
+ * calls widget class
2076
+ */
2077
+ function register_widgets()
2078
+ {
2079
+ register_widget('CountPerDay_Widget');
2080
+ }
2081
 
2082
  /**
2083
+ * adds charts to lists on dashboard
2084
+ * @param string $id HTML-id of the DIV
2085
+ * @param array $data data
2086
+ * @param string $html given list code to add the chart
2087
  */
2088
+ function includeChartJS( $id, $data, $html )
2089
  {
2090
+ if ( $this->options['chart_old'] )
2091
+ return $html;
2092
+ $d = array_reverse($data);
2093
+ $d = '[['.implode(',', $d).']]';
2094
+ $code = '<div id="'.$id.'" class="cpd-list-chart"></div>
2095
+ <script type="text/javascript">
2096
+ //<![CDATA[
2097
+ jQuery(function(){jQuery.plot(jQuery("#'.$id.'"),'.$d.',{series:{lines:{fill:true,lineWidth:1}},colors:["red"],grid:{show:false}});});
2098
+ //]]>
2099
+ </script>
2100
+ '.$html;
2101
+ return $code;
2102
  }
2103
 
2104
+ } // class end
2105
+
2106
+
2107
 
2108
  /**
2109
+ widget class
2110
  */
2111
+ class CountPerDay_Widget extends WP_Widget
2112
+ {
2113
+ var $fields = array( 'title', 'order', 'show',
2114
+ 'getreadsall', 'getreadstoday', 'getreadsyesterday', 'getreadslastweek', 'getreadsthismonth',
2115
+ 'getuserall', 'getusertoday', 'getuseryesterday', 'getuserlastweek', 'getuserthismonth',
2116
+ 'getuserperday', 'getuseronline', 'getfirstcount',
2117
+ 'show_name',
2118
+ 'getreadsall_name', 'getreadstoday_name', 'getreadsyesterday_name', 'getreadslastweek_name', 'getreadsthismonth_name',
2119
+ 'getuserall_name', 'getusertoday_name', 'getuseryesterday_name', 'getuserlastweek_name', 'getuserthismonth_name',
2120
+ 'getuserperday_name', 'getuseronline_name', 'getfirstcount_name' );
2121
+ const CPDF = 'show,getReadsAll,getReadsToday,getReadsYesterday,getReadsLastWeek,getReadsThisMonth,getUserAll,getUserToday,getUserYesterday,getUserLastWeek,getUserThisMonth,getUserPerDay,getUserOnline,getFirstCount';
2122
+ var $cpd_funcs;
2123
+ var $funcs;
2124
+ var $names;
2125
+
2126
+ // export functions to ajax script
2127
+ public static function getWidgetFuncs()
2128
+ {
2129
+ return explode(',', self::CPDF);
2130
+ }
2131
+
2132
+ // constructor
2133
+ function CountPerDay_Widget() {
2134
+ $this->cpd_funcs = explode(',', self::CPDF);
2135
+ $this->funcs = array_slice( $this->fields, 2, 14);
2136
+ $this->names = array_slice( $this->fields, 16, 14);
2137
+ parent::WP_Widget('countperday_widget', 'Count per Day',
2138
+ array('description' => __('Statistics', 'cpd')), array('width' => 270) );
2139
+ }
2140
 
2141
+ // display widget
2142
+ function widget( $args, $instance )
2143
+ {
2144
+ global $count_per_day;
2145
+
2146
+ extract($args, EXTR_SKIP);
2147
+ $title = empty($instance['title']) ? '&nbsp;' : apply_filters('widget_title', $instance['title']);
2148
+ echo $before_widget;
2149
+ if ( !empty( $title ) )
2150
+ echo $before_title.$title.$after_title;
2151
+ echo '<ul class="cpd">';
2152
+ $order = explode('|', $instance['order']);
2153
+ foreach ( $order as $k )
2154
+ {
2155
+ if ( $k && $instance[$k] == 1 )
2156
+ // checked only
2157
+ {
2158
+ if ( ($k == 'show' && is_singular()) || $k != 'show' )
2159
+ {
2160
+ $f = str_replace( $this->funcs, $this->cpd_funcs, $k );
2161
+ echo '<li class="cpd-l"><span id="cpd_number_'.$k.'" name="cpd_number_'.$k.'" class="cpd-r">';
2162
+ // parameters only for special functions
2163
+ if ( $f == 'getUserPerDay' )
2164
+ eval('echo $count_per_day->getUserPerDay('.$count_per_day->options['dashboard_last_days'].');');
2165
+ else if ( $f == 'show' )
2166
+ eval('echo $count_per_day->show("","",false,false);');
2167
+ else
2168
+ eval('echo $count_per_day->'.$f.'();');
2169
+ echo '</span>'.$instance[$k.'_name'].':</li>';
2170
+ }
2171
+ }
2172
+ }
2173
+ echo '</ul>';
2174
+ echo $after_widget;
2175
+ }
2176
 
2177
+ // update/save function
2178
+ function update( $new_instance, $old_instance )
2179
+ {
2180
+ $instance = $old_instance;
2181
+ foreach ( $this->fields as $f )
2182
+ if ( isset($new_instance[strtolower($f)]) )
2183
+ $instance[strtolower($f)] = strip_tags($new_instance[strtolower($f)]);
2184
+ else
2185
+ $instance[strtolower($f)] = 0; // unchecked checkboxes
2186
+ return $instance;
2187
+ }
2188
 
2189
+ // admin control form
2190
+ function form( $instance )
2191
+ {
2192
+ $default = array(
2193
+ 'title' => 'Count per Day',
2194
+ 'order' => '',
2195
+ 'show' => 0,
2196
+ 'getreadsall' => 0,
2197
+ 'getreadstoday' => 0,
2198
+ 'getreadsyesterday' => 0,
2199
+ 'getreadslastweek' => 0,
2200
+ 'getreadsthismonth' => 0,
2201
+ 'getuserall' => 0,
2202
+ 'getusertoday' => 0,
2203
+ 'getuseryesterday' => 0,
2204
+ 'getuserthismonth' => 0,
2205
+ 'getuserlastweek' => 0,
2206
+ 'getuserperday' => 0,
2207
+ 'getuseronline' => 0,
2208
+ 'getfirstcount' => 0,
2209
+ 'show_name' => __('This post', 'cpd'),
2210
+ 'getreadsall_name' => __('Total reads', 'cpd'),
2211
+ 'getreadstoday_name' => __('Reads today', 'cpd'),
2212
+ 'getreadsyesterday_name' => __('Reads yesterday', 'cpd'),
2213
+ 'getreadslastweek_name' => __('Reads last week', 'cpd'),
2214
+ 'getreadsthismonth_name' => __('Reads per month', 'cpd'),
2215
+ 'getuserall_name' => __('Total visitors', 'cpd'),
2216
+ 'getusertoday_name' => __('Visitors today', 'cpd'),
2217
+ 'getuseryesterday_name' => __('Visitors yesterday', 'cpd'),
2218
+ 'getuserlastweek_name' => __('Visitors last week', 'cpd'),
2219
+ 'getuserthismonth_name' => __('Visitors per month', 'cpd'),
2220
+ 'getuserperday_name' => __('Visitors per day', 'cpd'),
2221
+ 'getuseronline_name' => __('Visitors currently online', 'cpd'),
2222
+ 'getfirstcount_name' => __('Counter starts on', 'cpd')
2223
+ );
2224
+ $instance = wp_parse_args( (array) $instance, $default );
2225
+
2226
+ // title field
2227
+ $field_id = $this->get_field_id('title');
2228
+ $field_name = $this->get_field_name('title');
2229
+
2230
+ echo '
2231
+ <ul id="cpdwidgetlist'.$field_id.'">
2232
+ <li class="cpd_widget_item cpd_widget_title">
2233
+ <label for="'.$field_id.'">'.__('Title').':<label>
2234
+ <input type="text" class="widefat" id="'.$field_id.'" name="'.$field_name.'" value="'.esc_attr( $instance['title'] ).'" />
2235
+ </li>';
2236
+
2237
+ $order = explode('|', $instance['order']);
2238
+ foreach ( $order as $f )
2239
+ {
2240
+ if ( $f )
2241
+ {
2242
+ $check_id = $this->get_field_id( $f );
2243
+ $check_name = $this->get_field_name( $f );
2244
+ $check_status = ( !empty($instance[$f]) ) ? 'checked="checked"' : '';
2245
+
2246
+ $fl = $f.'_name';
2247
+ $label_id = $this->get_field_id( $fl );
2248
+ $label_name = $this->get_field_name( $fl );
2249
+ $label_value = esc_attr( $instance[$fl] );
2250
+
2251
+ echo '
2252
+ <li itemid="'.$f.'" class="cpd_widget_item">
2253
+ <input type="checkbox" class="checkbox" id="'.$check_id.'" name="'.$check_name.'" value="1" '.$check_status.' />
2254
+ <label for="'.$check_id.'"> '.$default[$fl].'</label>
2255
+ <input type="text" class="widefat" id="'.$label_id.'" name="'.$label_name.'" value="'.$label_value.'" style="width:200px" />
2256
+ </li>';
2257
+ }
2258
  }
2259
+ echo "</ul>\n";
2260
+
2261
+ // order
2262
+ $of_id = $this->get_field_id('order');
2263
+ $of_name = $this->get_field_name('order');
2264
+ echo '<input type="hidden" id="'.$of_id.'" name="'.$of_name.'" value="'.esc_attr( $instance['order'] ).'" />';
2265
+ ?>
2266
+ <script type="text/javascript">
2267
+ //<![CDATA[
2268
+ jQuery.noConflict();
2269
+ jQuery(document).ready(function(){
2270
+ jQuery('#cpdwidgetlist<?php echo $field_id ?>').sortable({
2271
+ items: 'li:not(.cpd_widget_title)',
2272
+ update: function (event, ui) {
2273
+ var ul = window.document.getElementById('cpdwidgetlist<?php echo $field_id ?>');
2274
+ var items = ul.getElementsByTagName('li');
2275
+ var array = new Array();
2276
+ for (var i = 1, n = items.length; i < n; i++) {
2277
+ var identifier = items[i].getAttribute('itemid');
2278
+ array.push(identifier);
2279
+ }
2280
+ window.document.getElementById('<?php echo $of_id ?>').value = array.join('|');
2281
+ }
2282
+ });
2283
+ });
2284
+ //]]>
2285
+ </script>
2286
+ <?php
2287
  }
2288
+
2289
+ } // widget class
2290
+
2291
 
2292
 
2293
  /**
2294
+ * uninstall function, deletes tables and options
2295
  */
2296
+ function count_per_day_uninstall()
2297
+ {
2298
+ global $wpdb;
2299
+ $wpdb->query('DROP TABLE IF EXISTS '.CPD_C_TABLE);
2300
+ $wpdb->query('DROP TABLE IF EXISTS '.CPD_CO_TABLE);
2301
+ $wpdb->query('DROP TABLE IF EXISTS '.CPD_N_TABLE);
2302
+ delete_option('count_per_day');
2303
  }
2304
 
 
 
 
2305
 
2306
+ $count_per_day = new CountPerDay();
 
geoip/GeoIP.dat ADDED
Binary file
geoip/geoip.inc ADDED
@@ -0,0 +1,502 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
56
+ class GeoIPCpd {
57
+ var $flags;
58
+ var $filehandle;
59
+ var $memory_buffer;
60
+ var $databaseType;
61
+ var $databaseSegments;
62
+ var $record_length;
63
+ var $shmid;
64
+ var $GEOIP_COUNTRY_CODE_TO_NUMBER = array(
65
+ "" => 0, "AP" => 1, "EU" => 2, "AD" => 3, "AE" => 4, "AF" => 5,
66
+ "AG" => 6, "AI" => 7, "AL" => 8, "AM" => 9, "AN" => 10, "AO" => 11,
67
+ "AQ" => 12, "AR" => 13, "AS" => 14, "AT" => 15, "AU" => 16, "AW" => 17,
68
+ "AZ" => 18, "BA" => 19, "BB" => 20, "BD" => 21, "BE" => 22, "BF" => 23,
69
+ "BG" => 24, "BH" => 25, "BI" => 26, "BJ" => 27, "BM" => 28, "BN" => 29,
70
+ "BO" => 30, "BR" => 31, "BS" => 32, "BT" => 33, "BV" => 34, "BW" => 35,
71
+ "BY" => 36, "BZ" => 37, "CA" => 38, "CC" => 39, "CD" => 40, "CF" => 41,
72
+ "CG" => 42, "CH" => 43, "CI" => 44, "CK" => 45, "CL" => 46, "CM" => 47,
73
+ "CN" => 48, "CO" => 49, "CR" => 50, "CU" => 51, "CV" => 52, "CX" => 53,
74
+ "CY" => 54, "CZ" => 55, "DE" => 56, "DJ" => 57, "DK" => 58, "DM" => 59,
75
+ "DO" => 60, "DZ" => 61, "EC" => 62, "EE" => 63, "EG" => 64, "EH" => 65,
76
+ "ER" => 66, "ES" => 67, "ET" => 68, "FI" => 69, "FJ" => 70, "FK" => 71,
77
+ "FM" => 72, "FO" => 73, "FR" => 74, "FX" => 75, "GA" => 76, "GB" => 77,
78
+ "GD" => 78, "GE" => 79, "GF" => 80, "GH" => 81, "GI" => 82, "GL" => 83,
79
+ "GM" => 84, "GN" => 85, "GP" => 86, "GQ" => 87, "GR" => 88, "GS" => 89,
80
+ "GT" => 90, "GU" => 91, "GW" => 92, "GY" => 93, "HK" => 94, "HM" => 95,
81
+ "HN" => 96, "HR" => 97, "HT" => 98, "HU" => 99, "ID" => 100, "IE" => 101,
82
+ "IL" => 102, "IN" => 103, "IO" => 104, "IQ" => 105, "IR" => 106, "IS" => 107,
83
+ "IT" => 108, "JM" => 109, "JO" => 110, "JP" => 111, "KE" => 112, "KG" => 113,
84
+ "KH" => 114, "KI" => 115, "KM" => 116, "KN" => 117, "KP" => 118, "KR" => 119,
85
+ "KW" => 120, "KY" => 121, "KZ" => 122, "LA" => 123, "LB" => 124, "LC" => 125,
86
+ "LI" => 126, "LK" => 127, "LR" => 128, "LS" => 129, "LT" => 130, "LU" => 131,
87
+ "LV" => 132, "LY" => 133, "MA" => 134, "MC" => 135, "MD" => 136, "MG" => 137,
88
+ "MH" => 138, "MK" => 139, "ML" => 140, "MM" => 141, "MN" => 142, "MO" => 143,
89
+ "MP" => 144, "MQ" => 145, "MR" => 146, "MS" => 147, "MT" => 148, "MU" => 149,
90
+ "MV" => 150, "MW" => 151, "MX" => 152, "MY" => 153, "MZ" => 154, "NA" => 155,
91
+ "NC" => 156, "NE" => 157, "NF" => 158, "NG" => 159, "NI" => 160, "NL" => 161,
92
+ "NO" => 162, "NP" => 163, "NR" => 164, "NU" => 165, "NZ" => 166, "OM" => 167,
93
+ "PA" => 168, "PE" => 169, "PF" => 170, "PG" => 171, "PH" => 172, "PK" => 173,
94
+ "PL" => 174, "PM" => 175, "PN" => 176, "PR" => 177, "PS" => 178, "PT" => 179,
95
+ "PW" => 180, "PY" => 181, "QA" => 182, "RE" => 183, "RO" => 184, "RU" => 185,
96
+ "RW" => 186, "SA" => 187, "SB" => 188, "SC" => 189, "SD" => 190, "SE" => 191,
97
+ "SG" => 192, "SH" => 193, "SI" => 194, "SJ" => 195, "SK" => 196, "SL" => 197,
98
+ "SM" => 198, "SN" => 199, "SO" => 200, "SR" => 201, "ST" => 202, "SV" => 203,
99
+ "SY" => 204, "SZ" => 205, "TC" => 206, "TD" => 207, "TF" => 208, "TG" => 209,
100
+ "TH" => 210, "TJ" => 211, "TK" => 212, "TM" => 213, "TN" => 214, "TO" => 215,
101
+ "TL" => 216, "TR" => 217, "TT" => 218, "TV" => 219, "TW" => 220, "TZ" => 221,
102
+ "UA" => 222, "UG" => 223, "UM" => 224, "US" => 225, "UY" => 226, "UZ" => 227,
103
+ "VA" => 228, "VC" => 229, "VE" => 230, "VG" => 231, "VI" => 232, "VN" => 233,
104
+ "VU" => 234, "WF" => 235, "WS" => 236, "YE" => 237, "YT" => 238, "RS" => 239,
105
+ "ZA" => 240, "ZM" => 241, "ME" => 242, "ZW" => 243, "A1" => 244, "A2" => 245,
106
+ "O1" => 246, "AX" => 247, "GG" => 248, "IM" => 249, "JE" => 250, "BL" => 251,
107
+ "MF" => 252
108
+ );
109
+ var $GEOIP_COUNTRY_CODES = array(
110
+ "", "AP", "EU", "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AN", "AO", "AQ",
111
+ "AR", "AS", "AT", "AU", "AW", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH",
112
+ "BI", "BJ", "BM", "BN", "BO", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA",
113
+ "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU",
114
+ "CV", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG",
115
+ "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "FX", "GA", "GB",
116
+ "GD", "GE", "GF", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT",
117
+ "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IN",
118
+ "IO", "IQ", "IR", "IS", "IT", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM",
119
+ "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS",
120
+ "LT", "LU", "LV", "LY", "MA", "MC", "MD", "MG", "MH", "MK", "ML", "MM", "MN",
121
+ "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA",
122
+ "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA",
123
+ "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY",
124
+ "QA", "RE", "RO", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI",
125
+ "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "ST", "SV", "SY", "SZ", "TC", "TD",
126
+ "TF", "TG", "TH", "TJ", "TK", "TM", "TN", "TO", "TL", "TR", "TT", "TV", "TW",
127
+ "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN",
128
+ "VU", "WF", "WS", "YE", "YT", "RS", "ZA", "ZM", "ME", "ZW", "A1", "A2", "O1",
129
+ "AX", "GG", "IM", "JE", "BL", "MF"
130
+ );
131
+ var $GEOIP_COUNTRY_CODES3 = array(
132
+ "","AP","EU","AND","ARE","AFG","ATG","AIA","ALB","ARM","ANT","AGO","AQ","ARG",
133
+ "ASM","AUT","AUS","ABW","AZE","BIH","BRB","BGD","BEL","BFA","BGR","BHR","BDI",
134
+ "BEN","BMU","BRN","BOL","BRA","BHS","BTN","BV","BWA","BLR","BLZ","CAN","CC",
135
+ "COD","CAF","COG","CHE","CIV","COK","CHL","CMR","CHN","COL","CRI","CUB","CPV",
136
+ "CX","CYP","CZE","DEU","DJI","DNK","DMA","DOM","DZA","ECU","EST","EGY","ESH",
137
+ "ERI","ESP","ETH","FIN","FJI","FLK","FSM","FRO","FRA","FX","GAB","GBR","GRD",
138
+ "GEO","GUF","GHA","GIB","GRL","GMB","GIN","GLP","GNQ","GRC","GS","GTM","GUM",
139
+ "GNB","GUY","HKG","HM","HND","HRV","HTI","HUN","IDN","IRL","ISR","IND","IO",
140
+ "IRQ","IRN","ISL","ITA","JAM","JOR","JPN","KEN","KGZ","KHM","KIR","COM","KNA",
141
+ "PRK","KOR","KWT","CYM","KAZ","LAO","LBN","LCA","LIE","LKA","LBR","LSO","LTU",
142
+ "LUX","LVA","LBY","MAR","MCO","MDA","MDG","MHL","MKD","MLI","MMR","MNG","MAC",
143
+ "MNP","MTQ","MRT","MSR","MLT","MUS","MDV","MWI","MEX","MYS","MOZ","NAM","NCL",
144
+ "NER","NFK","NGA","NIC","NLD","NOR","NPL","NRU","NIU","NZL","OMN","PAN","PER",
145
+ "PYF","PNG","PHL","PAK","POL","SPM","PCN","PRI","PSE","PRT","PLW","PRY","QAT",
146
+ "REU","ROU","RUS","RWA","SAU","SLB","SYC","SDN","SWE","SGP","SHN","SVN","SJM",
147
+ "SVK","SLE","SMR","SEN","SOM","SUR","STP","SLV","SYR","SWZ","TCA","TCD","TF",
148
+ "TGO","THA","TJK","TKL","TLS","TKM","TUN","TON","TUR","TTO","TUV","TWN","TZA",
149
+ "UKR","UGA","UM","USA","URY","UZB","VAT","VCT","VEN","VGB","VIR","VNM","VUT",
150
+ "WLF","WSM","YEM","YT","SRB","ZAF","ZMB","MNE","ZWE","A1","A2","O1",
151
+ "ALA","GGY","IMN","JEY","BLM","MAF"
152
+ );
153
+ var $GEOIP_COUNTRY_NAMES = array(
154
+ "", "Asia/Pacific Region", "Europe", "Andorra", "United Arab Emirates",
155
+ "Afghanistan", "Antigua and Barbuda", "Anguilla", "Albania", "Armenia",
156
+ "Netherlands Antilles", "Angola", "Antarctica", "Argentina", "American Samoa",
157
+ "Austria", "Australia", "Aruba", "Azerbaijan", "Bosnia and Herzegovina",
158
+ "Barbados", "Bangladesh", "Belgium", "Burkina Faso", "Bulgaria", "Bahrain",
159
+ "Burundi", "Benin", "Bermuda", "Brunei Darussalam", "Bolivia", "Brazil",
160
+ "Bahamas", "Bhutan", "Bouvet Island", "Botswana", "Belarus", "Belize",
161
+ "Canada", "Cocos (Keeling) Islands", "Congo, The Democratic Republic of the",
162
+ "Central African Republic", "Congo", "Switzerland", "Cote D'Ivoire", "Cook Islands",
163
+ "Chile", "Cameroon", "China", "Colombia", "Costa Rica", "Cuba", "Cape Verde",
164
+ "Christmas Island", "Cyprus", "Czech Republic", "Germany", "Djibouti",
165
+ "Denmark", "Dominica", "Dominican Republic", "Algeria", "Ecuador", "Estonia",
166
+ "Egypt", "Western Sahara", "Eritrea", "Spain", "Ethiopia", "Finland", "Fiji",
167
+ "Falkland Islands (Malvinas)", "Micronesia, Federated States of", "Faroe Islands",
168
+ "France", "France, Metropolitan", "Gabon", "United Kingdom",
169
+ "Grenada", "Georgia", "French Guiana", "Ghana", "Gibraltar", "Greenland",
170
+ "Gambia", "Guinea", "Guadeloupe", "Equatorial Guinea", "Greece", "South Georgia and the South Sandwich Islands",
171
+ "Guatemala", "Guam", "Guinea-Bissau",
172
+ "Guyana", "Hong Kong", "Heard Island and McDonald Islands", "Honduras",
173
+ "Croatia", "Haiti", "Hungary", "Indonesia", "Ireland", "Israel", "India",
174
+ "British Indian Ocean Territory", "Iraq", "Iran, Islamic Republic of",
175
+ "Iceland", "Italy", "Jamaica", "Jordan", "Japan", "Kenya", "Kyrgyzstan",
176
+ "Cambodia", "Kiribati", "Comoros", "Saint Kitts and Nevis", "Korea, Democratic People's Republic of",
177
+ "Korea, Republic of", "Kuwait", "Cayman Islands",
178
+ "Kazakhstan", "Lao People's Democratic Republic", "Lebanon", "Saint Lucia",
179
+ "Liechtenstein", "Sri Lanka", "Liberia", "Lesotho", "Lithuania", "Luxembourg",
180
+ "Latvia", "Libyan Arab Jamahiriya", "Morocco", "Monaco", "Moldova, Republic of",
181
+ "Madagascar", "Marshall Islands", "Macedonia",
182
+ "Mali", "Myanmar", "Mongolia", "Macau", "Northern Mariana Islands",
183
+ "Martinique", "Mauritania", "Montserrat", "Malta", "Mauritius", "Maldives",
184
+ "Malawi", "Mexico", "Malaysia", "Mozambique", "Namibia", "New Caledonia",
185
+ "Niger", "Norfolk Island", "Nigeria", "Nicaragua", "Netherlands", "Norway",
186
+ "Nepal", "Nauru", "Niue", "New Zealand", "Oman", "Panama", "Peru", "French Polynesia",
187
+ "Papua New Guinea", "Philippines", "Pakistan", "Poland", "Saint Pierre and Miquelon",
188
+ "Pitcairn Islands", "Puerto Rico", "Palestinian Territory",
189
+ "Portugal", "Palau", "Paraguay", "Qatar", "Reunion", "Romania",
190
+ "Russian Federation", "Rwanda", "Saudi Arabia", "Solomon Islands",
191
+ "Seychelles", "Sudan", "Sweden", "Singapore", "Saint Helena", "Slovenia",
192
+ "Svalbard and Jan Mayen", "Slovakia", "Sierra Leone", "San Marino", "Senegal",
193
+ "Somalia", "Suriname", "Sao Tome and Principe", "El Salvador", "Syrian Arab Republic",
194
+ "Swaziland", "Turks and Caicos Islands", "Chad", "French Southern Territories",
195
+ "Togo", "Thailand", "Tajikistan", "Tokelau", "Turkmenistan",
196
+ "Tunisia", "Tonga", "Timor-Leste", "Turkey", "Trinidad and Tobago", "Tuvalu",
197
+ "Taiwan", "Tanzania, United Republic of", "Ukraine",
198
+ "Uganda", "United States Minor Outlying Islands", "United States", "Uruguay",
199
+ "Uzbekistan", "Holy See (Vatican City State)", "Saint Vincent and the Grenadines",
200
+ "Venezuela", "Virgin Islands, British", "Virgin Islands, U.S.",
201
+ "Vietnam", "Vanuatu", "Wallis and Futuna", "Samoa", "Yemen", "Mayotte",
202
+ "Serbia", "South Africa", "Zambia", "Montenegro", "Zimbabwe",
203
+ "Anonymous Proxy","Satellite Provider","Other",
204
+ "Aland Islands","Guernsey","Isle of Man","Jersey","Saint Barthelemy","Saint Martin"
205
+ );
206
+ }
207
+
208
+ function cpd_geoip_load_shared_mem ($file) {
209
+
210
+ $fp = fopen($file, "rb");
211
+ if (!$fp) {
212
+ print "error opening $file: $php_errormsg\n";
213
+ exit;
214
+ }
215
+ $s_array = fstat($fp);
216
+ $size = $s_array['size'];
217
+ if ($shmid = @shmop_open (GEOIP_SHM_KEY, "w", 0, 0)) {
218
+ shmop_delete ($shmid);
219
+ shmop_close ($shmid);
220
+ }
221
+ $shmid = shmop_open (GEOIP_SHM_KEY, "c", 0644, $size);
222
+ shmop_write ($shmid, fread($fp, $size), 0);
223
+ shmop_close ($shmid);
224
+ }
225
+
226
+ function cpd_setup_segments($gi){
227
+ $gi->databaseType = GEOIP_COUNTRY_EDITION;
228
+ $gi->record_length = STANDARD_RECORD_LENGTH;
229
+ if ($gi->flags & GEOIP_SHARED_MEMORY) {
230
+ $offset = @shmop_size ($gi->shmid) - 3;
231
+ for ($i = 0; $i < STRUCTURE_INFO_MAX_SIZE; $i++) {
232
+ $delim = @shmop_read ($gi->shmid, $offset, 3);
233
+ $offset += 3;
234
+ if ($delim == (chr(255).chr(255).chr(255))) {
235
+ $gi->databaseType = ord(@shmop_read ($gi->shmid, $offset, 1));
236
+ $offset++;
237
+
238
+ if ($gi->databaseType == GEOIP_REGION_EDITION_REV0){
239
+ $gi->databaseSegments = GEOIP_STATE_BEGIN_REV0;
240
+ } else if ($gi->databaseType == GEOIP_REGION_EDITION_REV1){
241
+ $gi->databaseSegments = GEOIP_STATE_BEGIN_REV1;
242
+ } else if (($gi->databaseType == GEOIP_CITY_EDITION_REV0)||
243
+ ($gi->databaseType == GEOIP_CITY_EDITION_REV1)
244
+ || ($gi->databaseType == GEOIP_ORG_EDITION)
245
+ || ($gi->databaseType == GEOIP_ISP_EDITION)
246
+ || ($gi->databaseType == GEOIP_ASNUM_EDITION)){
247
+ $gi->databaseSegments = 0;
248
+ $buf = @shmop_read ($gi->shmid, $offset, SEGMENT_RECORD_LENGTH);
249
+ for ($j = 0;$j < SEGMENT_RECORD_LENGTH;$j++){
250
+ $gi->databaseSegments += (ord($buf[$j]) << ($j * 8));
251
+ }
252
+ if (($gi->databaseType == GEOIP_ORG_EDITION)||
253
+ ($gi->databaseType == GEOIP_ISP_EDITION)) {
254
+ $gi->record_length = ORG_RECORD_LENGTH;
255
+ }
256
+ }
257
+ break;
258
+ } else {
259
+ $offset -= 4;
260
+ }
261
+ }
262
+ if (($gi->databaseType == GEOIP_COUNTRY_EDITION)||
263
+ ($gi->databaseType == GEOIP_PROXY_EDITION)||
264
+ ($gi->databaseType == GEOIP_NETSPEED_EDITION)){
265
+ $gi->databaseSegments = GEOIP_COUNTRY_BEGIN;
266
+ }
267
+ } else {
268
+ $filepos = ftell($gi->filehandle);
269
+ fseek($gi->filehandle, -3, SEEK_END);
270
+ for ($i = 0; $i < STRUCTURE_INFO_MAX_SIZE; $i++) {
271
+ $delim = fread($gi->filehandle,3);
272
+ if ($delim == (chr(255).chr(255).chr(255))){
273
+ $gi->databaseType = ord(fread($gi->filehandle,1));
274
+ if ($gi->databaseType == GEOIP_REGION_EDITION_REV0){
275
+ $gi->databaseSegments = GEOIP_STATE_BEGIN_REV0;
276
+ }
277
+ else if ($gi->databaseType == GEOIP_REGION_EDITION_REV1){
278
+ $gi->databaseSegments = GEOIP_STATE_BEGIN_REV1;
279
+ } else if (($gi->databaseType == GEOIP_CITY_EDITION_REV0) ||
280
+ ($gi->databaseType == GEOIP_CITY_EDITION_REV1) ||
281
+ ($gi->databaseType == GEOIP_ORG_EDITION) ||
282
+ ($gi->databaseType == GEOIP_ISP_EDITION) ||
283
+ ($gi->databaseType == GEOIP_ASNUM_EDITION)){
284
+ $gi->databaseSegments = 0;
285
+ $buf = fread($gi->filehandle,SEGMENT_RECORD_LENGTH);
286
+ for ($j = 0;$j < SEGMENT_RECORD_LENGTH;$j++){
287
+ $gi->databaseSegments += (ord($buf[$j]) << ($j * 8));
288
+ }
289
+ if ($gi->databaseType == GEOIP_ORG_EDITION ||
290
+ $gi->databaseType == GEOIP_ISP_EDITION) {
291
+ $gi->record_length = ORG_RECORD_LENGTH;
292
+ }
293
+ }
294
+ break;
295
+ } else {
296
+ fseek($gi->filehandle, -4, SEEK_CUR);
297
+ }
298
+ }
299
+ if (($gi->databaseType == GEOIP_COUNTRY_EDITION)||
300
+ ($gi->databaseType == GEOIP_PROXY_EDITION)||
301
+ ($gi->databaseType == GEOIP_NETSPEED_EDITION)){
302
+ $gi->databaseSegments = GEOIP_COUNTRY_BEGIN;
303
+ }
304
+ fseek($gi->filehandle,$filepos,SEEK_SET);
305
+ }
306
+ return $gi;
307
+ }
308
+
309
+ function cpd_geoip_open($filename, $flags) {
310
+ $gi = new GeoIPCpD;
311
+ $gi->flags = $flags;
312
+ if ($gi->flags & GEOIP_SHARED_MEMORY) {
313
+ $gi->shmid = @shmop_open (GEOIP_SHM_KEY, "a", 0, 0);
314
+ } else {
315
+ $gi->filehandle = fopen($filename,"rb") or die( "Can not open $filename\n" );
316
+ if ($gi->flags & GEOIP_MEMORY_CACHE) {
317
+ $s_array = fstat($gi->filehandle);
318
+ $gi->memory_buffer = fread($gi->filehandle, $s_array['size']);
319
+ }
320
+ }
321
+
322
+ $gi = cpd_setup_segments($gi);
323
+ return $gi;
324
+ }
325
+
326
+ function cpd_geoip_close($gi) {
327
+ if ($gi->flags & GEOIP_SHARED_MEMORY) {
328
+ return true;
329
+ }
330
+
331
+ return fclose($gi->filehandle);
332
+ }
333
+
334
+ function cpd_geoip_country_id_by_name($gi, $name) {
335
+ $addr = gethostbyname($name);
336
+ if (!$addr || $addr == $name) {
337
+ return false;
338
+ }
339
+ return cpd_geoip_country_id_by_addr($gi, $addr);
340
+ }
341
+
342
+ function cpd_geoip_country_code_by_name($gi, $name) {
343
+ $country_id = cpd_geoip_country_id_by_name($gi,$name);
344
+ if ($country_id !== false) {
345
+ return $gi->GEOIP_COUNTRY_CODES[$country_id];
346
+ }
347
+ return false;
348
+ }
349
+
350
+ function cpd_geoip_country_name_by_name($gi, $name) {
351
+ $country_id = cpd_geoip_country_id_by_name($gi,$name);
352
+ if ($country_id !== false) {
353
+ return $gi->GEOIP_COUNTRY_NAMES[$country_id];
354
+ }
355
+ return false;
356
+ }
357
+
358
+ function cpd_geoip_country_id_by_addr($gi, $addr) {
359
+ $ipnum = ip2long($addr);
360
+ return cpd_geoip_seek_country($gi, $ipnum) - GEOIP_COUNTRY_BEGIN;
361
+ }
362
+
363
+ function cpd_geoip_country_code_by_addr($gi, $addr) {
364
+ if ($gi->databaseType == GEOIP_CITY_EDITION_REV1) {
365
+ $record = cpd_geoip_record_by_addr($gi,$addr);
366
+ if ( $record !== false ) {
367
+ return $record->country_code;
368
+ }
369
+ } else {
370
+ $country_id = cpd_geoip_country_id_by_addr($gi,$addr);
371
+ if ($country_id !== false) {
372
+ return $gi->GEOIP_COUNTRY_CODES[$country_id];
373
+ }
374
+ }
375
+ return false;
376
+ }
377
+
378
+ function cpd_geoip_country_name_by_addr($gi, $addr) {
379
+ if ($gi->databaseType == GEOIP_CITY_EDITION_REV1) {
380
+ $record = cpd_geoip_record_by_addr($gi,$addr);
381
+ return $record->country_name;
382
+ } else {
383
+ $country_id = cpd_geoip_country_id_by_addr($gi,$addr);
384
+ if ($country_id !== false) {
385
+ return $gi->GEOIP_COUNTRY_NAMES[$country_id];
386
+ }
387
+ }
388
+ return false;
389
+ }
390
+
391
+ function cpd_geoip_seek_country($gi, $ipnum) {
392
+ $offset = 0;
393
+ for ($depth = 31; $depth >= 0; --$depth) {
394
+ if ($gi->flags & GEOIP_MEMORY_CACHE) {
395
+ $buf = substr($gi->memory_buffer,
396
+ 2 * $gi->record_length * $offset,
397
+ 2 * $gi->record_length);
398
+ } elseif ($gi->flags & GEOIP_SHARED_MEMORY) {
399
+ $buf = @shmop_read ($gi->shmid,
400
+ 2 * $gi->record_length * $offset,
401
+ 2 * $gi->record_length );
402
+ } else {
403
+ fseek($gi->filehandle, 2 * $gi->record_length * $offset, SEEK_SET) == 0
404
+ or die("fseek failed");
405
+ $buf = fread($gi->filehandle, 2 * $gi->record_length);
406
+ }
407
+ $x = array(0,0);
408
+ for ($i = 0; $i < 2; ++$i) {
409
+ for ($j = 0; $j < $gi->record_length; ++$j) {
410
+ $x[$i] += ord($buf[$gi->record_length * $i + $j]) << ($j * 8);
411
+ }
412
+ }
413
+ if ($ipnum & (1 << $depth)) {
414
+ if ($x[1] >= $gi->databaseSegments) {
415
+ return $x[1];
416
+ }
417
+ $offset = $x[1];
418
+ } else {
419
+ if ($x[0] >= $gi->databaseSegments) {
420
+ return $x[0];
421
+ }
422
+ $offset = $x[0];
423
+ }
424
+ }
425
+ trigger_error("error traversing database - perhaps it is corrupt?", E_USER_ERROR);
426
+ return false;
427
+ }
428
+
429
+ //function cpd_get_org($gi,$ipnum){
430
+ // $seek_org = cpd_geoip_seek_country($gi,$ipnum);
431
+ // if ($seek_org == $gi->databaseSegments) {
432
+ // return NULL;
433
+ // }
434
+ // $record_pointer = $seek_org + (2 * $gi->record_length - 1) * $gi->databaseSegments;
435
+ // if ($gi->flags & GEOIP_SHARED_MEMORY) {
436
+ // $org_buf = @shmop_read ($gi->shmid, $record_pointer, MAX_ORG_RECORD_LENGTH);
437
+ // } else {
438
+ // fseek($gi->filehandle, $record_pointer, SEEK_SET);
439
+ // $org_buf = fread($gi->filehandle,MAX_ORG_RECORD_LENGTH);
440
+ // }
441
+ // $org_buf = substr($org_buf, 0, strpos($org_buf, 0));
442
+ // return $org_buf;
443
+ //}
444
+ //
445
+ //function cpd_geoip_org_by_addr ($gi,$addr) {
446
+ // if ($addr == NULL) {
447
+ // return 0;
448
+ // }
449
+ // $ipnum = ip2long($addr);
450
+ // return cpd_get_org($gi, $ipnum);
451
+ //}
452
+
453
+ //function cpd_get_region($gi,$ipnum){
454
+ // if ($gi->databaseType == GEOIP_REGION_EDITION_REV0){
455
+ // $seek_region = cpd_geoip_seek_country($gi,$ipnum) - GEOIP_STATE_BEGIN_REV0;
456
+ // if ($seek_region >= 1000){
457
+ // $country_code = "US";
458
+ // $region = chr(($seek_region - 1000)/26 + 65) . chr(($seek_region - 1000)%26 + 65);
459
+ // } else {
460
+ // $country_code = $gi->GEOIP_COUNTRY_CODES[$seek_region];
461
+ // $region = "";
462
+ // }
463
+ // return array ($country_code,$region);
464
+ // } else if ($gi->databaseType == GEOIP_REGION_EDITION_REV1) {
465
+ // $seek_region = cpd_geoip_seek_country($gi,$ipnum) - GEOIP_STATE_BEGIN_REV1;
466
+ // //print $seek_region;
467
+ // if ($seek_region < US_OFFSET){
468
+ // $country_code = "";
469
+ // $region = "";
470
+ // } else if ($seek_region < CANADA_OFFSET) {
471
+ // $country_code = "US";
472
+ // $region = chr(($seek_region - US_OFFSET)/26 + 65) . chr(($seek_region - US_OFFSET)%26 + 65);
473
+ // } else if ($seek_region < WORLD_OFFSET) {
474
+ // $country_code = "CA";
475
+ // $region = chr(($seek_region - CANADA_OFFSET)/26 + 65) . chr(($seek_region - CANADA_OFFSET)%26 + 65);
476
+ // } else {
477
+ // $country_code = $gi->GEOIP_COUNTRY_CODES[($seek_region - WORLD_OFFSET) / FIPS_RANGE];
478
+ // $region = "";
479
+ // }
480
+ // return array ($country_code,$region);
481
+ // }
482
+ //}
483
+
484
+ //function cpd_geoip_region_by_addr ($gi,$addr) {
485
+ // if ($addr == NULL) {
486
+ // return 0;
487
+ // }
488
+ // $ipnum = ip2long($addr);
489
+ // return cpd_get_region($gi, $ipnum);
490
+ //}
491
+
492
+ //function cpd_getdnsattributes ($l,$ip){
493
+ // $r = new Net_DNS_Resolver();
494
+ // $r->nameservers = array("ws1.maxmind.com");
495
+ // $p = $r->search($l."." . $ip .".s.maxmind.com","TXT","IN");
496
+ // $str = is_object($p->answer[0])?$p->answer[0]->string():'';
497
+ // ereg("\"(.*)\"",$str,$regs);
498
+ // $str = $regs[1];
499
+ // return $str;
500
+ //}
501
+
502
+ ?>
geoip/geoip.php ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Filename: geoip.php
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
+ {
14
+
15
+ /**
16
+ * gets country of ip adress
17
+ * @param $ip IP
18
+ * @return array e.g. ( 'de', image link to easywhois.com , 'Germany' )
19
+ */
20
+ function getCountry( $ip )
21
+ {
22
+ global $cpd_path;
23
+
24
+ $gi = cpd_geoip_open($cpd_path.'/geoip/GeoIP.dat', GEOIP_STANDARD);
25
+ $c = strtolower(cpd_geoip_country_code_by_addr($gi, $ip));
26
+
27
+ if ( empty($c) )
28
+ $c = 'unknown';
29
+ $cname = cpd_geoip_country_name_by_addr($gi, $ip);
30
+ $country = array( $c, '<div class="cpd-flag cpd-flag-'.$c.'" title="'.$cname.'"></div>', $cname );
31
+ cpd_geoip_close($gi);
32
+
33
+ return $country;
34
+ }
35
+
36
+
37
+
38
+ /**
39
+ * updates CountPerDay table
40
+ */
41
+ function updateDB()
42
+ {
43
+ global $count_per_day;
44
+ global $cpd_path;
45
+ global $wpdb;
46
+
47
+ $count_per_day->getQuery("SELECT country FROM `".CPD_C_TABLE."`", 'GeoIP updateDB Table');
48
+ if ((int) mysql_errno() == 1054)
49
+ // add row "country" to table
50
+ $count_per_day->getQuery("ALTER TABLE `".CPD_C_TABLE."` ADD `country` CHAR( 2 ) NOT NULL", 'GeoIP updateDB create column');
51
+
52
+ $limit = 10;
53
+ $res = $count_per_day->getQuery("SELECT ip, INET_NTOA(ip) AS realip FROM ".CPD_C_TABLE." WHERE country LIKE '' GROUP BY ip LIMIT $limit;", 'GeoIP updateDB');
54
+ $gi = cpd_geoip_open($cpd_path.'/geoip/GeoIP.dat', GEOIP_STANDARD);
55
+
56
+ if ( @mysql_num_rows($res) )
57
+ while ( $r = mysql_fetch_array($res) )
58
+ {
59
+ $c = '';
60
+ $ip = explode('.', $r['realip']);
61
+ if ( $ip[0] == 10
62
+ || $ip[0] == 127
63
+ || ($ip[0] == 169 && $ip[1] == 254)
64
+ || ($ip[0] == 172 && $ip[1] >= 16 && $ip[1] <= 31)
65
+ || ($ip[0] == 192 && $ip[1] == 168) )
66
+ // set local IPs to '-'
67
+ $c = '-';
68
+ else
69
+ // get country
70
+ $c = strtolower(cpd_geoip_country_code_by_addr($gi, $r['realip']));
71
+
72
+ if ( !empty($c) )
73
+ $count_per_day->getQuery("UPDATE ".CPD_C_TABLE." SET country = '".$c."' WHERE ip = '".$r['ip']."'", 'GeoIP updateDB');
74
+ }
75
+
76
+ cpd_geoip_close($gi);
77
+
78
+ $res = $count_per_day->getQuery("SELECT count(*) FROM ".CPD_C_TABLE." WHERE country like ''", 'GeoIP updateDB');
79
+ if ( @mysql_num_rows($res) )
80
+ {
81
+ $row = mysql_fetch_array($res);
82
+ $rest = (!empty($row[0])) ? $row[0] : 0;
83
+ }
84
+ else
85
+ $rest = 0;
86
+
87
+ return $rest;
88
+ }
89
+
90
+
91
+
92
+ /**
93
+ * updates the GeoIP database file
94
+ * works only if directory geoip has rights 777, set it in ftp client
95
+ */
96
+ function updateGeoIpFile()
97
+ {
98
+ global $cpd_path;
99
+
100
+ // set directory mode
101
+ @chmod($cpd_path.'/geoip', 0777);
102
+
103
+ // function checks
104
+ if ( !ini_get('allow_url_fopen') )
105
+ return 'Sorry, <code>allow_url_fopen</code> is disabled!';
106
+
107
+ if ( !function_exists('gzopen') )
108
+ return __('Sorry, necessary functions (zlib) not installed or enabled in php.ini.', 'cpd');
109
+
110
+ $gzfile = 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz';
111
+ $file = $cpd_path.'/geoip/GeoIP.dat';
112
+
113
+ // get remote file
114
+ $h = gzopen($gzfile, 'rb');
115
+ $content = gzread($h, 1500000);
116
+ fclose($h);
117
+
118
+ // delete local file
119
+ if (is_file($file))
120
+ unlink($file);
121
+
122
+ // file deleted?
123
+ $del = (is_file($file)) ? 0 : 1;
124
+
125
+ // write new locale file
126
+ $h = fopen($file, 'wb');
127
+ fwrite($h, $content);
128
+ fclose($h);
129
+
130
+ @chmod($file, 0777);
131
+ if (is_file($file) && $del)
132
+ return __('New GeoIP database installed.', 'cpd');
133
+ else
134
+ return __('Sorry, an error occurred. Try again or check the access rights of directory "geoip" is 777.', 'cpd');
135
+ }
136
+
137
+
138
+ }
139
+ ?>
img/cpd_blau.png ADDED
Binary file
img/cpd_calendar.png ADDED
Binary file
img/cpd_clients.png ADDED
Binary file
img/cpd_flags.png ADDED
Binary file
img/cpd_menu.gif ADDED
Binary file
img/cpd_pen.png ADDED
Binary file
img/cpd_rot.png ADDED
Binary file
img/cpd_trans.png ADDED
Binary file
js/excanvas.min.js ADDED
@@ -0,0 +1 @@
 
1
+ if(!document.createElement("canvas").getContext){(function(){var z=Math;var K=z.round;var J=z.sin;var U=z.cos;var b=z.abs;var k=z.sqrt;var D=10;var F=D/2;function T(){return this.context_||(this.context_=new W(this))}var O=Array.prototype.slice;function G(i,j,m){var Z=O.call(arguments,2);return function(){return i.apply(j,Z.concat(O.call(arguments)))}}function AD(Z){return String(Z).replace(/&/g,"&amp;").replace(/"/g,"&quot;")}function r(i){if(!i.namespaces.g_vml_){i.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML")}if(!i.namespaces.g_o_){i.namespaces.add("g_o_","urn:schemas-microsoft-com:office:office","#default#VML")}if(!i.styleSheets.ex_canvas_){var Z=i.createStyleSheet();Z.owningElement.id="ex_canvas_";Z.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}}r(document);var E={init:function(Z){if(/MSIE/.test(navigator.userAgent)&&!window.opera){var i=Z||document;i.createElement("canvas");i.attachEvent("onreadystatechange",G(this.init_,this,i))}},init_:function(m){var j=m.getElementsByTagName("canvas");for(var Z=0;Z<j.length;Z++){this.initElement(j[Z])}},initElement:function(i){if(!i.getContext){i.getContext=T;r(i.ownerDocument);i.innerHTML="";i.attachEvent("onpropertychange",S);i.attachEvent("onresize",w);var Z=i.attributes;if(Z.width&&Z.width.specified){i.style.width=Z.width.nodeValue+"px"}else{i.width=i.clientWidth}if(Z.height&&Z.height.specified){i.style.height=Z.height.nodeValue+"px"}else{i.height=i.clientHeight}}return i}};function S(i){var Z=i.srcElement;switch(i.propertyName){case"width":Z.getContext().clearRect();Z.style.width=Z.attributes.width.nodeValue+"px";Z.firstChild.style.width=Z.clientWidth+"px";break;case"height":Z.getContext().clearRect();Z.style.height=Z.attributes.height.nodeValue+"px";Z.firstChild.style.height=Z.clientHeight+"px";break}}function w(i){var Z=i.srcElement;if(Z.firstChild){Z.firstChild.style.width=Z.clientWidth+"px";Z.firstChild.style.height=Z.clientHeight+"px"}}E.init();var I=[];for(var AC=0;AC<16;AC++){for(var AB=0;AB<16;AB++){I[AC*16+AB]=AC.toString(16)+AB.toString(16)}}function V(){return[[1,0,0],[0,1,0],[0,0,1]]}function d(m,j){var i=V();for(var Z=0;Z<3;Z++){for(var AF=0;AF<3;AF++){var p=0;for(var AE=0;AE<3;AE++){p+=m[Z][AE]*j[AE][AF]}i[Z][AF]=p}}return i}function Q(i,Z){Z.fillStyle=i.fillStyle;Z.lineCap=i.lineCap;Z.lineJoin=i.lineJoin;Z.lineWidth=i.lineWidth;Z.miterLimit=i.miterLimit;Z.shadowBlur=i.shadowBlur;Z.shadowColor=i.shadowColor;Z.shadowOffsetX=i.shadowOffsetX;Z.shadowOffsetY=i.shadowOffsetY;Z.strokeStyle=i.strokeStyle;Z.globalAlpha=i.globalAlpha;Z.font=i.font;Z.textAlign=i.textAlign;Z.textBaseline=i.textBaseline;Z.arcScaleX_=i.arcScaleX_;Z.arcScaleY_=i.arcScaleY_;Z.lineScale_=i.lineScale_}var B={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",grey:"#808080",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",oldlace:"#FDF5E6",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",whitesmoke:"#F5F5F5",yellowgreen:"#9ACD32"};function g(i){var m=i.indexOf("(",3);var Z=i.indexOf(")",m+1);var j=i.substring(m+1,Z).split(",");if(j.length==4&&i.substr(3,1)=="a"){alpha=Number(j[3])}else{j[3]=1}return j}function C(Z){return parseFloat(Z)/100}function N(i,j,Z){return Math.min(Z,Math.max(j,i))}function c(AF){var j,i,Z;h=parseFloat(AF[0])/360%360;if(h<0){h++}s=N(C(AF[1]),0,1);l=N(C(AF[2]),0,1);if(s==0){j=i=Z=l}else{var m=l<0.5?l*(1+s):l+s-l*s;var AE=2*l-m;j=A(AE,m,h+1/3);i=A(AE,m,h);Z=A(AE,m,h-1/3)}return"#"+I[Math.floor(j*255)]+I[Math.floor(i*255)]+I[Math.floor(Z*255)]}function A(i,Z,j){if(j<0){j++}if(j>1){j--}if(6*j<1){return i+(Z-i)*6*j}else{if(2*j<1){return Z}else{if(3*j<2){return i+(Z-i)*(2/3-j)*6}else{return i}}}}function Y(Z){var AE,p=1;Z=String(Z);if(Z.charAt(0)=="#"){AE=Z}else{if(/^rgb/.test(Z)){var m=g(Z);var AE="#",AF;for(var j=0;j<3;j++){if(m[j].indexOf("%")!=-1){AF=Math.floor(C(m[j])*255)}else{AF=Number(m[j])}AE+=I[N(AF,0,255)]}p=m[3]}else{if(/^hsl/.test(Z)){var m=g(Z);AE=c(m);p=m[3]}else{AE=B[Z]||Z}}}return{color:AE,alpha:p}}var L={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"};var f={};function X(Z){if(f[Z]){return f[Z]}var m=document.createElement("div");var j=m.style;try{j.font=Z}catch(i){}return f[Z]={style:j.fontStyle||L.style,variant:j.fontVariant||L.variant,weight:j.fontWeight||L.weight,size:j.fontSize||L.size,family:j.fontFamily||L.family}}function P(j,i){var Z={};for(var AF in j){Z[AF]=j[AF]}var AE=parseFloat(i.currentStyle.fontSize),m=parseFloat(j.size);if(typeof j.size=="number"){Z.size=j.size}else{if(j.size.indexOf("px")!=-1){Z.size=m}else{if(j.size.indexOf("em")!=-1){Z.size=AE*m}else{if(j.size.indexOf("%")!=-1){Z.size=(AE/100)*m}else{if(j.size.indexOf("pt")!=-1){Z.size=m/0.75}else{Z.size=AE}}}}}Z.size*=0.981;return Z}function AA(Z){return Z.style+" "+Z.variant+" "+Z.weight+" "+Z.size+"px "+Z.family}function t(Z){switch(Z){case"butt":return"flat";case"round":return"round";case"square":default:return"square"}}function W(i){this.m_=V();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.strokeStyle="#000";this.fillStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=D*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=i;var Z=i.ownerDocument.createElement("div");Z.style.width=i.clientWidth+"px";Z.style.height=i.clientHeight+"px";Z.style.overflow="hidden";Z.style.position="absolute";i.appendChild(Z);this.element_=Z;this.arcScaleX_=1;this.arcScaleY_=1;this.lineScale_=1}var M=W.prototype;M.clearRect=function(){if(this.textMeasureEl_){this.textMeasureEl_.removeNode(true);this.textMeasureEl_=null}this.element_.innerHTML=""};M.beginPath=function(){this.currentPath_=[]};M.moveTo=function(i,Z){var j=this.getCoords_(i,Z);this.currentPath_.push({type:"moveTo",x:j.x,y:j.y});this.currentX_=j.x;this.currentY_=j.y};M.lineTo=function(i,Z){var j=this.getCoords_(i,Z);this.currentPath_.push({type:"lineTo",x:j.x,y:j.y});this.currentX_=j.x;this.currentY_=j.y};M.bezierCurveTo=function(j,i,AI,AH,AG,AE){var Z=this.getCoords_(AG,AE);var AF=this.getCoords_(j,i);var m=this.getCoords_(AI,AH);e(this,AF,m,Z)};function e(Z,m,j,i){Z.currentPath_.push({type:"bezierCurveTo",cp1x:m.x,cp1y:m.y,cp2x:j.x,cp2y:j.y,x:i.x,y:i.y});Z.currentX_=i.x;Z.currentY_=i.y}M.quadraticCurveTo=function(AG,j,i,Z){var AF=this.getCoords_(AG,j);var AE=this.getCoords_(i,Z);var AH={x:this.currentX_+2/3*(AF.x-this.currentX_),y:this.currentY_+2/3*(AF.y-this.currentY_)};var m={x:AH.x+(AE.x-this.currentX_)/3,y:AH.y+(AE.y-this.currentY_)/3};e(this,AH,m,AE)};M.arc=function(AJ,AH,AI,AE,i,j){AI*=D;var AN=j?"at":"wa";var AK=AJ+U(AE)*AI-F;var AM=AH+J(AE)*AI-F;var Z=AJ+U(i)*AI-F;var AL=AH+J(i)*AI-F;if(AK==Z&&!j){AK+=0.125}var m=this.getCoords_(AJ,AH);var AG=this.getCoords_(AK,AM);var AF=this.getCoords_(Z,AL);this.currentPath_.push({type:AN,x:m.x,y:m.y,radius:AI,xStart:AG.x,yStart:AG.y,xEnd:AF.x,yEnd:AF.y})};M.rect=function(j,i,Z,m){this.moveTo(j,i);this.lineTo(j+Z,i);this.lineTo(j+Z,i+m);this.lineTo(j,i+m);this.closePath()};M.strokeRect=function(j,i,Z,m){var p=this.currentPath_;this.beginPath();this.moveTo(j,i);this.lineTo(j+Z,i);this.lineTo(j+Z,i+m);this.lineTo(j,i+m);this.closePath();this.stroke();this.currentPath_=p};M.fillRect=function(j,i,Z,m){var p=this.currentPath_;this.beginPath();this.moveTo(j,i);this.lineTo(j+Z,i);this.lineTo(j+Z,i+m);this.lineTo(j,i+m);this.closePath();this.fill();this.currentPath_=p};M.createLinearGradient=function(i,m,Z,j){var p=new v("gradient");p.x0_=i;p.y0_=m;p.x1_=Z;p.y1_=j;return p};M.createRadialGradient=function(m,AE,j,i,p,Z){var AF=new v("gradientradial");AF.x0_=m;AF.y0_=AE;AF.r0_=j;AF.x1_=i;AF.y1_=p;AF.r1_=Z;return AF};M.drawImage=function(AO,j){var AH,AF,AJ,AV,AM,AK,AQ,AX;var AI=AO.runtimeStyle.width;var AN=AO.runtimeStyle.height;AO.runtimeStyle.width="auto";AO.runtimeStyle.height="auto";var AG=AO.width;var AT=AO.height;AO.runtimeStyle.width=AI;AO.runtimeStyle.height=AN;if(arguments.length==3){AH=arguments[1];AF=arguments[2];AM=AK=0;AQ=AJ=AG;AX=AV=AT}else{if(arguments.length==5){AH=arguments[1];AF=arguments[2];AJ=arguments[3];AV=arguments[4];AM=AK=0;AQ=AG;AX=AT}else{if(arguments.length==9){AM=arguments[1];AK=arguments[2];AQ=arguments[3];AX=arguments[4];AH=arguments[5];AF=arguments[6];AJ=arguments[7];AV=arguments[8]}else{throw Error("Invalid number of arguments")}}}var AW=this.getCoords_(AH,AF);var m=AQ/2;var i=AX/2;var AU=[];var Z=10;var AE=10;AU.push(" <g_vml_:group",' coordsize="',D*Z,",",D*AE,'"',' coordorigin="0,0"',' style="width:',Z,"px;height:",AE,"px;position:absolute;");if(this.m_[0][0]!=1||this.m_[0][1]||this.m_[1][1]!=1||this.m_[1][0]){var p=[];p.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",K(AW.x/D),",","Dy=",K(AW.y/D),"");var AS=AW;var AR=this.getCoords_(AH+AJ,AF);var AP=this.getCoords_(AH,AF+AV);var AL=this.getCoords_(AH+AJ,AF+AV);AS.x=z.max(AS.x,AR.x,AP.x,AL.x);AS.y=z.max(AS.y,AR.y,AP.y,AL.y);AU.push("padding:0 ",K(AS.x/D),"px ",K(AS.y/D),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",p.join(""),", sizingmethod='clip');")}else{AU.push("top:",K(AW.y/D),"px;left:",K(AW.x/D),"px;")}AU.push(' ">','<g_vml_:image src="',AO.src,'"',' style="width:',D*AJ,"px;"," height:",D*AV,'px"',' cropleft="',AM/AG,'"',' croptop="',AK/AT,'"',' cropright="',(AG-AM-AQ)/AG,'"',' cropbottom="',(AT-AK-AX)/AT,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",AU.join(""))};M.stroke=function(AM){var m=10;var AN=10;var AE=5000;var AG={x:null,y:null};var AL={x:null,y:null};for(var AH=0;AH<this.currentPath_.length;AH+=AE){var AK=[];var AF=false;AK.push("<g_vml_:shape",' filled="',!!AM,'"',' style="position:absolute;width:',m,"px;height:",AN,'px;"',' coordorigin="0,0"',' coordsize="',D*m,",",D*AN,'"',' stroked="',!AM,'"',' path="');var AO=false;for(var AI=AH;AI<Math.min(AH+AE,this.currentPath_.length);AI++){if(AI%AE==0&&AI>0){AK.push(" m ",K(this.currentPath_[AI-1].x),",",K(this.currentPath_[AI-1].y))}var Z=this.currentPath_[AI];var AJ;switch(Z.type){case"moveTo":AJ=Z;AK.push(" m ",K(Z.x),",",K(Z.y));break;case"lineTo":AK.push(" l ",K(Z.x),",",K(Z.y));break;case"close":AK.push(" x ");Z=null;break;case"bezierCurveTo":AK.push(" c ",K(Z.cp1x),",",K(Z.cp1y),",",K(Z.cp2x),",",K(Z.cp2y),",",K(Z.x),",",K(Z.y));break;case"at":case"wa":AK.push(" ",Z.type," ",K(Z.x-this.arcScaleX_*Z.radius),",",K(Z.y-this.arcScaleY_*Z.radius)," ",K(Z.x+this.arcScaleX_*Z.radius),",",K(Z.y+this.arcScaleY_*Z.radius)," ",K(Z.xStart),",",K(Z.yStart)," ",K(Z.xEnd),",",K(Z.yEnd));break}if(Z){if(AG.x==null||Z.x<AG.x){AG.x=Z.x}if(AL.x==null||Z.x>AL.x){AL.x=Z.x}if(AG.y==null||Z.y<AG.y){AG.y=Z.y}if(AL.y==null||Z.y>AL.y){AL.y=Z.y}}}AK.push(' ">');if(!AM){R(this,AK)}else{a(this,AK,AG,AL)}AK.push("</g_vml_:shape>");this.element_.insertAdjacentHTML("beforeEnd",AK.join(""))}};function R(j,AE){var i=Y(j.strokeStyle);var m=i.color;var p=i.alpha*j.globalAlpha;var Z=j.lineScale_*j.lineWidth;if(Z<1){p*=Z}AE.push("<g_vml_:stroke",' opacity="',p,'"',' joinstyle="',j.lineJoin,'"',' miterlimit="',j.miterLimit,'"',' endcap="',t(j.lineCap),'"',' weight="',Z,'px"',' color="',m,'" />')}function a(AO,AG,Ah,AP){var AH=AO.fillStyle;var AY=AO.arcScaleX_;var AX=AO.arcScaleY_;var Z=AP.x-Ah.x;var m=AP.y-Ah.y;if(AH instanceof v){var AL=0;var Ac={x:0,y:0};var AU=0;var AK=1;if(AH.type_=="gradient"){var AJ=AH.x0_/AY;var j=AH.y0_/AX;var AI=AH.x1_/AY;var Aj=AH.y1_/AX;var Ag=AO.getCoords_(AJ,j);var Af=AO.getCoords_(AI,Aj);var AE=Af.x-Ag.x;var p=Af.y-Ag.y;AL=Math.atan2(AE,p)*180/Math.PI;if(AL<0){AL+=360}if(AL<0.000001){AL=0}}else{var Ag=AO.getCoords_(AH.x0_,AH.y0_);Ac={x:(Ag.x-Ah.x)/Z,y:(Ag.y-Ah.y)/m};Z/=AY*D;m/=AX*D;var Aa=z.max(Z,m);AU=2*AH.r0_/Aa;AK=2*AH.r1_/Aa-AU}var AS=AH.colors_;AS.sort(function(Ak,i){return Ak.offset-i.offset});var AN=AS.length;var AR=AS[0].color;var AQ=AS[AN-1].color;var AW=AS[0].alpha*AO.globalAlpha;var AV=AS[AN-1].alpha*AO.globalAlpha;var Ab=[];for(var Ae=0;Ae<AN;Ae++){var AM=AS[Ae];Ab.push(AM.offset*AK+AU+" "+AM.color)}AG.push('<g_vml_:fill type="',AH.type_,'"',' method="none" focus="100%"',' color="',AR,'"',' color2="',AQ,'"',' colors="',Ab.join(","),'"',' opacity="',AV,'"',' g_o_:opacity2="',AW,'"',' angle="',AL,'"',' focusposition="',Ac.x,",",Ac.y,'" />')}else{if(AH instanceof u){if(Z&&m){var AF=-Ah.x;var AZ=-Ah.y;AG.push("<g_vml_:fill",' position="',AF/Z*AY*AY,",",AZ/m*AX*AX,'"',' type="tile"',' src="',AH.src_,'" />')}}else{var Ai=Y(AO.fillStyle);var AT=Ai.color;var Ad=Ai.alpha*AO.globalAlpha;AG.push('<g_vml_:fill color="',AT,'" opacity="',Ad,'" />')}}}M.fill=function(){this.stroke(true)};M.closePath=function(){this.currentPath_.push({type:"close"})};M.getCoords_=function(j,i){var Z=this.m_;return{x:D*(j*Z[0][0]+i*Z[1][0]+Z[2][0])-F,y:D*(j*Z[0][1]+i*Z[1][1]+Z[2][1])-F}};M.save=function(){var Z={};Q(this,Z);this.aStack_.push(Z);this.mStack_.push(this.m_);this.m_=d(V(),this.m_)};M.restore=function(){if(this.aStack_.length){Q(this.aStack_.pop(),this);this.m_=this.mStack_.pop()}};function H(Z){return isFinite(Z[0][0])&&isFinite(Z[0][1])&&isFinite(Z[1][0])&&isFinite(Z[1][1])&&isFinite(Z[2][0])&&isFinite(Z[2][1])}function y(i,Z,j){if(!H(Z)){return }i.m_=Z;if(j){var p=Z[0][0]*Z[1][1]-Z[0][1]*Z[1][0];i.lineScale_=k(b(p))}}M.translate=function(j,i){var Z=[[1,0,0],[0,1,0],[j,i,1]];y(this,d(Z,this.m_),false)};M.rotate=function(i){var m=U(i);var j=J(i);var Z=[[m,j,0],[-j,m,0],[0,0,1]];y(this,d(Z,this.m_),false)};M.scale=function(j,i){this.arcScaleX_*=j;this.arcScaleY_*=i;var Z=[[j,0,0],[0,i,0],[0,0,1]];y(this,d(Z,this.m_),true)};M.transform=function(p,m,AF,AE,i,Z){var j=[[p,m,0],[AF,AE,0],[i,Z,1]];y(this,d(j,this.m_),true)};M.setTransform=function(AE,p,AG,AF,j,i){var Z=[[AE,p,0],[AG,AF,0],[j,i,1]];y(this,Z,true)};M.drawText_=function(AK,AI,AH,AN,AG){var AM=this.m_,AQ=1000,i=0,AP=AQ,AF={x:0,y:0},AE=[];var Z=P(X(this.font),this.element_);var j=AA(Z);var AR=this.element_.currentStyle;var p=this.textAlign.toLowerCase();switch(p){case"left":case"center":case"right":break;case"end":p=AR.direction=="ltr"?"right":"left";break;case"start":p=AR.direction=="rtl"?"right":"left";break;default:p="left"}switch(this.textBaseline){case"hanging":case"top":AF.y=Z.size/1.75;break;case"middle":break;default:case null:case"alphabetic":case"ideographic":case"bottom":AF.y=-Z.size/2.25;break}switch(p){case"right":i=AQ;AP=0.05;break;case"center":i=AP=AQ/2;break}var AO=this.getCoords_(AI+AF.x,AH+AF.y);AE.push('<g_vml_:line from="',-i,' 0" to="',AP,' 0.05" ',' coordsize="100 100" coordorigin="0 0"',' filled="',!AG,'" stroked="',!!AG,'" style="position:absolute;width:1px;height:1px;">');if(AG){R(this,AE)}else{a(this,AE,{x:-i,y:0},{x:AP,y:Z.size})}var AL=AM[0][0].toFixed(3)+","+AM[1][0].toFixed(3)+","+AM[0][1].toFixed(3)+","+AM[1][1].toFixed(3)+",0,0";var AJ=K(AO.x/D)+","+K(AO.y/D);AE.push('<g_vml_:skew on="t" matrix="',AL,'" ',' offset="',AJ,'" origin="',i,' 0" />','<g_vml_:path textpathok="true" />','<g_vml_:textpath on="true" string="',AD(AK),'" style="v-text-align:',p,";font:",AD(j),'" /></g_vml_:line>');this.element_.insertAdjacentHTML("beforeEnd",AE.join(""))};M.fillText=function(j,Z,m,i){this.drawText_(j,Z,m,i,false)};M.strokeText=function(j,Z,m,i){this.drawText_(j,Z,m,i,true)};M.measureText=function(j){if(!this.textMeasureEl_){var Z='<span style="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;"></span>';this.element_.insertAdjacentHTML("beforeEnd",Z);this.textMeasureEl_=this.element_.lastChild}var i=this.element_.ownerDocument;this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(i.createTextNode(j));return{width:this.textMeasureEl_.offsetWidth}};M.clip=function(){};M.arcTo=function(){};M.createPattern=function(i,Z){return new u(i,Z)};function v(Z){this.type_=Z;this.x0_=0;this.y0_=0;this.r0_=0;this.x1_=0;this.y1_=0;this.r1_=0;this.colors_=[]}v.prototype.addColorStop=function(i,Z){Z=Y(Z);this.colors_.push({offset:i,color:Z.color,alpha:Z.alpha})};function u(i,Z){q(i);switch(Z){case"repeat":case null:case"":this.repetition_="repeat";break;case"repeat-x":case"repeat-y":case"no-repeat":this.repetition_=Z;break;default:n("SYNTAX_ERR")}this.src_=i.src;this.width_=i.width;this.height_=i.height}function n(Z){throw new o(Z)}function q(Z){if(!Z||Z.nodeType!=1||Z.tagName!="IMG"){n("TYPE_MISMATCH_ERR")}if(Z.readyState!="complete"){n("INVALID_STATE_ERR")}}function o(Z){this.code=this[Z];this.message=Z+": DOM Exception "+this.code}var x=o.prototype=new Error;x.INDEX_SIZE_ERR=1;x.DOMSTRING_SIZE_ERR=2;x.HIERARCHY_REQUEST_ERR=3;x.WRONG_DOCUMENT_ERR=4;x.INVALID_CHARACTER_ERR=5;x.NO_DATA_ALLOWED_ERR=6;x.NO_MODIFICATION_ALLOWED_ERR=7;x.NOT_FOUND_ERR=8;x.NOT_SUPPORTED_ERR=9;x.INUSE_ATTRIBUTE_ERR=10;x.INVALID_STATE_ERR=11;x.SYNTAX_ERR=12;x.INVALID_MODIFICATION_ERR=13;x.NAMESPACE_ERR=14;x.INVALID_ACCESS_ERR=15;x.VALIDATION_ERR=16;x.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=E;CanvasRenderingContext2D=W;CanvasGradient=v;CanvasPattern=u;DOMException=o})()};
js/jquery.flot.min.js ADDED
@@ -0,0 +1 @@
 
1
+ (function(){jQuery.color={};jQuery.color.make=function(G,H,J,I){var A={};A.r=G||0;A.g=H||0;A.b=J||0;A.a=I!=null?I:1;A.add=function(C,D){for(var E=0;E<C.length;++E){A[C.charAt(E)]+=D}return A.normalize()};A.scale=function(C,D){for(var E=0;E<C.length;++E){A[C.charAt(E)]*=D}return A.normalize()};A.toString=function(){if(A.a>=1){return"rgb("+[A.r,A.g,A.b].join(",")+")"}else{return"rgba("+[A.r,A.g,A.b,A.a].join(",")+")"}};A.normalize=function(){function C(E,D,F){return D<E?E:(D>F?F:D)}A.r=C(0,parseInt(A.r),255);A.g=C(0,parseInt(A.g),255);A.b=C(0,parseInt(A.b),255);A.a=C(0,A.a,1);return A};A.clone=function(){return jQuery.color.make(A.r,A.b,A.g,A.a)};return A.normalize()};jQuery.color.extract=function(E,F){var A;do{A=E.css(F).toLowerCase();if(A!=""&&A!="transparent"){break}E=E.parent()}while(!jQuery.nodeName(E.get(0),"body"));if(A=="rgba(0, 0, 0, 0)"){A="transparent"}return jQuery.color.parse(A)};jQuery.color.parse=function(A){var F,H=jQuery.color.make;if(F=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(A)){return H(parseInt(F[1],10),parseInt(F[2],10),parseInt(F[3],10))}if(F=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(A)){return H(parseInt(F[1],10),parseInt(F[2],10),parseInt(F[3],10),parseFloat(F[4]))}if(F=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(A)){return H(parseFloat(F[1])*2.55,parseFloat(F[2])*2.55,parseFloat(F[3])*2.55)}if(F=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(A)){return H(parseFloat(F[1])*2.55,parseFloat(F[2])*2.55,parseFloat(F[3])*2.55,parseFloat(F[4]))}if(F=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(A)){return H(parseInt(F[1],16),parseInt(F[2],16),parseInt(F[3],16))}if(F=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(A)){return H(parseInt(F[1]+F[1],16),parseInt(F[2]+F[2],16),parseInt(F[3]+F[3],16))}var G=jQuery.trim(A).toLowerCase();if(G=="transparent"){return H(255,255,255,0)}else{F=B[G];return H(F[0],F[1],F[2])}};var B={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})();(function(C){function B(l,W,X,E){var O=[],g={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:true,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:0.85},xaxis:{mode:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,tickDecimals:null,tickSize:null,minTickSize:null,monthNames:null,timeformat:null,twelveHourClock:false},yaxis:{autoscaleMargin:0.02},x2axis:{autoscaleMargin:null},y2axis:{autoscaleMargin:0.02},series:{points:{show:false,radius:3,lineWidth:2,fill:true,fillColor:"#ffffff"},lines:{lineWidth:2,fill:false,fillColor:null,steps:false},bars:{show:false,lineWidth:2,barWidth:1,fill:true,fillColor:null,align:"left",horizontal:false},shadowSize:3},grid:{show:true,aboveData:false,color:"#545454",backgroundColor:null,tickColor:"rgba(0,0,0,0.15)",labelMargin:5,borderWidth:2,borderColor:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:false,hoverable:false,autoHighlight:true,mouseActiveRadius:10},hooks:{}},P=null,AC=null,AD=null,Y=null,AJ=null,s={xaxis:{},yaxis:{},x2axis:{},y2axis:{}},e={left:0,right:0,top:0,bottom:0},y=0,Q=0,I=0,t=0,L={processOptions:[],processRawData:[],processDatapoints:[],draw:[],bindEvents:[],drawOverlay:[]},G=this;G.setData=f;G.setupGrid=k;G.draw=AH;G.getPlaceholder=function(){return l};G.getCanvas=function(){return P};G.getPlotOffset=function(){return e};G.width=function(){return I};G.height=function(){return t};G.offset=function(){var AK=AD.offset();AK.left+=e.left;AK.top+=e.top;return AK};G.getData=function(){return O};G.getAxes=function(){return s};G.getOptions=function(){return g};G.highlight=AE;G.unhighlight=x;G.triggerRedrawOverlay=q;G.pointOffset=function(AK){return{left:parseInt(T(AK,"xaxis").p2c(+AK.x)+e.left),top:parseInt(T(AK,"yaxis").p2c(+AK.y)+e.top)}};G.hooks=L;b(G);r(X);c();f(W);k();AH();AG();function Z(AM,AK){AK=[G].concat(AK);for(var AL=0;AL<AM.length;++AL){AM[AL].apply(this,AK)}}function b(){for(var AK=0;AK<E.length;++AK){var AL=E[AK];AL.init(G);if(AL.options){C.extend(true,g,AL.options)}}}function r(AK){C.extend(true,g,AK);if(g.grid.borderColor==null){g.grid.borderColor=g.grid.color}if(g.xaxis.noTicks&&g.xaxis.ticks==null){g.xaxis.ticks=g.xaxis.noTicks}if(g.yaxis.noTicks&&g.yaxis.ticks==null){g.yaxis.ticks=g.yaxis.noTicks}if(g.grid.coloredAreas){g.grid.markings=g.grid.coloredAreas}if(g.grid.coloredAreasColor){g.grid.markingsColor=g.grid.coloredAreasColor}if(g.lines){C.extend(true,g.series.lines,g.lines)}if(g.points){C.extend(true,g.series.points,g.points)}if(g.bars){C.extend(true,g.series.bars,g.bars)}if(g.shadowSize){g.series.shadowSize=g.shadowSize}for(var AL in L){if(g.hooks[AL]&&g.hooks[AL].length){L[AL]=L[AL].concat(g.hooks[AL])}}Z(L.processOptions,[g])}function f(AK){O=M(AK);U();m()}function M(AN){var AL=[];for(var AK=0;AK<AN.length;++AK){var AM=C.extend(true,{},g.series);if(AN[AK].data){AM.data=AN[AK].data;delete AN[AK].data;C.extend(true,AM,AN[AK]);AN[AK].data=AM.data}else{AM.data=AN[AK]}AL.push(AM)}return AL}function T(AM,AK){var AL=AM[AK];if(!AL||AL==1){return s[AK]}if(typeof AL=="number"){return s[AK.charAt(0)+AL+AK.slice(1)]}return AL}function U(){var AP;var AV=O.length,AK=[],AN=[];for(AP=0;AP<O.length;++AP){var AS=O[AP].color;if(AS!=null){--AV;if(typeof AS=="number"){AN.push(AS)}else{AK.push(C.color.parse(O[AP].color))}}}for(AP=0;AP<AN.length;++AP){AV=Math.max(AV,AN[AP]+1)}var AL=[],AO=0;AP=0;while(AL.length<AV){var AR;if(g.colors.length==AP){AR=C.color.make(100,100,100)}else{AR=C.color.parse(g.colors[AP])}var AM=AO%2==1?-1:1;AR.scale("rgb",1+AM*Math.ceil(AO/2)*0.2);AL.push(AR);++AP;if(AP>=g.colors.length){AP=0;++AO}}var AQ=0,AW;for(AP=0;AP<O.length;++AP){AW=O[AP];if(AW.color==null){AW.color=AL[AQ].toString();++AQ}else{if(typeof AW.color=="number"){AW.color=AL[AW.color].toString()}}if(AW.lines.show==null){var AU,AT=true;for(AU in AW){if(AW[AU].show){AT=false;break}}if(AT){AW.lines.show=true}}AW.xaxis=T(AW,"xaxis");AW.yaxis=T(AW,"yaxis")}}function m(){var AW=Number.POSITIVE_INFINITY,AQ=Number.NEGATIVE_INFINITY,Ac,Aa,AZ,AV,AL,AR,Ab,AX,AP,AO,AK,Ai,Af,AT;for(AK in s){s[AK].datamin=AW;s[AK].datamax=AQ;s[AK].used=false}function AN(Al,Ak,Aj){if(Ak<Al.datamin){Al.datamin=Ak}if(Aj>Al.datamax){Al.datamax=Aj}}for(Ac=0;Ac<O.length;++Ac){AR=O[Ac];AR.datapoints={points:[]};Z(L.processRawData,[AR,AR.data,AR.datapoints])}for(Ac=0;Ac<O.length;++Ac){AR=O[Ac];var Ah=AR.data,Ae=AR.datapoints.format;if(!Ae){Ae=[];Ae.push({x:true,number:true,required:true});Ae.push({y:true,number:true,required:true});if(AR.bars.show){Ae.push({y:true,number:true,required:false,defaultValue:0})}AR.datapoints.format=Ae}if(AR.datapoints.pointsize!=null){continue}if(AR.datapoints.pointsize==null){AR.datapoints.pointsize=Ae.length}AX=AR.datapoints.pointsize;Ab=AR.datapoints.points;insertSteps=AR.lines.show&&AR.lines.steps;AR.xaxis.used=AR.yaxis.used=true;for(Aa=AZ=0;Aa<Ah.length;++Aa,AZ+=AX){AT=Ah[Aa];var AM=AT==null;if(!AM){for(AV=0;AV<AX;++AV){Ai=AT[AV];Af=Ae[AV];if(Af){if(Af.number&&Ai!=null){Ai=+Ai;if(isNaN(Ai)){Ai=null}}if(Ai==null){if(Af.required){AM=true}if(Af.defaultValue!=null){Ai=Af.defaultValue}}}Ab[AZ+AV]=Ai}}if(AM){for(AV=0;AV<AX;++AV){Ai=Ab[AZ+AV];if(Ai!=null){Af=Ae[AV];if(Af.x){AN(AR.xaxis,Ai,Ai)}if(Af.y){AN(AR.yaxis,Ai,Ai)}}Ab[AZ+AV]=null}}else{if(insertSteps&&AZ>0&&Ab[AZ-AX]!=null&&Ab[AZ-AX]!=Ab[AZ]&&Ab[AZ-AX+1]!=Ab[AZ+1]){for(AV=0;AV<AX;++AV){Ab[AZ+AX+AV]=Ab[AZ+AV]}Ab[AZ+1]=Ab[AZ-AX+1];AZ+=AX}}}}for(Ac=0;Ac<O.length;++Ac){AR=O[Ac];Z(L.processDatapoints,[AR,AR.datapoints])}for(Ac=0;Ac<O.length;++Ac){AR=O[Ac];Ab=AR.datapoints.points,AX=AR.datapoints.pointsize;var AS=AW,AY=AW,AU=AQ,Ad=AQ;for(Aa=0;Aa<Ab.length;Aa+=AX){if(Ab[Aa]==null){continue}for(AV=0;AV<AX;++AV){Ai=Ab[Aa+AV];Af=Ae[AV];if(!Af){continue}if(Af.x){if(Ai<AS){AS=Ai}if(Ai>AU){AU=Ai}}if(Af.y){if(Ai<AY){AY=Ai}if(Ai>Ad){Ad=Ai}}}}if(AR.bars.show){var Ag=AR.bars.align=="left"?0:-AR.bars.barWidth/2;if(AR.bars.horizontal){AY+=Ag;Ad+=Ag+AR.bars.barWidth}else{AS+=Ag;AU+=Ag+AR.bars.barWidth}}AN(AR.xaxis,AS,AU);AN(AR.yaxis,AY,Ad)}for(AK in s){if(s[AK].datamin==AW){s[AK].datamin=null}if(s[AK].datamax==AQ){s[AK].datamax=null}}}function c(){function AK(AM,AL){var AN=document.createElement("canvas");AN.width=AM;AN.height=AL;if(C.browser.msie){AN=window.G_vmlCanvasManager.initElement(AN)}return AN}y=l.width();Q=l.height();l.html("");if(l.css("position")=="static"){l.css("position","relative")}if(y<=0||Q<=0){throw"Invalid dimensions for plot, width = "+y+", height = "+Q}if(C.browser.msie){window.G_vmlCanvasManager.init_(document)}P=C(AK(y,Q)).appendTo(l).get(0);Y=P.getContext("2d");AC=C(AK(y,Q)).css({position:"absolute",left:0,top:0}).appendTo(l).get(0);AJ=AC.getContext("2d");AJ.stroke()}function AG(){AD=C([AC,P]);if(g.grid.hoverable){AD.mousemove(D)}if(g.grid.clickable){AD.click(d)}Z(L.bindEvents,[AD])}function k(){function AL(AT,AU){function AP(AV){return AV}var AS,AO,AQ=AU.transform||AP,AR=AU.inverseTransform;if(AT==s.xaxis||AT==s.x2axis){AS=AT.scale=I/(AQ(AT.max)-AQ(AT.min));AO=AQ(AT.min);if(AQ==AP){AT.p2c=function(AV){return(AV-AO)*AS}}else{AT.p2c=function(AV){return(AQ(AV)-AO)*AS}}if(!AR){AT.c2p=function(AV){return AO+AV/AS}}else{AT.c2p=function(AV){return AR(AO+AV/AS)}}}else{AS=AT.scale=t/(AQ(AT.max)-AQ(AT.min));AO=AQ(AT.max);if(AQ==AP){AT.p2c=function(AV){return(AO-AV)*AS}}else{AT.p2c=function(AV){return(AO-AQ(AV))*AS}}if(!AR){AT.c2p=function(AV){return AO-AV/AS}}else{AT.c2p=function(AV){return AR(AO-AV/AS)}}}}function AN(AR,AT){var AQ,AS=[],AP;AR.labelWidth=AT.labelWidth;AR.labelHeight=AT.labelHeight;if(AR==s.xaxis||AR==s.x2axis){if(AR.labelWidth==null){AR.labelWidth=y/(AR.ticks.length>0?AR.ticks.length:1)}if(AR.labelHeight==null){AS=[];for(AQ=0;AQ<AR.ticks.length;++AQ){AP=AR.ticks[AQ].label;if(AP){AS.push('<div class="tickLabel" style="float:left;width:'+AR.labelWidth+'px">'+AP+"</div>")}}if(AS.length>0){var AO=C('<div style="position:absolute;top:-10000px;width:10000px;font-size:smaller">'+AS.join("")+'<div style="clear:left"></div></div>').appendTo(l);AR.labelHeight=AO.height();AO.remove()}}}else{if(AR.labelWidth==null||AR.labelHeight==null){for(AQ=0;AQ<AR.ticks.length;++AQ){AP=AR.ticks[AQ].label;if(AP){AS.push('<div class="tickLabel">'+AP+"</div>")}}if(AS.length>0){var AO=C('<div style="position:absolute;top:-10000px;font-size:smaller">'+AS.join("")+"</div>").appendTo(l);if(AR.labelWidth==null){AR.labelWidth=AO.width()}if(AR.labelHeight==null){AR.labelHeight=AO.find("div").height()}AO.remove()}}}if(AR.labelWidth==null){AR.labelWidth=0}if(AR.labelHeight==null){AR.labelHeight=0}}function AM(){var AP=g.grid.borderWidth;for(i=0;i<O.length;++i){AP=Math.max(AP,2*(O[i].points.radius+O[i].points.lineWidth/2))}e.left=e.right=e.top=e.bottom=AP;var AO=g.grid.labelMargin+g.grid.borderWidth;if(s.xaxis.labelHeight>0){e.bottom=Math.max(AP,s.xaxis.labelHeight+AO)}if(s.yaxis.labelWidth>0){e.left=Math.max(AP,s.yaxis.labelWidth+AO)}if(s.x2axis.labelHeight>0){e.top=Math.max(AP,s.x2axis.labelHeight+AO)}if(s.y2axis.labelWidth>0){e.right=Math.max(AP,s.y2axis.labelWidth+AO)}I=y-e.left-e.right;t=Q-e.bottom-e.top}var AK;for(AK in s){K(s[AK],g[AK])}if(g.grid.show){for(AK in s){F(s[AK],g[AK]);p(s[AK],g[AK]);AN(s[AK],g[AK])}AM()}else{e.left=e.right=e.top=e.bottom=0;I=y;t=Q}for(AK in s){AL(s[AK],g[AK])}if(g.grid.show){h()}AI()}function K(AN,AQ){var AM=+(AQ.min!=null?AQ.min:AN.datamin),AK=+(AQ.max!=null?AQ.max:AN.datamax),AP=AK-AM;if(AP==0){var AL=AK==0?1:0.01;if(AQ.min==null){AM-=AL}if(AQ.max==null||AQ.min!=null){AK+=AL}}else{var AO=AQ.autoscaleMargin;if(AO!=null){if(AQ.min==null){AM-=AP*AO;if(AM<0&&AN.datamin!=null&&AN.datamin>=0){AM=0}}if(AQ.max==null){AK+=AP*AO;if(AK>0&&AN.datamax!=null&&AN.datamax<=0){AK=0}}}}AN.min=AM;AN.max=AK}function F(AP,AS){var AO;if(typeof AS.ticks=="number"&&AS.ticks>0){AO=AS.ticks}else{if(AP==s.xaxis||AP==s.x2axis){AO=0.3*Math.sqrt(y)}else{AO=0.3*Math.sqrt(Q)}}var AX=(AP.max-AP.min)/AO,AZ,AT,AV,AW,AR,AM,AL;if(AS.mode=="time"){var AU={second:1000,minute:60*1000,hour:60*60*1000,day:24*60*60*1000,month:30*24*60*60*1000,year:365.2425*24*60*60*1000};var AY=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[0.25,"month"],[0.5,"month"],[1,"month"],[2,"month"],[3,"month"],[6,"month"],[1,"year"]];var AN=0;if(AS.minTickSize!=null){if(typeof AS.tickSize=="number"){AN=AS.tickSize}else{AN=AS.minTickSize[0]*AU[AS.minTickSize[1]]}}for(AR=0;AR<AY.length-1;++AR){if(AX<(AY[AR][0]*AU[AY[AR][1]]+AY[AR+1][0]*AU[AY[AR+1][1]])/2&&AY[AR][0]*AU[AY[AR][1]]>=AN){break}}AZ=AY[AR][0];AV=AY[AR][1];if(AV=="year"){AM=Math.pow(10,Math.floor(Math.log(AX/AU.year)/Math.LN10));AL=(AX/AU.year)/AM;if(AL<1.5){AZ=1}else{if(AL<3){AZ=2}else{if(AL<7.5){AZ=5}else{AZ=10}}}AZ*=AM}if(AS.tickSize){AZ=AS.tickSize[0];AV=AS.tickSize[1]}AT=function(Ac){var Ah=[],Af=Ac.tickSize[0],Ai=Ac.tickSize[1],Ag=new Date(Ac.min);var Ab=Af*AU[Ai];if(Ai=="second"){Ag.setUTCSeconds(A(Ag.getUTCSeconds(),Af))}if(Ai=="minute"){Ag.setUTCMinutes(A(Ag.getUTCMinutes(),Af))}if(Ai=="hour"){Ag.setUTCHours(A(Ag.getUTCHours(),Af))}if(Ai=="month"){Ag.setUTCMonth(A(Ag.getUTCMonth(),Af))}if(Ai=="year"){Ag.setUTCFullYear(A(Ag.getUTCFullYear(),Af))}Ag.setUTCMilliseconds(0);if(Ab>=AU.minute){Ag.setUTCSeconds(0)}if(Ab>=AU.hour){Ag.setUTCMinutes(0)}if(Ab>=AU.day){Ag.setUTCHours(0)}if(Ab>=AU.day*4){Ag.setUTCDate(1)}if(Ab>=AU.year){Ag.setUTCMonth(0)}var Ak=0,Aj=Number.NaN,Ad;do{Ad=Aj;Aj=Ag.getTime();Ah.push({v:Aj,label:Ac.tickFormatter(Aj,Ac)});if(Ai=="month"){if(Af<1){Ag.setUTCDate(1);var Aa=Ag.getTime();Ag.setUTCMonth(Ag.getUTCMonth()+1);var Ae=Ag.getTime();Ag.setTime(Aj+Ak*AU.hour+(Ae-Aa)*Af);Ak=Ag.getUTCHours();Ag.setUTCHours(0)}else{Ag.setUTCMonth(Ag.getUTCMonth()+Af)}}else{if(Ai=="year"){Ag.setUTCFullYear(Ag.getUTCFullYear()+Af)}else{Ag.setTime(Aj+Ab)}}}while(Aj<Ac.max&&Aj!=Ad);return Ah};AW=function(Aa,Ad){var Af=new Date(Aa);if(AS.timeformat!=null){return C.plot.formatDate(Af,AS.timeformat,AS.monthNames)}var Ab=Ad.tickSize[0]*AU[Ad.tickSize[1]];var Ac=Ad.max-Ad.min;var Ae=(AS.twelveHourClock)?" %p":"";if(Ab<AU.minute){fmt="%h:%M:%S"+Ae}else{if(Ab<AU.day){if(Ac<2*AU.day){fmt="%h:%M"+Ae}else{fmt="%b %d %h:%M"+Ae}}else{if(Ab<AU.month){fmt="%b %d"}else{if(Ab<AU.year){if(Ac<AU.year){fmt="%b"}else{fmt="%b %y"}}else{fmt="%y"}}}}return C.plot.formatDate(Af,fmt,AS.monthNames)}}else{var AK=AS.tickDecimals;var AQ=-Math.floor(Math.log(AX)/Math.LN10);if(AK!=null&&AQ>AK){AQ=AK}AM=Math.pow(10,-AQ);AL=AX/AM;if(AL<1.5){AZ=1}else{if(AL<3){AZ=2;if(AL>2.25&&(AK==null||AQ+1<=AK)){AZ=2.5;++AQ}}else{if(AL<7.5){AZ=5}else{AZ=10}}}AZ*=AM;if(AS.minTickSize!=null&&AZ<AS.minTickSize){AZ=AS.minTickSize}if(AS.tickSize!=null){AZ=AS.tickSize}AP.tickDecimals=Math.max(0,(AK!=null)?AK:AQ);AT=function(Ac){var Ae=[];var Af=A(Ac.min,Ac.tickSize),Ab=0,Aa=Number.NaN,Ad;do{Ad=Aa;Aa=Af+Ab*Ac.tickSize;Ae.push({v:Aa,label:Ac.tickFormatter(Aa,Ac)});++Ab}while(Aa<Ac.max&&Aa!=Ad);return Ae};AW=function(Aa,Ab){return Aa.toFixed(Ab.tickDecimals)}}AP.tickSize=AV?[AZ,AV]:AZ;AP.tickGenerator=AT;if(C.isFunction(AS.tickFormatter)){AP.tickFormatter=function(Aa,Ab){return""+AS.tickFormatter(Aa,Ab)}}else{AP.tickFormatter=AW}}function p(AO,AQ){AO.ticks=[];if(!AO.used){return }if(AQ.ticks==null){AO.ticks=AO.tickGenerator(AO)}else{if(typeof AQ.ticks=="number"){if(AQ.ticks>0){AO.ticks=AO.tickGenerator(AO)}}else{if(AQ.ticks){var AP=AQ.ticks;if(C.isFunction(AP)){AP=AP({min:AO.min,max:AO.max})}var AN,AK;for(AN=0;AN<AP.length;++AN){var AL=null;var AM=AP[AN];if(typeof AM=="object"){AK=AM[0];if(AM.length>1){AL=AM[1]}}else{AK=AM}if(AL==null){AL=AO.tickFormatter(AK,AO)}AO.ticks[AN]={v:AK,label:AL}}}}}if(AQ.autoscaleMargin!=null&&AO.ticks.length>0){if(AQ.min==null){AO.min=Math.min(AO.min,AO.ticks[0].v)}if(AQ.max==null&&AO.ticks.length>1){AO.max=Math.max(AO.max,AO.ticks[AO.ticks.length-1].v)}}}function AH(){Y.clearRect(0,0,y,Q);var AL=g.grid;if(AL.show&&!AL.aboveData){S()}for(var AK=0;AK<O.length;++AK){AA(O[AK])}Z(L.draw,[Y]);if(AL.show&&AL.aboveData){S()}}function N(AL,AR){var AO=AR+"axis",AK=AR+"2axis",AN,AQ,AP,AM;if(AL[AO]){AN=s[AO];AQ=AL[AO].from;AP=AL[AO].to}else{if(AL[AK]){AN=s[AK];AQ=AL[AK].from;AP=AL[AK].to}else{AN=s[AO];AQ=AL[AR+"1"];AP=AL[AR+"2"]}}if(AQ!=null&&AP!=null&&AQ>AP){return{from:AP,to:AQ,axis:AN}}return{from:AQ,to:AP,axis:AN}}function S(){var AO;Y.save();Y.translate(e.left,e.top);if(g.grid.backgroundColor){Y.fillStyle=R(g.grid.backgroundColor,t,0,"rgba(255, 255, 255, 0)");Y.fillRect(0,0,I,t)}var AL=g.grid.markings;if(AL){if(C.isFunction(AL)){AL=AL({xmin:s.xaxis.min,xmax:s.xaxis.max,ymin:s.yaxis.min,ymax:s.yaxis.max,xaxis:s.xaxis,yaxis:s.yaxis,x2axis:s.x2axis,y2axis:s.y2axis})}for(AO=0;AO<AL.length;++AO){var AK=AL[AO],AQ=N(AK,"x"),AN=N(AK,"y");if(AQ.from==null){AQ.from=AQ.axis.min}if(AQ.to==null){AQ.to=AQ.axis.max}if(AN.from==null){AN.from=AN.axis.min}if(AN.to==null){AN.to=AN.axis.max}if(AQ.to<AQ.axis.min||AQ.from>AQ.axis.max||AN.to<AN.axis.min||AN.from>AN.axis.max){continue}AQ.from=Math.max(AQ.from,AQ.axis.min);AQ.to=Math.min(AQ.to,AQ.axis.max);AN.from=Math.max(AN.from,AN.axis.min);AN.to=Math.min(AN.to,AN.axis.max);if(AQ.from==AQ.to&&AN.from==AN.to){continue}AQ.from=AQ.axis.p2c(AQ.from);AQ.to=AQ.axis.p2c(AQ.to);AN.from=AN.axis.p2c(AN.from);AN.to=AN.axis.p2c(AN.to);if(AQ.from==AQ.to||AN.from==AN.to){Y.beginPath();Y.strokeStyle=AK.color||g.grid.markingsColor;Y.lineWidth=AK.lineWidth||g.grid.markingsLineWidth;Y.moveTo(AQ.from,AN.from);Y.lineTo(AQ.to,AN.to);Y.stroke()}else{Y.fillStyle=AK.color||g.grid.markingsColor;Y.fillRect(AQ.from,AN.to,AQ.to-AQ.from,AN.from-AN.to)}}}Y.lineWidth=1;Y.strokeStyle=g.grid.tickColor;Y.beginPath();var AM,AP=s.xaxis;for(AO=0;AO<AP.ticks.length;++AO){AM=AP.ticks[AO].v;if(AM<=AP.min||AM>=s.xaxis.max){continue}Y.moveTo(Math.floor(AP.p2c(AM))+Y.lineWidth/2,0);Y.lineTo(Math.floor(AP.p2c(AM))+Y.lineWidth/2,t)}AP=s.yaxis;for(AO=0;AO<AP.ticks.length;++AO){AM=AP.ticks[AO].v;if(AM<=AP.min||AM>=AP.max){continue}Y.moveTo(0,Math.floor(AP.p2c(AM))+Y.lineWidth/2);Y.lineTo(I,Math.floor(AP.p2c(AM))+Y.lineWidth/2)}AP=s.x2axis;for(AO=0;AO<AP.ticks.length;++AO){AM=AP.ticks[AO].v;if(AM<=AP.min||AM>=AP.max){continue}Y.moveTo(Math.floor(AP.p2c(AM))+Y.lineWidth/2,-5);Y.lineTo(Math.floor(AP.p2c(AM))+Y.lineWidth/2,5)}AP=s.y2axis;for(AO=0;AO<AP.ticks.length;++AO){AM=AP.ticks[AO].v;if(AM<=AP.min||AM>=AP.max){continue}Y.moveTo(I-5,Math.floor(AP.p2c(AM))+Y.lineWidth/2);Y.lineTo(I+5,Math.floor(AP.p2c(AM))+Y.lineWidth/2)}Y.stroke();if(g.grid.borderWidth){var AR=g.grid.borderWidth;Y.lineWidth=AR;Y.strokeStyle=g.grid.borderColor;Y.strokeRect(-AR/2,-AR/2,I+AR,t+AR)}Y.restore()}function h(){l.find(".tickLabels").remove();var AK=['<div class="tickLabels" style="font-size:smaller;color:'+g.grid.color+'">'];function AM(AP,AQ){for(var AO=0;AO<AP.ticks.length;++AO){var AN=AP.ticks[AO];if(!AN.label||AN.v<AP.min||AN.v>AP.max){continue}AK.push(AQ(AN,AP))}}var AL=g.grid.labelMargin+g.grid.borderWidth;AM(s.xaxis,function(AN,AO){return'<div style="position:absolute;top:'+(e.top+t+AL)+"px;left:"+Math.round(e.left+AO.p2c(AN.v)-AO.labelWidth/2)+"px;width:"+AO.labelWidth+'px;text-align:center" class="tickLabel">'+AN.label+"</div>"});AM(s.yaxis,function(AN,AO){return'<div style="position:absolute;top:'+Math.round(e.top+AO.p2c(AN.v)-AO.labelHeight/2)+"px;right:"+(e.right+I+AL)+"px;width:"+AO.labelWidth+'px;text-align:right" class="tickLabel">'+AN.label+"</div>"});AM(s.x2axis,function(AN,AO){return'<div style="position:absolute;bottom:'+(e.bottom+t+AL)+"px;left:"+Math.round(e.left+AO.p2c(AN.v)-AO.labelWidth/2)+"px;width:"+AO.labelWidth+'px;text-align:center" class="tickLabel">'+AN.label+"</div>"});AM(s.y2axis,function(AN,AO){return'<div style="position:absolute;top:'+Math.round(e.top+AO.p2c(AN.v)-AO.labelHeight/2)+"px;left:"+(e.left+I+AL)+"px;width:"+AO.labelWidth+'px;text-align:left" class="tickLabel">'+AN.label+"</div>"});AK.push("</div>");l.append(AK.join(""))}function AA(AK){if(AK.lines.show){a(AK)}if(AK.bars.show){n(AK)}if(AK.points.show){o(AK)}}function a(AN){function AM(AY,AZ,AR,Ad,Ac){var Ae=AY.points,AS=AY.pointsize,AW=null,AV=null;Y.beginPath();for(var AX=AS;AX<Ae.length;AX+=AS){var AU=Ae[AX-AS],Ab=Ae[AX-AS+1],AT=Ae[AX],Aa=Ae[AX+1];if(AU==null||AT==null){continue}if(Ab<=Aa&&Ab<Ac.min){if(Aa<Ac.min){continue}AU=(Ac.min-Ab)/(Aa-Ab)*(AT-AU)+AU;Ab=Ac.min}else{if(Aa<=Ab&&Aa<Ac.min){if(Ab<Ac.min){continue}AT=(Ac.min-Ab)/(Aa-Ab)*(AT-AU)+AU;Aa=Ac.min}}if(Ab>=Aa&&Ab>Ac.max){if(Aa>Ac.max){continue}AU=(Ac.max-Ab)/(Aa-Ab)*(AT-AU)+AU;Ab=Ac.max}else{if(Aa>=Ab&&Aa>Ac.max){if(Ab>Ac.max){continue}AT=(Ac.max-Ab)/(Aa-Ab)*(AT-AU)+AU;Aa=Ac.max}}if(AU<=AT&&AU<Ad.min){if(AT<Ad.min){continue}Ab=(Ad.min-AU)/(AT-AU)*(Aa-Ab)+Ab;AU=Ad.min}else{if(AT<=AU&&AT<Ad.min){if(AU<Ad.min){continue}Aa=(Ad.min-AU)/(AT-AU)*(Aa-Ab)+Ab;AT=Ad.min}}if(AU>=AT&&AU>Ad.max){if(AT>Ad.max){continue}Ab=(Ad.max-AU)/(AT-AU)*(Aa-Ab)+Ab;AU=Ad.max}else{if(AT>=AU&&AT>Ad.max){if(AU>Ad.max){continue}Aa=(Ad.max-AU)/(AT-AU)*(Aa-Ab)+Ab;AT=Ad.max}}if(AU!=AW||Ab!=AV){Y.moveTo(Ad.p2c(AU)+AZ,Ac.p2c(Ab)+AR)}AW=AT;AV=Aa;Y.lineTo(Ad.p2c(AT)+AZ,Ac.p2c(Aa)+AR)}Y.stroke()}function AO(AX,Ae,Ac){var Af=AX.points,AR=AX.pointsize,AS=Math.min(Math.max(0,Ac.min),Ac.max),Aa,AV=0,Ad=false;for(var AW=AR;AW<Af.length;AW+=AR){var AU=Af[AW-AR],Ab=Af[AW-AR+1],AT=Af[AW],AZ=Af[AW+1];if(Ad&&AU!=null&&AT==null){Y.lineTo(Ae.p2c(AV),Ac.p2c(AS));Y.fill();Ad=false;continue}if(AU==null||AT==null){continue}if(AU<=AT&&AU<Ae.min){if(AT<Ae.min){continue}Ab=(Ae.min-AU)/(AT-AU)*(AZ-Ab)+Ab;AU=Ae.min}else{if(AT<=AU&&AT<Ae.min){if(AU<Ae.min){continue}AZ=(Ae.min-AU)/(AT-AU)*(AZ-Ab)+Ab;AT=Ae.min}}if(AU>=AT&&AU>Ae.max){if(AT>Ae.max){continue}Ab=(Ae.max-AU)/(AT-AU)*(AZ-Ab)+Ab;AU=Ae.max}else{if(AT>=AU&&AT>Ae.max){if(AU>Ae.max){continue}AZ=(Ae.max-AU)/(AT-AU)*(AZ-Ab)+Ab;AT=Ae.max}}if(!Ad){Y.beginPath();Y.moveTo(Ae.p2c(AU),Ac.p2c(AS));Ad=true}if(Ab>=Ac.max&&AZ>=Ac.max){Y.lineTo(Ae.p2c(AU),Ac.p2c(Ac.max));Y.lineTo(Ae.p2c(AT),Ac.p2c(Ac.max));AV=AT;continue}else{if(Ab<=Ac.min&&AZ<=Ac.min){Y.lineTo(Ae.p2c(AU),Ac.p2c(Ac.min));Y.lineTo(Ae.p2c(AT),Ac.p2c(Ac.min));AV=AT;continue}}var Ag=AU,AY=AT;if(Ab<=AZ&&Ab<Ac.min&&AZ>=Ac.min){AU=(Ac.min-Ab)/(AZ-Ab)*(AT-AU)+AU;Ab=Ac.min}else{if(AZ<=Ab&&AZ<Ac.min&&Ab>=Ac.min){AT=(Ac.min-Ab)/(AZ-Ab)*(AT-AU)+AU;AZ=Ac.min}}if(Ab>=AZ&&Ab>Ac.max&&AZ<=Ac.max){AU=(Ac.max-Ab)/(AZ-Ab)*(AT-AU)+AU;Ab=Ac.max}else{if(AZ>=Ab&&AZ>Ac.max&&Ab<=Ac.max){AT=(Ac.max-Ab)/(AZ-Ab)*(AT-AU)+AU;AZ=Ac.max}}if(AU!=Ag){if(Ab<=Ac.min){Aa=Ac.min}else{Aa=Ac.max}Y.lineTo(Ae.p2c(Ag),Ac.p2c(Aa));Y.lineTo(Ae.p2c(AU),Ac.p2c(Aa))}Y.lineTo(Ae.p2c(AU),Ac.p2c(Ab));Y.lineTo(Ae.p2c(AT),Ac.p2c(AZ));if(AT!=AY){if(AZ<=Ac.min){Aa=Ac.min}else{Aa=Ac.max}Y.lineTo(Ae.p2c(AT),Ac.p2c(Aa));Y.lineTo(Ae.p2c(AY),Ac.p2c(Aa))}AV=Math.max(AT,AY)}if(Ad){Y.lineTo(Ae.p2c(AV),Ac.p2c(AS));Y.fill()}}Y.save();Y.translate(e.left,e.top);Y.lineJoin="round";var AP=AN.lines.lineWidth,AK=AN.shadowSize;if(AP>0&&AK>0){Y.lineWidth=AK;Y.strokeStyle="rgba(0,0,0,0.1)";var AQ=Math.PI/18;AM(AN.datapoints,Math.sin(AQ)*(AP/2+AK/2),Math.cos(AQ)*(AP/2+AK/2),AN.xaxis,AN.yaxis);Y.lineWidth=AK/2;AM(AN.datapoints,Math.sin(AQ)*(AP/2+AK/4),Math.cos(AQ)*(AP/2+AK/4),AN.xaxis,AN.yaxis)}Y.lineWidth=AP;Y.strokeStyle=AN.color;var AL=V(AN.lines,AN.color,0,t);if(AL){Y.fillStyle=AL;AO(AN.datapoints,AN.xaxis,AN.yaxis)}if(AP>0){AM(AN.datapoints,0,0,AN.xaxis,AN.yaxis)}Y.restore()}function o(AN){function AP(AU,AT,Ab,AR,AV,AZ,AY){var Aa=AU.points,AQ=AU.pointsize;for(var AS=0;AS<Aa.length;AS+=AQ){var AX=Aa[AS],AW=Aa[AS+1];if(AX==null||AX<AZ.min||AX>AZ.max||AW<AY.min||AW>AY.max){continue}Y.beginPath();Y.arc(AZ.p2c(AX),AY.p2c(AW)+AR,AT,0,AV,false);if(Ab){Y.fillStyle=Ab;Y.fill()}Y.stroke()}}Y.save();Y.translate(e.left,e.top);var AO=AN.lines.lineWidth,AL=AN.shadowSize,AK=AN.points.radius;if(AO>0&&AL>0){var AM=AL/2;Y.lineWidth=AM;Y.strokeStyle="rgba(0,0,0,0.1)";AP(AN.datapoints,AK,null,AM+AM/2,Math.PI,AN.xaxis,AN.yaxis);Y.strokeStyle="rgba(0,0,0,0.2)";AP(AN.datapoints,AK,null,AM/2,Math.PI,AN.xaxis,AN.yaxis)}Y.lineWidth=AO;Y.strokeStyle=AN.color;AP(AN.datapoints,AK,V(AN.points,AN.color),0,2*Math.PI,AN.xaxis,AN.yaxis);Y.restore()}function AB(AV,AU,Ad,AQ,AY,AN,AL,AT,AS,Ac,AZ){var AM,Ab,AR,AX,AO,AK,AW,AP,Aa;if(AZ){AP=AK=AW=true;AO=false;AM=Ad;Ab=AV;AX=AU+AQ;AR=AU+AY;if(Ab<AM){Aa=Ab;Ab=AM;AM=Aa;AO=true;AK=false}}else{AO=AK=AW=true;AP=false;AM=AV+AQ;Ab=AV+AY;AR=Ad;AX=AU;if(AX<AR){Aa=AX;AX=AR;AR=Aa;AP=true;AW=false}}if(Ab<AT.min||AM>AT.max||AX<AS.min||AR>AS.max){return }if(AM<AT.min){AM=AT.min;AO=false}if(Ab>AT.max){Ab=AT.max;AK=false}if(AR<AS.min){AR=AS.min;AP=false}if(AX>AS.max){AX=AS.max;AW=false}AM=AT.p2c(AM);AR=AS.p2c(AR);Ab=AT.p2c(Ab);AX=AS.p2c(AX);if(AL){Ac.beginPath();Ac.moveTo(AM,AR);Ac.lineTo(AM,AX);Ac.lineTo(Ab,AX);Ac.lineTo(Ab,AR);Ac.fillStyle=AL(AR,AX);Ac.fill()}if(AO||AK||AW||AP){Ac.beginPath();Ac.moveTo(AM,AR+AN);if(AO){Ac.lineTo(AM,AX+AN)}else{Ac.moveTo(AM,AX+AN)}if(AW){Ac.lineTo(Ab,AX+AN)}else{Ac.moveTo(Ab,AX+AN)}if(AK){Ac.lineTo(Ab,AR+AN)}else{Ac.moveTo(Ab,AR+AN)}if(AP){Ac.lineTo(AM,AR+AN)}else{Ac.moveTo(AM,AR+AN)}Ac.stroke()}}function n(AM){function AL(AS,AR,AU,AP,AT,AW,AV){var AX=AS.points,AO=AS.pointsize;for(var AQ=0;AQ<AX.length;AQ+=AO){if(AX[AQ]==null){continue}AB(AX[AQ],AX[AQ+1],AX[AQ+2],AR,AU,AP,AT,AW,AV,Y,AM.bars.horizontal)}}Y.save();Y.translate(e.left,e.top);Y.lineWidth=AM.bars.lineWidth;Y.strokeStyle=AM.color;var AK=AM.bars.align=="left"?0:-AM.bars.barWidth/2;var AN=AM.bars.fill?function(AO,AP){return V(AM.bars,AM.color,AO,AP)}:null;AL(AM.datapoints,AK,AK+AM.bars.barWidth,0,AN,AM.xaxis,AM.yaxis);Y.restore()}function V(AM,AK,AL,AO){var AN=AM.fill;if(!AN){return null}if(AM.fillColor){return R(AM.fillColor,AL,AO,AK)}var AP=C.color.parse(AK);AP.a=typeof AN=="number"?AN:0.4;AP.normalize();return AP.toString()}function AI(){l.find(".legend").remove();if(!g.legend.show){return }var AP=[],AN=false,AV=g.legend.labelFormatter,AU,AR;for(i=0;i<O.length;++i){AU=O[i];AR=AU.label;if(!AR){continue}if(i%g.legend.noColumns==0){if(AN){AP.push("</tr>")}AP.push("<tr>");AN=true}if(AV){AR=AV(AR,AU)}AP.push('<td class="legendColorBox"><div style="border:1px solid '+g.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+AU.color+';overflow:hidden"></div></div></td><td class="legendLabel">'+AR+"</td>")}if(AN){AP.push("</tr>")}if(AP.length==0){return }var AT='<table style="font-size:smaller;color:'+g.grid.color+'">'+AP.join("")+"</table>";if(g.legend.container!=null){C(g.legend.container).html(AT)}else{var AQ="",AL=g.legend.position,AM=g.legend.margin;if(AM[0]==null){AM=[AM,AM]}if(AL.charAt(0)=="n"){AQ+="top:"+(AM[1]+e.top)+"px;"}else{if(AL.charAt(0)=="s"){AQ+="bottom:"+(AM[1]+e.bottom)+"px;"}}if(AL.charAt(1)=="e"){AQ+="right:"+(AM[0]+e.right)+"px;"}else{if(AL.charAt(1)=="w"){AQ+="left:"+(AM[0]+e.left)+"px;"}}var AS=C('<div class="legend">'+AT.replace('style="','style="position:absolute;'+AQ+";")+"</div>").appendTo(l);if(g.legend.backgroundOpacity!=0){var AO=g.legend.backgroundColor;if(AO==null){AO=g.grid.backgroundColor;if(AO&&typeof AO=="string"){AO=C.color.parse(AO)}else{AO=C.color.extract(AS,"background-color")}AO.a=1;AO=AO.toString()}var AK=AS.children();C('<div style="position:absolute;width:'+AK.width()+"px;height:"+AK.height()+"px;"+AQ+"background-color:"+AO+';"> </div>').prependTo(AS).css("opacity",g.legend.backgroundOpacity)}}}var w=[],J=null;function AF(AR,AP,AM){var AX=g.grid.mouseActiveRadius,Aj=AX*AX+1,Ah=null,Aa=false,Af,Ad;for(Af=0;Af<O.length;++Af){if(!AM(O[Af])){continue}var AY=O[Af],AQ=AY.xaxis,AO=AY.yaxis,Ae=AY.datapoints.points,Ac=AY.datapoints.pointsize,AZ=AQ.c2p(AR),AW=AO.c2p(AP),AL=AX/AQ.scale,AK=AX/AO.scale;if(AY.lines.show||AY.points.show){for(Ad=0;Ad<Ae.length;Ad+=Ac){var AT=Ae[Ad],AS=Ae[Ad+1];if(AT==null){continue}if(AT-AZ>AL||AT-AZ<-AL||AS-AW>AK||AS-AW<-AK){continue}var AV=Math.abs(AQ.p2c(AT)-AR),AU=Math.abs(AO.p2c(AS)-AP),Ab=AV*AV+AU*AU;if(Ab<=Aj){Aj=Ab;Ah=[Af,Ad/Ac]}}}if(AY.bars.show&&!Ah){var AN=AY.bars.align=="left"?0:-AY.bars.barWidth/2,Ag=AN+AY.bars.barWidth;for(Ad=0;Ad<Ae.length;Ad+=Ac){var AT=Ae[Ad],AS=Ae[Ad+1],Ai=Ae[Ad+2];if(AT==null){continue}if(O[Af].bars.horizontal?(AZ<=Math.max(Ai,AT)&&AZ>=Math.min(Ai,AT)&&AW>=AS+AN&&AW<=AS+Ag):(AZ>=AT+AN&&AZ<=AT+Ag&&AW>=Math.min(Ai,AS)&&AW<=Math.max(Ai,AS))){Ah=[Af,Ad/Ac]}}}}if(Ah){Af=Ah[0];Ad=Ah[1];Ac=O[Af].datapoints.pointsize;return{datapoint:O[Af].datapoints.points.slice(Ad*Ac,(Ad+1)*Ac),dataIndex:Ad,series:O[Af],seriesIndex:Af}}return null}function D(AK){if(g.grid.hoverable){H("plothover",AK,function(AL){return AL.hoverable!=false})}}function d(AK){H("plotclick",AK,function(AL){return AL.clickable!=false})}function H(AL,AK,AM){var AN=AD.offset(),AS={pageX:AK.pageX,pageY:AK.pageY},AQ=AK.pageX-AN.left-e.left,AO=AK.pageY-AN.top-e.top;if(s.xaxis.used){AS.x=s.xaxis.c2p(AQ)}if(s.yaxis.used){AS.y=s.yaxis.c2p(AO)}if(s.x2axis.used){AS.x2=s.x2axis.c2p(AQ)}if(s.y2axis.used){AS.y2=s.y2axis.c2p(AO)}var AT=AF(AQ,AO,AM);if(AT){AT.pageX=parseInt(AT.series.xaxis.p2c(AT.datapoint[0])+AN.left+e.left);AT.pageY=parseInt(AT.series.yaxis.p2c(AT.datapoint[1])+AN.top+e.top)}if(g.grid.autoHighlight){for(var AP=0;AP<w.length;++AP){var AR=w[AP];if(AR.auto==AL&&!(AT&&AR.series==AT.series&&AR.point==AT.datapoint)){x(AR.series,AR.point)}}if(AT){AE(AT.series,AT.datapoint,AL)}}l.trigger(AL,[AS,AT])}function q(){if(!J){J=setTimeout(v,30)}}function v(){J=null;AJ.save();AJ.clearRect(0,0,y,Q);AJ.translate(e.left,e.top);var AL,AK;for(AL=0;AL<w.length;++AL){AK=w[AL];if(AK.series.bars.show){z(AK.series,AK.point)}else{u(AK.series,AK.point)}}AJ.restore();Z(L.drawOverlay,[AJ])}function AE(AM,AK,AN){if(typeof AM=="number"){AM=O[AM]}if(typeof AK=="number"){AK=AM.data[AK]}var AL=j(AM,AK);if(AL==-1){w.push({series:AM,point:AK,auto:AN});q()}else{if(!AN){w[AL].auto=false}}}function x(AM,AK){if(AM==null&&AK==null){w=[];q()}if(typeof AM=="number"){AM=O[AM]}if(typeof AK=="number"){AK=AM.data[AK]}var AL=j(AM,AK);if(AL!=-1){w.splice(AL,1);q()}}function j(AM,AN){for(var AK=0;AK<w.length;++AK){var AL=w[AK];if(AL.series==AM&&AL.point[0]==AN[0]&&AL.point[1]==AN[1]){return AK}}return -1}function u(AN,AM){var AL=AM[0],AR=AM[1],AQ=AN.xaxis,AP=AN.yaxis;if(AL<AQ.min||AL>AQ.max||AR<AP.min||AR>AP.max){return }var AO=AN.points.radius+AN.points.lineWidth/2;AJ.lineWidth=AO;AJ.strokeStyle=C.color.parse(AN.color).scale("a",0.5).toString();var AK=1.5*AO;AJ.beginPath();AJ.arc(AQ.p2c(AL),AP.p2c(AR),AK,0,2*Math.PI,false);AJ.stroke()}function z(AN,AK){AJ.lineWidth=AN.bars.lineWidth;AJ.strokeStyle=C.color.parse(AN.color).scale("a",0.5).toString();var AM=C.color.parse(AN.color).scale("a",0.5).toString();var AL=AN.bars.align=="left"?0:-AN.bars.barWidth/2;AB(AK[0],AK[1],AK[2]||0,AL,AL+AN.bars.barWidth,0,function(){return AM},AN.xaxis,AN.yaxis,AJ,AN.bars.horizontal)}function R(AM,AL,AQ,AO){if(typeof AM=="string"){return AM}else{var AP=Y.createLinearGradient(0,AQ,0,AL);for(var AN=0,AK=AM.colors.length;AN<AK;++AN){var AR=AM.colors[AN];if(typeof AR!="string"){AR=C.color.parse(AO).scale("rgb",AR.brightness);AR.a*=AR.opacity;AR=AR.toString()}AP.addColorStop(AN/(AK-1),AR)}return AP}}}C.plot=function(G,E,D){var F=new B(C(G),E,D,C.plot.plugins);return F};C.plot.plugins=[];C.plot.formatDate=function(H,E,G){var L=function(N){N=""+N;return N.length==1?"0"+N:N};var D=[];var M=false;var K=H.getUTCHours();var I=K<12;if(G==null){G=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}if(E.search(/%p|%P/)!=-1){if(K>12){K=K-12}else{if(K==0){K=12}}}for(var F=0;F<E.length;++F){var J=E.charAt(F);if(M){switch(J){case"h":J=""+K;break;case"H":J=L(K);break;case"M":J=L(H.getUTCMinutes());break;case"S":J=L(H.getUTCSeconds());break;case"d":J=""+H.getUTCDate();break;case"m":J=""+(H.getUTCMonth()+1);break;case"y":J=""+H.getUTCFullYear();break;case"b":J=""+G[H.getUTCMonth()];break;case"p":J=(I)?("am"):("pm");break;case"P":J=(I)?("AM"):("PM");break}D.push(J);M=false}else{if(J=="%"){M=true}else{D.push(J)}}}return D.join("")};function A(E,D){return D*Math.floor(E/D)}})(jQuery);
locale/cpd-bg_BG.mo ADDED
Binary file
locale/cpd-bg_BG.po ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count Per Day v2.15\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2010-12-21 10:01+0000\n"
7
+ "Last-Translator: joro <joro2007@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: Bulgarian\n"
14
+ "X-Poedit-Country: BULGARIA\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: ../\n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: counter-options.php:46
23
+ #@ cpd
24
+ msgid "Options updated"
25
+ msgstr "Настройките са обновени"
26
+
27
+ #: counter-options.php:57
28
+ #, php-format
29
+ #@ cpd
30
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
31
+ msgstr "Държавите са обновени. <b>%s</b> вписванията %s без тези държави"
32
+
33
+ #: counter-options.php:62
34
+ #@ cpd
35
+ msgid "update next"
36
+ msgstr "следващо обновяване"
37
+
38
+ #: counter-options.php:104
39
+ #, php-format
40
+ #@ cpd
41
+ msgid "Mass Bots cleaned. %s counts deleted."
42
+ msgstr "Mass Bots са изчистени. %s броячите изтрити."
43
+
44
+ #: counter-options.php:111
45
+ #, php-format
46
+ #@ cpd
47
+ msgid "Database cleaned. %s rows deleted."
48
+ msgstr "Базата-данни е изчистена. %s редовете са изтрити."
49
+
50
+ #: counter-options.php:117
51
+ #@ cpd
52
+ msgid "Counter reseted."
53
+ msgstr "Броячът е нулиран."
54
+
55
+ #: counter-options.php:121
56
+ #: counter-options.php:496
57
+ #@ cpd
58
+ msgid "UNINSTALL Count per Day"
59
+ msgstr "Деинсталирай Count per Day"
60
+
61
+ #: counter-options.php:126
62
+ #: counter-options.php:128
63
+ #: counter-options.php:130
64
+ #, php-format
65
+ #@ cpd
66
+ msgid "Table %s deleted"
67
+ msgstr "Таблицата %s изтрита"
68
+
69
+ #: counter-options.php:132
70
+ #@ cpd
71
+ msgid "Options deleted"
72
+ msgstr "Настройките са изтрити"
73
+
74
+ #: counter-options.php:156
75
+ #: counter-options.php:481
76
+ #@ cpd
77
+ msgid "Uninstall"
78
+ msgstr "Деинсталиране"
79
+
80
+ #: counter-options.php:157
81
+ #@ cpd
82
+ msgid "Click here"
83
+ msgstr "Натиснете тук"
84
+
85
+ #: counter-options.php:157
86
+ #@ cpd
87
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
88
+ msgstr "за завършване на деинсталацията и деактивиране на \"Count per Day\"."
89
+
90
+ #: counter-options.php:179
91
+ #@ cpd
92
+ msgid "Options"
93
+ msgstr "Настройки"
94
+
95
+ #: counter-options.php:186
96
+ #@ cpd
97
+ msgid "Counter"
98
+ msgstr "Брояч"
99
+
100
+ #: counter-options.php:190
101
+ #@ cpd
102
+ msgid "Online time"
103
+ msgstr "Време онлайн"
104
+
105
+ #: counter-options.php:191
106
+ #@ cpd
107
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
108
+ msgstr "Време онлайн"
109
+
110
+ #: counter-options.php:194
111
+ #@ cpd
112
+ msgid "Logged on Users"
113
+ msgstr "Включени потребители"
114
+
115
+ #: counter-options.php:196
116
+ #@ cpd
117
+ msgid "count too"
118
+ msgstr "преброявай също"
119
+
120
+ #: counter-options.php:197
121
+ #@ cpd
122
+ msgid "until User Level"
123
+ msgstr "до нивото на потребителя"
124
+
125
+ #: counter-options.php:208
126
+ #@ cpd
127
+ msgid "Auto counter"
128
+ msgstr "Автоматичен брояч"
129
+
130
+ #: counter-options.php:209
131
+ #@ cpd
132
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
133
+ msgstr "Преброявай автоматично единичните публикации и страници, които нямат нужда от промяна."
134
+
135
+ #: counter-options.php:212
136
+ #@ cpd
137
+ msgid "Bots to ignore"
138
+ msgstr "Игнорирай тези Ботове"
139
+
140
+ #: counter-options.php:216
141
+ #@ cpd
142
+ msgid "Anonymous IP"
143
+ msgstr "Анонимно IP"
144
+
145
+ #: counter-options.php:220
146
+ #@ cpd
147
+ msgid "Cache"
148
+ msgstr "Кеш"
149
+
150
+ #: counter-options.php:221
151
+ #@ cpd
152
+ msgid "I use a cache plugin. Count these visits with ajax."
153
+ msgstr "Използвам кеш добавка. Преброявай тези посечения с AJAX."
154
+
155
+ #: counter-options.php:224
156
+ #@ cpd
157
+ msgid "Clients and referrers"
158
+ msgstr "Потребители и препращащи сайтове"
159
+
160
+ #: counter-options.php:225
161
+ #@ cpd
162
+ 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."
163
+ msgstr "Запази и покажи потребители и препращащи сайтове.<br />Нужда от повече място в базата-данни, но това е нужно за повече информация относно Вашите потребители."
164
+
165
+ #: counter-options.php:225
166
+ #: counter.php:528
167
+ #: counter.php:1661
168
+ #@ cpd
169
+ msgid "Reads"
170
+ msgstr "Прочетени"
171
+
172
+ #: counter-options.php:233
173
+ #@ default
174
+ msgid "Dashboard"
175
+ msgstr "Табло"
176
+
177
+ #: counter-options.php:236
178
+ #: counter.php:1754
179
+ #@ cpd
180
+ msgid "Visitors per post"
181
+ msgstr "Посетители за публикация"
182
+
183
+ #: counter-options.php:237
184
+ #: counter-options.php:241
185
+ #@ cpd
186
+ msgid "How many posts do you want to see on dashboard page?"
187
+ msgstr "Колко публикации искате се покажат на таблото?"
188
+
189
+ #: counter-options.php:240
190
+ #@ cpd
191
+ msgid "Latest Counts - Posts"
192
+ msgstr "Последни преброявания - Публикации"
193
+
194
+ #: counter-options.php:244
195
+ #@ cpd
196
+ msgid "Latest Counts - Days"
197
+ msgstr "Последни преброявания - Дни"
198
+
199
+ #: counter-options.php:245
200
+ #: counter-options.php:249
201
+ #: counter-options.php:275
202
+ #@ cpd
203
+ msgid "How many days do you want look back?"
204
+ msgstr "Колко дни искате да бъдат показани?"
205
+
206
+ #: counter-options.php:248
207
+ #@ cpd
208
+ msgid "Chart - Days"
209
+ msgstr "Графика - Дни"
210
+
211
+ #: counter-options.php:252
212
+ #@ cpd
213
+ msgid "Chart - Height"
214
+ msgstr "Графика - Височина"
215
+
216
+ #: counter-options.php:253
217
+ #@ cpd
218
+ msgid "Height of the biggest bar"
219
+ msgstr "Височина на най-голямото показание"
220
+
221
+ #: counter-options.php:261
222
+ #@ cpd
223
+ msgid "Countries"
224
+ msgstr "Държави"
225
+
226
+ #: counter-options.php:262
227
+ #@ cpd
228
+ msgid "How many countries do you want to see on dashboard page?"
229
+ msgstr "Колко държави искате да виждате на таблото?"
230
+
231
+ #: counter-options.php:266
232
+ #: counter.php:1760
233
+ #@ cpd
234
+ msgid "Browsers"
235
+ msgstr "Браузъри"
236
+
237
+ #: counter-options.php:267
238
+ #@ cpd
239
+ msgid "Substring of the user agent, separated by comma"
240
+ msgstr ""
241
+
242
+ #: counter-options.php:278
243
+ #@ cpd
244
+ msgid "Local URLs"
245
+ msgstr "Локални URLs"
246
+
247
+ #: counter-options.php:279
248
+ #@ cpd
249
+ msgid "Show local referrers too."
250
+ msgstr "Покажи и местните препращащи сайтове."
251
+
252
+ #: counter-options.php:287
253
+ #@ default
254
+ msgid "Posts"
255
+ msgstr "Публикации"
256
+
257
+ #: counter-options.php:287
258
+ #@ default
259
+ msgid "Pages"
260
+ msgstr "Страници"
261
+
262
+ #: counter-options.php:290
263
+ #@ cpd
264
+ msgid "Show in lists"
265
+ msgstr "Покажи в списъците"
266
+
267
+ #: counter-options.php:291
268
+ #@ cpd
269
+ msgid "Show \"Reads per Post\" in a new column in post management views."
270
+ msgstr "Покажи \"Прочитания за Публикация\" в нова колона при изгледа."
271
+
272
+ #: counter-options.php:299
273
+ #@ cpd
274
+ msgid "Start Values"
275
+ msgstr "Начални стойности"
276
+
277
+ #: counter-options.php:303
278
+ #@ cpd
279
+ msgid "Here you can change the date of first count and add a start count."
280
+ msgstr "Тук можете да промените началната дата и да добавите нова дата."
281
+
282
+ #: counter-options.php:307
283
+ #@ cpd
284
+ msgid "Start date"
285
+ msgstr "Начална дата"
286
+
287
+ #: counter-options.php:308
288
+ #@ cpd
289
+ msgid "Your old Counter starts at?"
290
+ msgstr "Кога да стартира Вашия брояч?"
291
+
292
+ #: counter-options.php:311
293
+ #: counter-options.php:315
294
+ #@ cpd
295
+ msgid "Start count"
296
+ msgstr "Стартирай брояча"
297
+
298
+ #: counter-options.php:312
299
+ #@ cpd
300
+ msgid "Add this value to \"Total visitors\"."
301
+ msgstr "Добави тази стойност към \"Общо посетители\"."
302
+
303
+ #: counter-options.php:316
304
+ #@ cpd
305
+ msgid "Add this value to \"Total reads\"."
306
+ msgstr "Добави тази стойност към \"Общо прочетени\"."
307
+
308
+ #: counter-options.php:324
309
+ #@ cpd
310
+ msgid "Debug mode"
311
+ msgstr "Дебъг режим"
312
+
313
+ #: counter-options.php:326
314
+ #@ cpd
315
+ msgid "Show debug informations at the bottom of all pages."
316
+ msgstr "Покажи дебъг информация в дъното на всяка страница."
317
+
318
+ #: counter-options.php:331
319
+ #@ cpd
320
+ msgid "Update options"
321
+ msgstr "Обнови настройките"
322
+
323
+ #: counter-options.php:340
324
+ #@ cpd
325
+ msgid "GeoIP - Countries"
326
+ msgstr "GeoIP - Държави"
327
+
328
+ #: counter-options.php:349
329
+ #@ cpd
330
+ msgid "Update old counter data"
331
+ msgstr "Обнови старите данни на брояча"
332
+
333
+ #: counter-options.php:352
334
+ #@ cpd
335
+ 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!"
336
+ msgstr "Можете да видите информация за държавите в базата-данни чрез проверка на IP адрес и GeoIP базата-данни. Това може да отнеме известно време!"
337
+
338
+ #: counter-options.php:362
339
+ #@ cpd
340
+ msgid "Update GeoIP database"
341
+ msgstr "Обнови GeoIP базата-данни"
342
+
343
+ #: counter-options.php:365
344
+ #@ cpd
345
+ msgid "Download a new version of GeoIP.dat file."
346
+ msgstr "Изтегли нова версия на GeoIP.dat."
347
+
348
+ #: counter-options.php:371
349
+ #@ cpd
350
+ msgid "More informations about GeoIP"
351
+ msgstr "Повече информация за GeoIP"
352
+
353
+ #: counter-options.php:386
354
+ #: massbots.php:33
355
+ #@ cpd
356
+ msgid "Mass Bots"
357
+ msgstr ""
358
+
359
+ #: counter-options.php:390
360
+ #, php-format
361
+ #@ cpd
362
+ msgid "Show all IPs with more than %s page views per day"
363
+ msgstr "Покажи всички IP адреси с най-много %s page преглеждания на ден"
364
+
365
+ #: counter-options.php:391
366
+ #: notes.php:76
367
+ #: userperspan.php:43
368
+ #@ cpd
369
+ msgid "show"
370
+ msgstr "покажи"
371
+
372
+ #: counter-options.php:399
373
+ #@ cpd
374
+ msgid "IP"
375
+ msgstr "IP"
376
+
377
+ #: counter-options.php:400
378
+ #: notes.php:80
379
+ #@ cpd
380
+ #@ default
381
+ msgid "Date"
382
+ msgstr "Дата"
383
+
384
+ #: counter-options.php:401
385
+ #@ cpd
386
+ msgid "Client"
387
+ msgstr "Потребител"
388
+
389
+ #: counter-options.php:402
390
+ #@ cpd
391
+ msgid "Views"
392
+ msgstr "Прегледи"
393
+
394
+ #: counter-options.php:413
395
+ #: counter-options.php:435
396
+ #, php-format
397
+ #@ cpd
398
+ msgid "Delete these %s counts"
399
+ msgstr "Изтрий тези %s броячи"
400
+
401
+ #: counter-options.php:445
402
+ #: counter-options.php:454
403
+ #@ cpd
404
+ msgid "Clean the database"
405
+ msgstr "Изчисти базата-данни"
406
+
407
+ #: counter-options.php:448
408
+ #@ cpd
409
+ 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."
410
+ msgstr "Можете да изчистите базата-данни чрез изтриване на \"spam data\".<br />Ако добавите нови ботове \"spam data\" запазете базата-данни.<br />Тук можете да стартирате бот-филтъра отново и да изтриете ботовете."
411
+
412
+ #: counter-options.php:463
413
+ #: counter-options.php:472
414
+ #@ cpd
415
+ msgid "Reset the counter"
416
+ msgstr "Изтрий брояча"
417
+
418
+ #: counter-options.php:466
419
+ #@ cpd
420
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
421
+ msgstr "Можете да нулирате брояча чрез изтриване на таблицата. ALL TO 0!<br />Направете резервно копие, ако имате нужда от данните!"
422
+
423
+ #: counter-options.php:484
424
+ #@ cpd
425
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
426
+ msgstr ""
427
+
428
+ #: counter-options.php:485
429
+ #@ cpd
430
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
431
+ msgstr "Тук можете да изтриете таблиците и да забраните \"Count per Day\"."
432
+
433
+ #: counter-options.php:488
434
+ #@ cpd
435
+ msgid "WARNING"
436
+ msgstr "ПРЕДУПРЕЖДЕНИЕ"
437
+
438
+ #: counter-options.php:489
439
+ #@ cpd
440
+ msgid "These tables (with ALL counter data) will be deleted."
441
+ msgstr "Тези таблици (с всички данни на брояча) ще бъдат изтрити."
442
+
443
+ #: counter-options.php:491
444
+ #@ cpd
445
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
446
+ msgstr "Ако \"Count per Day\" преинсталирате , брояча ще стартира от 0."
447
+
448
+ #: counter-options.php:495
449
+ #@ cpd
450
+ msgid "Yes"
451
+ msgstr "Да"
452
+
453
+ #: counter-options.php:496
454
+ #@ cpd
455
+ msgid "You are sure to disable Count per Day and delete all data?"
456
+ msgstr "Сигурни ли сте, че искате да забраните Count per Day и да изтриете всички данни?"
457
+
458
+ #: counter-options.php:504
459
+ #@ cpd
460
+ msgid "Support"
461
+ msgstr "Поддръжка"
462
+
463
+ #: counter.php:524
464
+ #: counter.php:2219
465
+ #@ cpd
466
+ msgid "Total reads"
467
+ msgstr "Общо прочетени"
468
+
469
+ #: counter.php:525
470
+ #: counter.php:2220
471
+ #@ cpd
472
+ msgid "Reads today"
473
+ msgstr "Прочетени днес"
474
+
475
+ #: counter.php:526
476
+ #: counter.php:2221
477
+ #@ cpd
478
+ msgid "Reads yesterday"
479
+ msgstr "Прочетени вчера"
480
+
481
+ #: counter.php:527
482
+ #: counter.php:2222
483
+ #@ cpd
484
+ msgid "Reads last week"
485
+ msgstr "Прочетени последната седмица"
486
+
487
+ #: counter.php:529
488
+ #: counter.php:534
489
+ #: counter.php:1604
490
+ #: counter.php:1750
491
+ #: counter.php:2224
492
+ #@ cpd
493
+ msgid "Total visitors"
494
+ msgstr "Общо посетители"
495
+
496
+ #: counter.php:530
497
+ #: counter.php:2230
498
+ #@ cpd
499
+ msgid "Visitors currently online"
500
+ msgstr "Посетители онлайн"
501
+
502
+ #: counter.php:531
503
+ #: counter.php:2225
504
+ #@ cpd
505
+ msgid "Visitors today"
506
+ msgstr "Посетители днес"
507
+
508
+ #: counter.php:532
509
+ #: counter.php:2226
510
+ #@ cpd
511
+ msgid "Visitors yesterday"
512
+ msgstr "Посетители вчера"
513
+
514
+ #: counter.php:533
515
+ #: counter.php:2227
516
+ #@ cpd
517
+ msgid "Visitors last week"
518
+ msgstr "Посетители през последната седмица"
519
+
520
+ #: counter.php:535
521
+ #: counter.php:636
522
+ #: counter.php:1606
523
+ #: counter.php:1756
524
+ #: counter.php:1765
525
+ #: counter.php:2229
526
+ #: userperspan.php:33
527
+ #@ cpd
528
+ msgid "Visitors per day"
529
+ msgstr "Посетители по дни"
530
+
531
+ #: counter.php:536
532
+ #: counter.php:2231
533
+ #@ cpd
534
+ msgid "Counter starts on"
535
+ msgstr "Броячът е стартиран"
536
+
537
+ #: counter.php:819
538
+ #@ cpd
539
+ msgid "days"
540
+ msgstr "дни"
541
+
542
+ #: counter.php:822
543
+ #: counter.php:1376
544
+ #: notes.php:47
545
+ #: notes.php:81
546
+ #@ cpd
547
+ msgid "Notes"
548
+ msgstr "Забележки"
549
+
550
+ #: counter.php:845
551
+ #@ cpd
552
+ msgid "no reads at this time"
553
+ msgstr "Няма прочитания до момента"
554
+
555
+ #: counter.php:1257
556
+ #, php-format
557
+ #@ cpd
558
+ msgid "The %s most visited posts in last %s days:"
559
+ msgstr "Най-много %s посетени публикации в последните %s дни:"
560
+
561
+ #: counter.php:1374
562
+ #@ default
563
+ msgid "Show"
564
+ msgstr "Покажи"
565
+
566
+ #: counter.php:1421
567
+ #@ cpd
568
+ msgid "Other"
569
+ msgstr "Други"
570
+
571
+ #: counter.php:1505
572
+ #@ default
573
+ msgid "Edit Post"
574
+ msgstr "Редактирай публикацията"
575
+
576
+ #: counter.php:1514
577
+ #@ default
578
+ msgid "Category"
579
+ msgstr "Категория"
580
+
581
+ #: counter.php:1517
582
+ #@ default
583
+ msgid "Tag"
584
+ msgstr "Таг"
585
+
586
+ #: counter.php:1520
587
+ #: massbots.php:50
588
+ #: userperspan.php:63
589
+ #@ default
590
+ msgid "Front page displays"
591
+ msgstr "Изобразяване на предна страница"
592
+
593
+ #: counter.php:1591
594
+ #@ default
595
+ msgid "Settings"
596
+ msgstr "Настройки"
597
+
598
+ #: counter.php:1716
599
+ #, php-format
600
+ #@ cpd
601
+ msgid "Time for Count per Day: <code>%s</code>."
602
+ msgstr "Време за Count per Day: <code>%s</code>."
603
+
604
+ #: counter.php:1717
605
+ #@ cpd
606
+ msgid "Bug? Problem? Question? Hint? Praise?"
607
+ msgstr "Бъг? Проблем? Въпрос? Намек? Цена?"
608
+
609
+ #: counter.php:1718
610
+ #, php-format
611
+ #@ cpd
612
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
613
+ msgstr "Добави коментар на <a href=\"%s\">plugin page</a>."
614
+
615
+ #: counter.php:1719
616
+ #@ default
617
+ msgid "License"
618
+ msgstr "Лиценз"
619
+
620
+ #: counter.php:635
621
+ #: counter.php:1766
622
+ #@ cpd
623
+ msgid "Reads per day"
624
+ msgstr "Прочетени по дни"
625
+
626
+ #: counter.php:1752
627
+ #: counter.php:2228
628
+ #@ cpd
629
+ msgid "Visitors per month"
630
+ msgstr "Посетители по месеци"
631
+
632
+ #: counter.php:1753
633
+ #: counter.php:2223
634
+ #@ cpd
635
+ msgid "Reads per month"
636
+ msgstr "Прочетени по месеци"
637
+
638
+ #: counter.php:1755
639
+ #@ cpd
640
+ msgid "Latest Counts"
641
+ msgstr "Последни броячи"
642
+
643
+ #: counter.php:1757
644
+ #@ default
645
+ msgid "Plugin"
646
+ msgstr "Разширение"
647
+
648
+ #: counter.php:1761
649
+ #@ cpd
650
+ msgid "Referrer"
651
+ msgstr "Препращащ сайт"
652
+
653
+ #: counter.php:1770
654
+ #@ cpd
655
+ msgid "Reads per Country"
656
+ msgstr "Прочетени по държави"
657
+
658
+ #: counter.php:1771
659
+ #@ cpd
660
+ msgid "Visitors per Country"
661
+ msgstr "Посетители по държави"
662
+
663
+ #: counter.php:1786
664
+ #: counter.php:2147
665
+ #@ cpd
666
+ msgid "Statistics"
667
+ msgstr "Статистика"
668
+
669
+ #: counter.php:900
670
+ #: counter.php:1856
671
+ #@ cpd
672
+ msgid "Map"
673
+ msgstr "Карта"
674
+
675
+ #: counter.php:2218
676
+ #@ cpd
677
+ msgid "This post"
678
+ msgstr "Тази публикация"
679
+
680
+ #: counter.php:2242
681
+ #@ default
682
+ msgid "Title"
683
+ msgstr "Заглавие"
684
+
685
+ #: geoip/geoip.php:108
686
+ #@ cpd
687
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
688
+ msgstr "За съжаление функцията (zlib) не е инсталирана или включена в php.ini."
689
+
690
+ #: geoip/geoip.php:132
691
+ #@ cpd
692
+ msgid "New GeoIP database installed."
693
+ msgstr "Новата GeoIP база-данни е инсталирана."
694
+
695
+ #: geoip/geoip.php:134
696
+ #@ cpd
697
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
698
+ msgstr "За съжаление възникна грешка. Опитайте отново или проверете дали правата на папка \"geoip\" е 777."
699
+
700
+ #: notes.php:81
701
+ #@ cpd
702
+ msgid "(1 per day)"
703
+ msgstr "(1 per day)"
704
+
705
+ #: notes.php:82
706
+ #@ default
707
+ msgid "Action"
708
+ msgstr "Действие"
709
+
710
+ #: notes.php:87
711
+ #@ cpd
712
+ msgid "add"
713
+ msgstr "добави"
714
+
715
+ #: notes.php:102
716
+ #@ cpd
717
+ msgid "save"
718
+ msgstr "запази"
719
+
720
+ #: notes.php:103
721
+ #@ cpd
722
+ msgid "delete"
723
+ msgstr "изтрий"
724
+
725
+ #: notes.php:114
726
+ #@ cpd
727
+ msgid "edit"
728
+ msgstr "редакция"
729
+
730
+ #: userperspan.php:37
731
+ #@ cpd
732
+ msgid "Start"
733
+ msgstr "Начало"
734
+
735
+ #: userperspan.php:39
736
+ #@ cpd
737
+ msgid "End"
738
+ msgstr "Край"
739
+
740
+ #: userperspan.php:41
741
+ #@ cpd
742
+ msgid "PostID"
743
+ msgstr "PostID"
744
+
745
+ #: userperspan.php:49
746
+ #@ cpd
747
+ msgid "no data found"
748
+ msgstr "няма намерени данни"
749
+
750
+ #: counter-options.php:256
751
+ #@ cpd
752
+ msgid "Old Charts"
753
+ msgstr ""
754
+
755
+ #: counter-options.php:257
756
+ #@ cpd
757
+ msgid "Show old bar charts."
758
+ msgstr ""
759
+
760
+ #: counter-options.php:270
761
+ #@ cpd
762
+ msgid "Referrers - Entries"
763
+ msgstr ""
764
+
765
+ #: counter-options.php:271
766
+ #@ cpd
767
+ msgid "How many referrers do you want to see on dashboard page?"
768
+ msgstr ""
769
+
770
+ #: counter-options.php:274
771
+ #@ cpd
772
+ msgid "Referrers - Days"
773
+ msgstr ""
774
+
775
+ #: counter.php:1449
776
+ #, php-format
777
+ #@ cpd
778
+ msgid "The %s referrers in last %s days:"
779
+ msgstr ""
780
+
781
+ #: counter.php:1751
782
+ #@ cpd
783
+ msgid "Visitors online"
784
+ msgstr ""
785
+
locale/cpd-da_DK.mo ADDED
Binary file
locale/cpd-da_DK.po ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count per Day Development version\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-08-10 20:10+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Jonas Thomsen <mail@jonasthomsen.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
12
+ "X-Poedit-Language: Danish\n"
13
+ "X-Poedit-Country: DENMARK\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: d:/wordpress/plugins/count-per-day\n"
17
+ "X-Textdomain-Support: yes\n"
18
+ "Language-Team: \n"
19
+ "X-Poedit-SearchPath-0: d:/wordpress/plugins/count-per-day\n"
20
+
21
+ #@ cpd
22
+ #: counter-options.php:46
23
+ msgid "Options updated"
24
+ msgstr "Indstillingerne er blevet gemt"
25
+
26
+ #@ cpd
27
+ #: counter-options.php:57
28
+ #, php-format
29
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
30
+ msgstr "Lande opdateret <b>%s</b> poster i %s har stadig ingen angivelse af land."
31
+
32
+ #@ cpd
33
+ #: counter-options.php:62
34
+ msgid "update next"
35
+ msgstr "opdatér næste"
36
+
37
+ #@ cpd
38
+ #: counter-options.php:104
39
+ #, php-format
40
+ msgid "Mass Bots cleaned. %s counts deleted."
41
+ msgstr "Massebots renset. %s rækker slettet."
42
+
43
+ #@ cpd
44
+ #: counter-options.php:111
45
+ #, php-format
46
+ msgid "Database cleaned. %s rows deleted."
47
+ msgstr "Databasen renset. %s rækker slettet."
48
+
49
+ #@ cpd
50
+ #: counter-options.php:117
51
+ msgid "Counter reseted."
52
+ msgstr "Tæller nulstillet."
53
+
54
+ #@ cpd
55
+ #: counter-options.php:121
56
+ #: counter-options.php:496
57
+ msgid "UNINSTALL Count per Day"
58
+ msgstr "AFINSTALLÉR Count per Day"
59
+
60
+ #@ cpd
61
+ #: counter-options.php:126
62
+ #: counter-options.php:128
63
+ #: counter-options.php:130
64
+ #, php-format
65
+ msgid "Table %s deleted"
66
+ msgstr "Tabellen %s blev slettet"
67
+
68
+ #@ cpd
69
+ #: counter-options.php:132
70
+ msgid "Options deleted"
71
+ msgstr "Indstillinger slettet"
72
+
73
+ #@ cpd
74
+ #: counter-options.php:156
75
+ #: counter-options.php:481
76
+ msgid "Uninstall"
77
+ msgstr "Afinstallér"
78
+
79
+ #@ cpd
80
+ #: counter-options.php:157
81
+ msgid "Click here"
82
+ msgstr "Klik her"
83
+
84
+ #@ cpd
85
+ #: counter-options.php:157
86
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
87
+ msgstr "for at færdiggøre afinstalleringen og deaktivere \"Count per Day\"."
88
+
89
+ #@ cpd
90
+ #: counter-options.php:179
91
+ msgid "Options"
92
+ msgstr "Indstillinger"
93
+
94
+ #@ cpd
95
+ #: counter-options.php:190
96
+ msgid "Online time"
97
+ msgstr "Tid online"
98
+
99
+ #@ cpd
100
+ #: counter-options.php:191
101
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
102
+ msgstr "Sekunder for online-tæller. Bruges om \"Besøgende online\" i kontrolpanelet."
103
+
104
+ #@ cpd
105
+ #: counter-options.php:194
106
+ msgid "Logged on Users"
107
+ msgstr "Indloggede brugere"
108
+
109
+ #@ cpd
110
+ #: counter-options.php:196
111
+ msgid "count too"
112
+ msgstr "tæl også"
113
+
114
+ #@ cpd
115
+ #: counter-options.php:197
116
+ msgid "until User Level"
117
+ msgstr "til og med brugerniveau"
118
+
119
+ #@ cpd
120
+ #: counter-options.php:208
121
+ msgid "Auto counter"
122
+ msgstr "Auto-tæller"
123
+
124
+ #@ cpd
125
+ #: counter-options.php:209
126
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
127
+ msgstr "Tæller automatisk enkelt-indlæg og -sider; kræver ingen ændringer i skabeloner."
128
+
129
+ #@ cpd
130
+ #: counter-options.php:212
131
+ msgid "Bots to ignore"
132
+ msgstr "Ignorér følgende bots"
133
+
134
+ #@ cpd
135
+ #: counter-options.php:216
136
+ msgid "Anonymous IP"
137
+ msgstr "Anonymt IP-nummer"
138
+
139
+ #@ cpd
140
+ #: counter-options.php:220
141
+ msgid "Cache"
142
+ msgstr "Cache"
143
+
144
+ #@ cpd
145
+ #: counter-options.php:221
146
+ msgid "I use a cache plugin. Count these visits with ajax."
147
+ msgstr "Jeg bruger et cache-plugin. Tæl disse besøg med Ajax."
148
+
149
+ #@ cpd
150
+ #: counter-options.php:331
151
+ msgid "Update options"
152
+ msgstr "Opdatér indstillinger"
153
+
154
+ #@ default
155
+ #: counter-options.php:233
156
+ msgid "Dashboard"
157
+ msgstr "Kontrolpanel"
158
+
159
+ #@ cpd
160
+ #: counter-options.php:236
161
+ #: counter.php:1754
162
+ msgid "Visitors per post"
163
+ msgstr "Besøgende per indlæg"
164
+
165
+ #@ cpd
166
+ #: counter-options.php:237
167
+ #: counter-options.php:241
168
+ msgid "How many posts do you want to see on dashboard page?"
169
+ msgstr "Hvor mange indlæg vil du se på kontrolpanel"
170
+
171
+ #@ cpd
172
+ #: counter-options.php:240
173
+ msgid "Latest Counts - Posts"
174
+ msgstr "Seneste læste - Indlæg"
175
+
176
+ #@ cpd
177
+ #: counter-options.php:244
178
+ msgid "Latest Counts - Days"
179
+ msgstr "Seneste læste - Dage"
180
+
181
+ #@ cpd
182
+ #: counter-options.php:245
183
+ #: counter-options.php:249
184
+ #: counter-options.php:275
185
+ msgid "How many days do you want look back?"
186
+ msgstr "Hvor mange dage vil du se tilbage?"
187
+
188
+ #@ cpd
189
+ #: counter-options.php:248
190
+ msgid "Chart - Days"
191
+ msgstr "Diagram - Dage"
192
+
193
+ #@ cpd
194
+ #: counter-options.php:252
195
+ msgid "Chart - Height"
196
+ msgstr "Diagram - Højde"
197
+
198
+ #@ cpd
199
+ #: counter-options.php:253
200
+ msgid "Height of the biggest bar"
201
+ msgstr "Højde på den største søjle"
202
+
203
+ #@ cpd
204
+ #: counter-options.php:261
205
+ msgid "Countries"
206
+ msgstr "Lande"
207
+
208
+ #@ cpd
209
+ #: counter-options.php:262
210
+ msgid "How many countries do you want to see on dashboard page?"
211
+ msgstr "Hvor mange lande vil du se på pluginnets side i kontrolpanelet"
212
+
213
+ #@ cpd
214
+ #: counter-options.php:266
215
+ #: counter.php:1760
216
+ msgid "Browsers"
217
+ msgstr "Browsere"
218
+
219
+ #@ cpd
220
+ #: counter-options.php:267
221
+ msgid "Substring of the user agent, separated by comma"
222
+ msgstr "Delstrenge, der identificerer en browser, kommasepareret"
223
+
224
+ #@ cpd
225
+ #: counter-options.php:290
226
+ msgid "Show in lists"
227
+ msgstr "Vis som liste"
228
+
229
+ #@ cpd
230
+ #: counter-options.php:291
231
+ msgid "Show \"Reads per Post\" in a new column in post management views."
232
+ msgstr "Vis \"Læst pr. indlæg\" i en ny kolonne på Redigér indlæg-siden."
233
+
234
+ #@ cpd
235
+ #: counter-options.php:299
236
+ msgid "Start Values"
237
+ msgstr "Startværdier"
238
+
239
+ #@ cpd
240
+ #: counter-options.php:303
241
+ msgid "Here you can change the date of first count and add a start count."
242
+ msgstr "Her kan du ændre datoen på første tæller og tilføje en starttæller."
243
+
244
+ #@ cpd
245
+ #: counter-options.php:307
246
+ msgid "Start date"
247
+ msgstr "Startdato"
248
+
249
+ #@ cpd
250
+ #: counter-options.php:308
251
+ msgid "Your old Counter starts at?"
252
+ msgstr "Hvornår starter din gamle tæller?"
253
+
254
+ #@ cpd
255
+ #: counter-options.php:311
256
+ #: counter-options.php:315
257
+ msgid "Start count"
258
+ msgstr "Start-tæller"
259
+
260
+ #@ cpd
261
+ #: counter-options.php:312
262
+ msgid "Add this value to \"Total visitors\"."
263
+ msgstr "Tilføj denne værdi til \"Besøgende i alt\"."
264
+
265
+ #@ cpd
266
+ #: counter-options.php:316
267
+ msgid "Add this value to \"Total reads\"."
268
+ msgstr "Tilføj denne værdi til \"Læst i alt\"."
269
+
270
+ #@ cpd
271
+ #: counter-options.php:324
272
+ msgid "Debug mode"
273
+ msgstr "Debug-modus"
274
+
275
+ #@ cpd
276
+ #: counter-options.php:326
277
+ msgid "Show debug informations at the bottom of all pages."
278
+ msgstr "Vis debug-information i bunden af alle sider."
279
+
280
+ #@ cpd
281
+ #: counter-options.php:340
282
+ msgid "GeoIP - Countries"
283
+ msgstr "GeoIP - Lande"
284
+
285
+ #@ cpd
286
+ #: counter-options.php:349
287
+ msgid "Update old counter data"
288
+ msgstr "Opdatér gamle tællerdata"
289
+
290
+ #@ cpd
291
+ #: counter-options.php:362
292
+ msgid "Update GeoIP database"
293
+ msgstr "Opdatér GeoIP-database"
294
+
295
+ #@ cpd
296
+ #: counter-options.php:365
297
+ msgid "Download a new version of GeoIP.dat file."
298
+ msgstr "Download en ny version af GeoIP.dat-filen."
299
+
300
+ #@ cpd
301
+ #: counter-options.php:371
302
+ msgid "More informations about GeoIP"
303
+ msgstr "Flere oplysninger om GeoIP"
304
+
305
+ #@ cpd
306
+ #: counter-options.php:386
307
+ #: massbots.php:33
308
+ msgid "Mass Bots"
309
+ msgstr "Massebots"
310
+
311
+ #@ cpd
312
+ #: counter-options.php:390
313
+ #, php-format
314
+ msgid "Show all IPs with more than %s page views per day"
315
+ msgstr "Vis alle IP&#39;er med mere end %s sidevisninger per dag"
316
+
317
+ #@ cpd
318
+ #: counter-options.php:391
319
+ #: notes.php:76
320
+ #: userperspan.php:43
321
+ msgid "show"
322
+ msgstr "vis"
323
+
324
+ #@ cpd
325
+ #: counter-options.php:399
326
+ msgid "IP"
327
+ msgstr "IP"
328
+
329
+ #@ cpd
330
+ #@ default
331
+ #: counter-options.php:400
332
+ #: notes.php:80
333
+ msgid "Date"
334
+ msgstr "Dato"
335
+
336
+ #@ cpd
337
+ #: counter-options.php:401
338
+ msgid "Client"
339
+ msgstr "Klient"
340
+
341
+ #@ cpd
342
+ #: counter-options.php:402
343
+ msgid "Views"
344
+ msgstr "Visninger"
345
+
346
+ #@ cpd
347
+ #: counter-options.php:413
348
+ #: counter-options.php:435
349
+ #, php-format
350
+ msgid "Delete these %s counts"
351
+ msgstr "Slet disse %s hits"
352
+
353
+ #@ cpd
354
+ #: counter-options.php:445
355
+ #: counter-options.php:454
356
+ msgid "Clean the database"
357
+ msgstr "Rens databasen"
358
+
359
+ #@ cpd
360
+ #: counter-options.php:448
361
+ 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."
362
+ msgstr "Du kan rense tællertabellen for \"spam-data\".<br />Når du tilføjer nye bots ovenfor, forbliver de gamle \"spam-data\" i databasen.<br />Her kan du køre bot-filteret igen og slette bot-besøgene."
363
+
364
+ #@ cpd
365
+ #: counter-options.php:463
366
+ #: counter-options.php:472
367
+ msgid "Reset the counter"
368
+ msgstr "Nulstil tælleren"
369
+
370
+ #@ cpd
371
+ #: counter-options.php:466
372
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
373
+ msgstr "Du kan nulstille tælleren ved at tømme tabellen. Alt bliver nulstillet.<br />Tag en sikkerhedskopi, hvis du har brug for de aktuelle data."
374
+
375
+ #@ cpd
376
+ #: counter-options.php:484
377
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
378
+ msgstr "Hvis \"Count per Day\" kun deaktiveres, bliver tabellerne i databasen bevaret."
379
+
380
+ #@ cpd
381
+ #: counter-options.php:485
382
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
383
+ msgstr "Her kan du slette tabellerne og deaktivere \"Count per Day\"."
384
+
385
+ #@ cpd
386
+ #: counter-options.php:488
387
+ msgid "WARNING"
388
+ msgstr "ADVARSEL"
389
+
390
+ #@ cpd
391
+ #: counter-options.php:489
392
+ msgid "These tables (with ALL counter data) will be deleted."
393
+ msgstr "Disse tabeller (med ALLE tæller-data) vil blive slettet."
394
+
395
+ #@ cpd
396
+ #: counter-options.php:491
397
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
398
+ msgstr "Hvis \"Count per Day\" reinstalleres, begynder tælleren forfra ved 0."
399
+
400
+ #@ cpd
401
+ #: counter-options.php:495
402
+ msgid "Yes"
403
+ msgstr "Ja"
404
+
405
+ #@ cpd
406
+ #: counter-options.php:496
407
+ msgid "You are sure to disable Count per Day and delete all data?"
408
+ msgstr "Er du sikker på, du vil deaktivere \"Count per Day\" og slette alle data?"
409
+
410
+ #@ cpd
411
+ #: counter-options.php:504
412
+ msgid "Support"
413
+ msgstr "Support"
414
+
415
+ #@ cpd
416
+ #: counter.php:1716
417
+ #, php-format
418
+ msgid "Time for Count per Day: <code>%s</code>."
419
+ msgstr "Tidspunkt for Count per Day: <code>%s</code>."
420
+
421
+ #@ cpd
422
+ #: counter.php:1717
423
+ msgid "Bug? Problem? Question? Hint? Praise?"
424
+ msgstr "Bugs? Problemer? Spørgsmål? Tips? Ros?"
425
+
426
+ #@ cpd
427
+ #: counter.php:1718
428
+ #, php-format
429
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
430
+ msgstr "Skriv en kommentar på <a href=\"%s\">pluginsiden</a>."
431
+
432
+ #@ cpd
433
+ #: counter.php:524
434
+ #: counter.php:2219
435
+ msgid "Total reads"
436
+ msgstr "Læsninger i alt"
437
+
438
+ #@ cpd
439
+ #: counter.php:525
440
+ #: counter.php:2220
441
+ msgid "Reads today"
442
+ msgstr "Læsninger i dag"
443
+
444
+ #@ cpd
445
+ #: counter.php:526
446
+ #: counter.php:2221
447
+ msgid "Reads yesterday"
448
+ msgstr "Læsninger i går"
449
+
450
+ #@ cpd
451
+ #: counter.php:529
452
+ #: counter.php:534
453
+ #: counter.php:1604
454
+ #: counter.php:1750
455
+ #: counter.php:2224
456
+ msgid "Total visitors"
457
+ msgstr "Antal besøgende i alt"
458
+
459
+ #@ cpd
460
+ #: counter.php:530
461
+ #: counter.php:2230
462
+ msgid "Visitors currently online"
463
+ msgstr "Besøgende online lige nu"
464
+
465
+ #@ cpd
466
+ #: counter.php:531
467
+ #: counter.php:2225
468
+ msgid "Visitors today"
469
+ msgstr "Besøgende i dag"
470
+
471
+ #@ cpd
472
+ #: counter.php:532
473
+ #: counter.php:2226
474
+ msgid "Visitors yesterday"
475
+ msgstr "Besøgende i går"
476
+
477
+ #@ cpd
478
+ #: counter.php:533
479
+ #: counter.php:2227
480
+ msgid "Visitors last week"
481
+ msgstr "Besøgende sidste weekend"
482
+
483
+ #@ cpd
484
+ #: counter.php:535
485
+ #: counter.php:636
486
+ #: counter.php:1606
487
+ #: counter.php:1756
488
+ #: counter.php:1765
489
+ #: counter.php:2229
490
+ #: userperspan.php:33
491
+ msgid "Visitors per day"
492
+ msgstr "Besøgende per dag"
493
+
494
+ #@ cpd
495
+ #: counter.php:536
496
+ #: counter.php:2231
497
+ msgid "Counter starts on"
498
+ msgstr "Tæller starter på"
499
+
500
+ #@ cpd
501
+ #: counter.php:819
502
+ msgid "days"
503
+ msgstr "dage"
504
+
505
+ #@ cpd
506
+ #: counter.php:822
507
+ #: counter.php:1376
508
+ #: notes.php:47
509
+ #: notes.php:81
510
+ msgid "Notes"
511
+ msgstr "Noter"
512
+
513
+ #@ cpd
514
+ #: counter.php:845
515
+ msgid "no reads at this time"
516
+ msgstr "Ikke læst pt."
517
+
518
+ #@ cpd
519
+ #: counter.php:1257
520
+ #, php-format
521
+ msgid "The %s most visited posts in last %s days:"
522
+ msgstr "De %s mest sete indlæg i de sidste %s dage:"
523
+
524
+ #@ default
525
+ #: counter.php:1374
526
+ msgid "Show"
527
+ msgstr "Vis"
528
+
529
+ #@ cpd
530
+ #: counter.php:1421
531
+ msgid "Other"
532
+ msgstr "Andre"
533
+
534
+ #@ default
535
+ #: counter.php:1505
536
+ msgid "Edit Post"
537
+ msgstr "Redigér indlæg"
538
+
539
+ #@ default
540
+ #: counter.php:1520
541
+ #: massbots.php:50
542
+ #: userperspan.php:63
543
+ msgid "Front page displays"
544
+ msgstr "Visninger af forsiden"
545
+
546
+ #@ default
547
+ #: counter.php:1591
548
+ msgid "Settings"
549
+ msgstr "Indstillinger"
550
+
551
+ # tjekkes
552
+ #@ cpd
553
+ #: counter-options.php:225
554
+ #: counter.php:528
555
+ #: counter.php:1661
556
+ msgid "Reads"
557
+ msgstr "Læsninger"
558
+
559
+ #@ cpd
560
+ #: counter.php:2218
561
+ msgid "This post"
562
+ msgstr "Dette indlæg"
563
+
564
+ #@ cpd
565
+ #: counter.php:635
566
+ #: counter.php:1766
567
+ msgid "Reads per day"
568
+ msgstr "Læsninger per dag"
569
+
570
+ #@ cpd
571
+ #: counter.php:1752
572
+ #: counter.php:2228
573
+ msgid "Visitors per month"
574
+ msgstr "Besøgende per måned"
575
+
576
+ #@ cpd
577
+ #: counter.php:1755
578
+ msgid "Latest Counts"
579
+ msgstr "Seneste læste"
580
+
581
+ #@ default
582
+ #: counter.php:1757
583
+ msgid "Plugin"
584
+ msgstr "Plugin"
585
+
586
+ #@ cpd
587
+ #: counter.php:1770
588
+ msgid "Reads per Country"
589
+ msgstr "Læsninger per land"
590
+
591
+ #@ cpd
592
+ #: counter.php:1771
593
+ msgid "Visitors per Country"
594
+ msgstr "Besøgende per land"
595
+
596
+ #@ cpd
597
+ #: counter.php:1786
598
+ #: counter.php:2147
599
+ msgid "Statistics"
600
+ msgstr "Statistik"
601
+
602
+ #@ cpd
603
+ #: counter.php:900
604
+ #: counter.php:1856
605
+ msgid "Map"
606
+ msgstr "Kort"
607
+
608
+ #@ cpd
609
+ #: notes.php:81
610
+ msgid "(1 per day)"
611
+ msgstr "(1 gang per dag)"
612
+
613
+ #@ default
614
+ #: notes.php:82
615
+ msgid "Action"
616
+ msgstr "Handling"
617
+
618
+ #@ cpd
619
+ #: notes.php:87
620
+ msgid "add"
621
+ msgstr "tilføj"
622
+
623
+ #@ cpd
624
+ #: notes.php:102
625
+ msgid "save"
626
+ msgstr "gem"
627
+
628
+ #@ cpd
629
+ #: notes.php:103
630
+ msgid "delete"
631
+ msgstr "slet"
632
+
633
+ #@ cpd
634
+ #: notes.php:114
635
+ msgid "edit"
636
+ msgstr "redigér"
637
+
638
+ #@ cpd
639
+ #: userperspan.php:37
640
+ msgid "Start"
641
+ msgstr "Start"
642
+
643
+ #@ cpd
644
+ #: userperspan.php:39
645
+ msgid "End"
646
+ msgstr "Slut"
647
+
648
+ #@ cpd
649
+ #: userperspan.php:41
650
+ msgid "PostID"
651
+ msgstr "Indlægs-id"
652
+
653
+ #@ cpd
654
+ #: userperspan.php:49
655
+ msgid "no data found"
656
+ msgstr "ingen data fundet"
657
+
658
+ #@ cpd
659
+ #: geoip/geoip.php:108
660
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
661
+ msgstr "Beklager. Nødvendige funktioner (zlib) er ikke installeret eller ikke aktiveret i php.ini."
662
+
663
+ #@ cpd
664
+ #: geoip/geoip.php:132
665
+ msgid "New GeoIP database installed."
666
+ msgstr "Ny GeoIP-database installeret."
667
+
668
+ #@ cpd
669
+ #: geoip/geoip.php:134
670
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
671
+ msgstr "Beklager. Der opstod en fejl. Prøv igen eller tjek, at adgangsrettigheder til mappen \"geoip\" er 777"
672
+
673
+ #@ cpd
674
+ #: counter-options.php:352
675
+ 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!"
676
+ msgstr "Du kan få landedata for alle indlæg i databasen, hvis du tjekker IP-adresserne i GeoIP-databasen. Det tager lidt tid!"
677
+
678
+ #@ cpd
679
+ #: counter-options.php:186
680
+ msgid "Counter"
681
+ msgstr "Tæller"
682
+
683
+ #@ cpd
684
+ #: counter-options.php:224
685
+ msgid "Clients and referrers"
686
+ msgstr "Klienter og henvisere"
687
+
688
+ #@ cpd
689
+ #: counter-options.php:225
690
+ 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."
691
+ msgstr "Gem og vis klienter og henvisere.<br />Bruger en masse plads i databasen, men giver dig mere detaljeret information om dine besøgende."
692
+
693
+ #@ cpd
694
+ #: counter-options.php:278
695
+ msgid "Local URLs"
696
+ msgstr "Lokale adresser"
697
+
698
+ #@ cpd
699
+ #: counter-options.php:279
700
+ msgid "Show local referrers too."
701
+ msgstr "Vis også lokale henvisninger"
702
+
703
+ #@ default
704
+ #: counter-options.php:287
705
+ msgid "Posts"
706
+ msgstr "Indlæg"
707
+
708
+ #@ default
709
+ #: counter-options.php:287
710
+ msgid "Pages"
711
+ msgstr "Sider"
712
+
713
+ #@ cpd
714
+ #: counter.php:527
715
+ #: counter.php:2222
716
+ msgid "Reads last week"
717
+ msgstr "Læsninger i sidste uge"
718
+
719
+ #@ default
720
+ #: counter.php:1514
721
+ msgid "Category"
722
+ msgstr "Kategori"
723
+
724
+ #@ default
725
+ #: counter.php:1517
726
+ msgid "Tag"
727
+ msgstr "Tag"
728
+
729
+ #@ default
730
+ #: counter.php:1719
731
+ msgid "License"
732
+ msgstr "Licens"
733
+
734
+ #@ cpd
735
+ #: counter.php:1753
736
+ #: counter.php:2223
737
+ msgid "Reads per month"
738
+ msgstr "Læsninger per måned"
739
+
740
+ #@ cpd
741
+ #: counter.php:1761
742
+ msgid "Referrer"
743
+ msgstr "Henviser"
744
+
745
+ #@ default
746
+ #: counter.php:2242
747
+ msgid "Title"
748
+ msgstr "Titel"
749
+
750
+ #@ cpd
751
+ #: counter-options.php:256
752
+ msgid "Old Charts"
753
+ msgstr "Gamle diagrammer"
754
+
755
+ #@ cpd
756
+ #: counter-options.php:257
757
+ msgid "Show old bar charts."
758
+ msgstr "Vis det gamle søjlediagram"
759
+
760
+ #@ cpd
761
+ #: counter-options.php:270
762
+ msgid "Referrers - Entries"
763
+ msgstr "Henvisere - poster"
764
+
765
+ #@ cpd
766
+ #: counter-options.php:271
767
+ msgid "How many referrers do you want to see on dashboard page?"
768
+ msgstr "Hvor mange henvisere vil du se på dashboardet?"
769
+
770
+ #@ cpd
771
+ #: counter-options.php:274
772
+ msgid "Referrers - Days"
773
+ msgstr "Henvisere - Dage"
774
+
775
+ #@ cpd
776
+ #: counter.php:1449
777
+ #, php-format
778
+ msgid "The %s referrers in last %s days:"
779
+ msgstr "De %s henvisere i de sidste %s dage:"
780
+
781
+ #@ cpd
782
+ #: counter.php:1751
783
+ msgid "Visitors online"
784
+ msgstr "Brugere online"
785
+
locale/cpd-de_DE.mo ADDED
Binary file
locale/cpd-de_DE.po ADDED
@@ -0,0 +1,800 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count per Day\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-11-02 12:13+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Tom Braider <post@tomsdimension.de>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: German\n"
14
+ "X-Poedit-Country: GERMANY\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: P:/xampp/htdocs/wp/wp-content/plugins/count-per-day\n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: counter-options.php:47
23
+ #@ cpd
24
+ msgid "Options updated"
25
+ msgstr "Einstellungen aktualisiert"
26
+
27
+ #: counter-options.php:112
28
+ #, php-format
29
+ #@ cpd
30
+ msgid "Database cleaned. %s rows deleted."
31
+ msgstr "Datenbank aufger&auml;umt. %s Datens&auml;tze gel&ouml;scht."
32
+
33
+ #: counter-options.php:122
34
+ #: counter-options.php:509
35
+ #@ cpd
36
+ msgid "UNINSTALL Count per Day"
37
+ msgstr "DEINSTALLIERE Count per Day"
38
+
39
+ #: counter-options.php:127
40
+ #: counter-options.php:129
41
+ #: counter-options.php:131
42
+ #, php-format
43
+ #@ cpd
44
+ msgid "Table %s deleted"
45
+ msgstr "Tabelle %s gel&ouml;scht"
46
+
47
+ #: counter-options.php:133
48
+ #@ cpd
49
+ msgid "Options deleted"
50
+ msgstr "Einstellungen gel&ouml;scht"
51
+
52
+ #: counter-options.php:157
53
+ #: counter-options.php:494
54
+ #@ cpd
55
+ msgid "Uninstall"
56
+ msgstr "Deinstallation"
57
+
58
+ #: counter-options.php:158
59
+ #@ cpd
60
+ msgid "Click here"
61
+ msgstr "Klick hier"
62
+
63
+ #: counter-options.php:158
64
+ #@ cpd
65
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
66
+ msgstr "um die Deinstallation zu beenden und \"Count per Day\" zu deaktivieren."
67
+
68
+ #: counter-options.php:180
69
+ #@ cpd
70
+ msgid "Options"
71
+ msgstr "Einstellungen"
72
+
73
+ #: counter-options.php:191
74
+ #@ cpd
75
+ msgid "Online time"
76
+ msgstr "Onlinezeit"
77
+
78
+ #: counter-options.php:192
79
+ #@ cpd
80
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
81
+ msgstr "Sekunden f&uuml;r Onlinecounter. Wird f&uuml;r die Anzeige der \"Besucher momentan online\" im Dashboard verwendet."
82
+
83
+ #: counter-options.php:195
84
+ #@ cpd
85
+ msgid "Logged on Users"
86
+ msgstr "Angemeldete Benutzer"
87
+
88
+ #: counter-options.php:197
89
+ #@ cpd
90
+ msgid "count too"
91
+ msgstr "auch mit z&auml;hlen"
92
+
93
+ #: counter-options.php:209
94
+ #@ cpd
95
+ msgid "Auto counter"
96
+ msgstr "Auto-Counter"
97
+
98
+ #: counter-options.php:210
99
+ #@ cpd
100
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
101
+ msgstr "Z&auml;hlt automatisch Besuche auf Single-Posts und Seiten ohne &Auml;nderungen am Template."
102
+
103
+ #: counter-options.php:213
104
+ #@ cpd
105
+ msgid "Bots to ignore"
106
+ msgstr "Spam/Suchmaschinen Bots ignorieren"
107
+
108
+ #: counter-options.php:344
109
+ #@ cpd
110
+ msgid "Update options"
111
+ msgstr "Einstellungen aktualisieren"
112
+
113
+ #: counter-options.php:458
114
+ #: counter-options.php:467
115
+ #@ cpd
116
+ msgid "Clean the database"
117
+ msgstr "Datenbank aufr&auml;umen"
118
+
119
+ #: counter-options.php:461
120
+ #@ cpd
121
+ 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."
122
+ 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."
123
+
124
+ #: counter-options.php:497
125
+ #@ cpd
126
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
127
+ msgstr "Wenn \"Count per Day\" nur deaktiviert wird, bleiben die Tabellen in der Datenbank erhalten."
128
+
129
+ #: counter-options.php:498
130
+ #@ cpd
131
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
132
+ msgstr "Hier kannst du \"Count per Day\" deinstallieren und die Tabellen l&ouml;schen."
133
+
134
+ #: counter-options.php:501
135
+ #@ cpd
136
+ msgid "WARNING"
137
+ msgstr "WARNUNG"
138
+
139
+ #: counter-options.php:502
140
+ #@ cpd
141
+ msgid "These tables (with ALL counter data) will be deleted."
142
+ msgstr "Diese Tabellen werden mit ALLEN Z&auml;hlerdaten gel&ouml;scht."
143
+
144
+ #: counter-options.php:504
145
+ #@ cpd
146
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
147
+ msgstr "Wenn \"Count per Day\" erneut installiert wird, beginnt der Z&auml;hler bei 0."
148
+
149
+ #: counter-options.php:508
150
+ #@ cpd
151
+ msgid "Yes"
152
+ msgstr "Ja, los!"
153
+
154
+ #: counter-options.php:509
155
+ #@ cpd
156
+ msgid "You are sure to disable Count per Day and delete all data?"
157
+ msgstr "Bist du sicher, dass du Count per Day deaktivieren und alle Daten l&ouml;schen willst?"
158
+
159
+ #: counter.php:1779
160
+ #: counter.php:2140
161
+ #@ cpd
162
+ msgid "Statistics"
163
+ msgstr "Statistiken"
164
+
165
+ #: counter.php:530
166
+ #: counter.php:535
167
+ #: counter.php:1597
168
+ #: counter.php:1743
169
+ #: counter.php:2217
170
+ #@ cpd
171
+ msgid "Total visitors"
172
+ msgstr "Besucher gesamt"
173
+
174
+ #: counter.php:531
175
+ #: counter.php:2223
176
+ #@ cpd
177
+ msgid "Visitors currently online"
178
+ msgstr "Besucher momentan online"
179
+
180
+ #: counter.php:532
181
+ #: counter.php:2218
182
+ #@ cpd
183
+ msgid "Visitors today"
184
+ msgstr "Besucher heute"
185
+
186
+ #: counter.php:533
187
+ #: counter.php:2219
188
+ #@ cpd
189
+ msgid "Visitors yesterday"
190
+ msgstr "Besucher gestern"
191
+
192
+ #: counter.php:534
193
+ #: counter.php:2220
194
+ #@ cpd
195
+ msgid "Visitors last week"
196
+ msgstr "Besucher letzte Woche"
197
+
198
+ #: counter.php:537
199
+ #: counter.php:2224
200
+ #@ cpd
201
+ msgid "Counter starts on"
202
+ msgstr "gez&auml;hlt ab"
203
+
204
+ #: counter.php:536
205
+ #: counter.php:637
206
+ #: counter.php:1599
207
+ #: counter.php:1749
208
+ #: counter.php:1758
209
+ #: counter.php:2222
210
+ #: userperspan.php:33
211
+ #@ cpd
212
+ msgid "Visitors per day"
213
+ msgstr "Besucher pro Tag"
214
+
215
+ #: counter.php:1745
216
+ #: counter.php:2221
217
+ #@ cpd
218
+ msgid "Visitors per month"
219
+ msgstr "Besucher pro Monat"
220
+
221
+ #: counter-options.php:237
222
+ #: counter.php:1747
223
+ #@ cpd
224
+ msgid "Visitors per post"
225
+ msgstr "Besucher pro Artikel"
226
+
227
+ #: counter-options.php:118
228
+ #@ cpd
229
+ msgid "Counter reseted."
230
+ msgstr "Z&auml;hler zur&uuml;ckgesetzt."
231
+
232
+ #: counter-options.php:238
233
+ #: counter-options.php:242
234
+ #@ cpd
235
+ msgid "How many posts do you want to see on dashboard page?"
236
+ msgstr "Wie viele Eintr&auml;ge m&ouml;chtest du auf der Dashboard Seite sehen?"
237
+
238
+ #: counter-options.php:241
239
+ #@ cpd
240
+ msgid "Latest Counts - Posts"
241
+ msgstr "Aktuelle Besuche - Artikel"
242
+
243
+ #: counter-options.php:245
244
+ #@ cpd
245
+ msgid "Latest Counts - Days"
246
+ msgstr "Aktuelle Besuche - Tage"
247
+
248
+ #: counter-options.php:246
249
+ #: counter-options.php:250
250
+ #: counter-options.php:276
251
+ #@ cpd
252
+ msgid "How many days do you want look back?"
253
+ msgstr "Wie viele Tage m&ouml;chtest du zur&uuml;ck schauen?"
254
+
255
+ #: counter-options.php:291
256
+ #@ cpd
257
+ msgid "Show in lists"
258
+ msgstr "In &Uuml;bersichten anzeigen"
259
+
260
+ #: counter-options.php:292
261
+ #@ cpd
262
+ msgid "Show \"Reads per Post\" in a new column in post management views."
263
+ msgstr "Zeige \"Besucher pro Artikel\" in einer eigenen Spalte in der Artikel&uuml;bersicht."
264
+
265
+ #: counter-options.php:476
266
+ #: counter-options.php:485
267
+ #@ cpd
268
+ msgid "Reset the counter"
269
+ msgstr "Z&auml;hler zur&uuml;cksetzen"
270
+
271
+ #: counter-options.php:479
272
+ #@ cpd
273
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
274
+ 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!"
275
+
276
+ #: counter.php:1258
277
+ #, php-format
278
+ #@ cpd
279
+ msgid "The %s most visited posts in last %s days:"
280
+ msgstr "Die %s am meisten besuchten Seiten der letzten %s Tage:"
281
+
282
+ #: counter.php:1584
283
+ #@ default
284
+ msgid "Settings"
285
+ msgstr ""
286
+
287
+ #: counter-options.php:226
288
+ #: counter.php:529
289
+ #: counter.php:1655
290
+ #@ cpd
291
+ msgid "Reads"
292
+ msgstr "Seitenaufrufe"
293
+
294
+ #: counter.php:1748
295
+ #@ cpd
296
+ msgid "Latest Counts"
297
+ msgstr "Letzte Seitenaufrufe"
298
+
299
+ #: counter-options.php:249
300
+ #@ cpd
301
+ msgid "Chart - Days"
302
+ msgstr "Diagramm - Tage"
303
+
304
+ #: counter-options.php:253
305
+ #@ cpd
306
+ msgid "Chart - Height"
307
+ msgstr "Diagramm - H&ouml;he"
308
+
309
+ #: counter-options.php:254
310
+ #@ cpd
311
+ msgid "Height of the biggest bar"
312
+ msgstr "H&ouml;he des gr&ouml;&szlig;ten Balkens"
313
+
314
+ #: counter.php:846
315
+ #@ cpd
316
+ msgid "no reads at this time"
317
+ msgstr "keine Seitenaufrufe"
318
+
319
+ #: counter.php:820
320
+ #@ cpd
321
+ msgid "days"
322
+ msgstr "Tage"
323
+
324
+ #: counter.php:2211
325
+ #@ cpd
326
+ msgid "This post"
327
+ msgstr "Diese Seite"
328
+
329
+ #: counter-options.php:234
330
+ #@ default
331
+ msgid "Dashboard"
332
+ msgstr ""
333
+
334
+ #: counter.php:636
335
+ #: counter.php:1759
336
+ #@ cpd
337
+ msgid "Reads per day"
338
+ msgstr "Seitenaufrufe pro Tag"
339
+
340
+ #: counter-options.php:58
341
+ #, php-format
342
+ #@ cpd
343
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
344
+ msgstr "L&auml;nder aktualisiert. <b>%s</b> Datens&auml;tze in %s noch offen."
345
+
346
+ #: counter-options.php:63
347
+ #@ cpd
348
+ msgid "update next"
349
+ msgstr "weiter aktualisieren"
350
+
351
+ #: counter-options.php:353
352
+ #@ cpd
353
+ msgid "GeoIP - Countries"
354
+ msgstr "GeoIP - L&auml;nder"
355
+
356
+ #: counter-options.php:362
357
+ #@ cpd
358
+ msgid "Update old counter data"
359
+ msgstr "Aktualisiere alte Z&auml;hlerdaten"
360
+
361
+ #: counter-options.php:375
362
+ #@ cpd
363
+ msgid "Update GeoIP database"
364
+ msgstr "Aktualisiere GeoIP Datenbank"
365
+
366
+ #: counter-options.php:378
367
+ #@ cpd
368
+ msgid "Download a new version of GeoIP.dat file."
369
+ msgstr "Neue Version von GeoIP.dat herunterladen."
370
+
371
+ #: counter-options.php:384
372
+ #@ cpd
373
+ msgid "More informations about GeoIP"
374
+ msgstr "Mehr Informationen über GeoIP"
375
+
376
+ #: counter.php:1763
377
+ #@ cpd
378
+ msgid "Reads per Country"
379
+ msgstr "Seitenaufrufe pro Land"
380
+
381
+ #: geoip/geoip.php:132
382
+ #@ cpd
383
+ msgid "New GeoIP database installed."
384
+ msgstr "Neue GeoIP Datenbank installiert."
385
+
386
+ #: geoip/geoip.php:134
387
+ #@ cpd
388
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
389
+ 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."
390
+
391
+ #: geoip/geoip.php:108
392
+ #@ cpd
393
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
394
+ msgstr "Leider ist eine notwendige Funktion (zlib) nicht installiert oder nicht in der php.ini aktiviert."
395
+
396
+ #: counter-options.php:262
397
+ #@ cpd
398
+ msgid "Countries"
399
+ msgstr "L&auml;nder"
400
+
401
+ #: counter-options.php:263
402
+ #@ cpd
403
+ msgid "How many countries do you want to see on dashboard page?"
404
+ msgstr "Wie viele L&auml;nder m&ouml;chtest du auf der Dashboard Seite sehen?"
405
+
406
+ #: counter-options.php:105
407
+ #, php-format
408
+ #@ cpd
409
+ msgid "Mass Bots cleaned. %s counts deleted."
410
+ msgstr "Massen-Bots bereinigt. %s Z&auml;hlerdaten gel&ouml;scht."
411
+
412
+ #: counter-options.php:399
413
+ #: massbots.php:33
414
+ #@ cpd
415
+ msgid "Mass Bots"
416
+ msgstr "Massen-Bots"
417
+
418
+ #: counter-options.php:403
419
+ #, php-format
420
+ #@ cpd
421
+ msgid "Show all IPs with more than %s page views per day"
422
+ msgstr "Zeige alle IP-Adressen mit mehr als %s Seitenaufrufe pro Tag"
423
+
424
+ #: counter-options.php:404
425
+ #: notes.php:76
426
+ #: userperspan.php:43
427
+ #@ cpd
428
+ msgid "show"
429
+ msgstr "anzeigen"
430
+
431
+ #: counter-options.php:431
432
+ #: counter-options.php:448
433
+ #, php-format
434
+ #@ cpd
435
+ msgid "Delete these %s counts"
436
+ msgstr "L&ouml;sche diese %s Z&auml;hlerdaten"
437
+
438
+ #: counter.php:1416
439
+ #@ cpd
440
+ msgid "Other"
441
+ msgstr "Sonstige"
442
+
443
+ #: counter.php:1513
444
+ #: massbots.php:50
445
+ #: userperspan.php:63
446
+ #@ default
447
+ msgid "Front page displays"
448
+ msgstr ""
449
+
450
+ #: counter-options.php:267
451
+ #: counter.php:1753
452
+ #@ cpd
453
+ msgid "Browsers"
454
+ msgstr "Browser"
455
+
456
+ #: counter-options.php:412
457
+ #@ cpd
458
+ msgid "IP"
459
+ msgstr "IP"
460
+
461
+ #: counter-options.php:413
462
+ #: notes.php:80
463
+ #@ cpd
464
+ #@ default
465
+ msgid "Date"
466
+ msgstr "Datum"
467
+
468
+ #: counter-options.php:414
469
+ #@ cpd
470
+ msgid "Client"
471
+ msgstr "Browser"
472
+
473
+ #: counter-options.php:415
474
+ #@ cpd
475
+ msgid "Views"
476
+ msgstr "Seitenaufrufe"
477
+
478
+ #: counter-options.php:300
479
+ #@ cpd
480
+ msgid "Start Values"
481
+ msgstr "Startwerte"
482
+
483
+ #: counter-options.php:304
484
+ #@ cpd
485
+ msgid "Here you can change the date of first count and add a start count."
486
+ msgstr "Hier kannst du das Startdatum und den Startz&auml;hlerstand überschreiben."
487
+
488
+ #: counter-options.php:308
489
+ #@ cpd
490
+ msgid "Start date"
491
+ msgstr "Startdatum"
492
+
493
+ #: counter-options.php:309
494
+ #@ cpd
495
+ msgid "Your old Counter starts at?"
496
+ msgstr "Dein alter Z&auml;hler begann am?"
497
+
498
+ #: counter-options.php:312
499
+ #: counter-options.php:316
500
+ #@ cpd
501
+ msgid "Start count"
502
+ msgstr "Startz&auml;hlerstand"
503
+
504
+ #: counter-options.php:313
505
+ #@ cpd
506
+ msgid "Add this value to \"Total visitors\"."
507
+ msgstr "Addiere diesen Wert zu \"Besucher gesamt\"."
508
+
509
+ #: counter-options.php:517
510
+ #@ cpd
511
+ msgid "Support"
512
+ msgstr "Kontakt"
513
+
514
+ #: counter.php:1711
515
+ #@ cpd
516
+ msgid "Bug? Problem? Question? Hint? Praise?"
517
+ msgstr "Bug? Problem? Frage? Tipp? Lob?"
518
+
519
+ #: counter.php:1712
520
+ #, php-format
521
+ #@ cpd
522
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
523
+ msgstr "Schreib einen Kommentar auf der <a href=\"%s\">Plugin-Seite</a>."
524
+
525
+ #: counter.php:1375
526
+ #@ default
527
+ msgid "Show"
528
+ msgstr ""
529
+
530
+ #: counter.php:1498
531
+ #@ default
532
+ msgid "Edit Post"
533
+ msgstr ""
534
+
535
+ #: counter.php:1710
536
+ #, php-format
537
+ #@ cpd
538
+ msgid "Time for Count per Day: <code>%s</code>."
539
+ msgstr "Zeit bei Count per Day: <code>%s</code>"
540
+
541
+ #: counter-options.php:198
542
+ #@ cpd
543
+ msgid "until User Level"
544
+ msgstr "bis Benutzerlevel"
545
+
546
+ #: counter.php:1750
547
+ #@ default
548
+ msgid "Plugin"
549
+ msgstr ""
550
+
551
+ #: counter.php:823
552
+ #: counter.php:1377
553
+ #: notes.php:47
554
+ #: notes.php:81
555
+ #@ cpd
556
+ msgid "Notes"
557
+ msgstr "Notizen"
558
+
559
+ #: notes.php:82
560
+ #@ default
561
+ msgid "Action"
562
+ msgstr ""
563
+
564
+ #: notes.php:87
565
+ #@ cpd
566
+ msgid "add"
567
+ msgstr "hinzuf&uuml;gen"
568
+
569
+ #: notes.php:102
570
+ #@ cpd
571
+ msgid "save"
572
+ msgstr "speichern"
573
+
574
+ #: notes.php:103
575
+ #@ cpd
576
+ msgid "delete"
577
+ msgstr "l&ouml;schen"
578
+
579
+ #: notes.php:114
580
+ #@ cpd
581
+ msgid "edit"
582
+ msgstr "&auml;ndern"
583
+
584
+ #: notes.php:81
585
+ #@ cpd
586
+ msgid "(1 per day)"
587
+ msgstr "(1 pro Tag)"
588
+
589
+ #: counter-options.php:317
590
+ #@ cpd
591
+ msgid "Add this value to \"Total reads\"."
592
+ msgstr "Addiere diesen Wert zu \"Seitenaufrufe gesamt\"."
593
+
594
+ #: counter.php:525
595
+ #: counter.php:2212
596
+ #@ cpd
597
+ msgid "Total reads"
598
+ msgstr "Seitenaufrufe gesamt"
599
+
600
+ #: counter.php:526
601
+ #: counter.php:2213
602
+ #@ cpd
603
+ msgid "Reads today"
604
+ msgstr "Seitenaufrufe heute"
605
+
606
+ #: counter.php:527
607
+ #: counter.php:2214
608
+ #@ cpd
609
+ msgid "Reads yesterday"
610
+ msgstr "Seitenaufrufe gestern"
611
+
612
+ #: counter.php:901
613
+ #: counter.php:1848
614
+ #@ cpd
615
+ msgid "Map"
616
+ msgstr "Weltkarte"
617
+
618
+ #: counter-options.php:217
619
+ #@ cpd
620
+ msgid "Anonymous IP"
621
+ msgstr "Anonyme IP-Adresse"
622
+
623
+ #: counter-options.php:221
624
+ #@ cpd
625
+ msgid "Cache"
626
+ msgstr "Cache"
627
+
628
+ #: counter-options.php:222
629
+ #@ cpd
630
+ msgid "I use a cache plugin. Count these visits with ajax."
631
+ msgstr "Ich benutze ein Cache-Plugin. Zähle diese Seiten mit Ajax."
632
+
633
+ #: counter-options.php:268
634
+ #@ cpd
635
+ msgid "Substring of the user agent, separated by comma"
636
+ msgstr "Teil der Browserkennung (user agent), getrennt durch Komma."
637
+
638
+ #: counter.php:1764
639
+ #@ cpd
640
+ msgid "Visitors per Country"
641
+ msgstr "Besucher pro Land"
642
+
643
+ #: counter-options.php:337
644
+ #@ cpd
645
+ msgid "Debug mode"
646
+ msgstr "Debug Modus"
647
+
648
+ #: counter-options.php:339
649
+ #@ cpd
650
+ msgid "Show debug informations at the bottom of all pages."
651
+ msgstr "Zeigt Informationen zum Plugin am unteren Ende aller Seiten an."
652
+
653
+ #: userperspan.php:37
654
+ #@ cpd
655
+ msgid "Start"
656
+ msgstr "Start"
657
+
658
+ #: userperspan.php:39
659
+ #@ cpd
660
+ msgid "End"
661
+ msgstr "Ende"
662
+
663
+ #: userperspan.php:41
664
+ #@ cpd
665
+ msgid "PostID"
666
+ msgstr "Artikel-ID"
667
+
668
+ #: userperspan.php:49
669
+ #@ cpd
670
+ msgid "no data found"
671
+ msgstr "keine passenden Daten gefunden"
672
+
673
+ #: counter-options.php:365
674
+ #@ cpd
675
+ 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!"
676
+ 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."
677
+
678
+ #: counter-options.php:187
679
+ #@ cpd
680
+ msgid "Counter"
681
+ msgstr "Z&auml;hler"
682
+
683
+ #: counter-options.php:279
684
+ #@ cpd
685
+ msgid "Local URLs"
686
+ msgstr "Lokale URLs"
687
+
688
+ #: counter-options.php:280
689
+ #@ cpd
690
+ msgid "Show local referrers too."
691
+ msgstr "Zeige auch lokale Referrer."
692
+
693
+ #: counter-options.php:288
694
+ #@ default
695
+ msgid "Posts"
696
+ msgstr ""
697
+
698
+ #: counter-options.php:288
699
+ #@ default
700
+ msgid "Pages"
701
+ msgstr ""
702
+
703
+ #: counter.php:1507
704
+ #@ default
705
+ msgid "Category"
706
+ msgstr ""
707
+
708
+ #: counter.php:1510
709
+ #@ default
710
+ msgid "Tag"
711
+ msgstr ""
712
+
713
+ #: counter.php:1713
714
+ #@ default
715
+ msgid "License"
716
+ msgstr ""
717
+
718
+ #: counter.php:1754
719
+ #@ cpd
720
+ msgid "Referrer"
721
+ msgstr "Herkunft"
722
+
723
+ #: counter.php:2235
724
+ #@ default
725
+ msgid "Title"
726
+ msgstr ""
727
+
728
+ #: counter-options.php:226
729
+ #@ cpd
730
+ 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."
731
+ 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."
732
+
733
+ #: counter-options.php:225
734
+ #@ cpd
735
+ msgid "Clients and referrers"
736
+ msgstr "Browser und Herkunft"
737
+
738
+ #: counter.php:528
739
+ #: counter.php:2215
740
+ #@ cpd
741
+ msgid "Reads last week"
742
+ msgstr "Seitenaufrufe letzte Woche"
743
+
744
+ #: counter.php:1746
745
+ #: counter.php:2216
746
+ #@ cpd
747
+ msgid "Reads per month"
748
+ msgstr "Seitenaufrufe pro Monat"
749
+
750
+ #: counter-options.php:257
751
+ #@ cpd
752
+ msgid "Old Charts"
753
+ msgstr "Alte Diagramme"
754
+
755
+ #: counter-options.php:258
756
+ #@ cpd
757
+ msgid "Show old bar charts."
758
+ msgstr "Zeige alte Balken-Diagramme."
759
+
760
+ #: counter-options.php:271
761
+ #@ cpd
762
+ msgid "Referrers - Entries"
763
+ msgstr "Herkunft - Einträge"
764
+
765
+ #: counter-options.php:272
766
+ #@ cpd
767
+ msgid "How many referrers do you want to see on dashboard page?"
768
+ msgstr "Wie viele Herkunftsseiten möchtest du auf der Dashbord Seite sehen?"
769
+
770
+ #: counter-options.php:275
771
+ #@ cpd
772
+ msgid "Referrers - Days"
773
+ msgstr "Herkunft - Tage"
774
+
775
+ #: counter.php:1441
776
+ #, php-format
777
+ #@ cpd
778
+ msgid "The %s referrers in last %s days:"
779
+ msgstr "Die %s Herkunftsseiten der letzten %s Tage:"
780
+
781
+ #: counter.php:1744
782
+ #@ cpd
783
+ msgid "Visitors online"
784
+ msgstr "Besucher online"
785
+
786
+ #: counter-options.php:325
787
+ #@ default
788
+ msgid "Stylesheet"
789
+ msgstr ""
790
+
791
+ #: counter-options.php:328
792
+ #@ cpd
793
+ msgid "NO Stylesheet in Frontend"
794
+ msgstr "KEIN Stylesheet im Frontend"
795
+
796
+ #: counter-options.php:329
797
+ #@ cpd
798
+ msgid "Do not load the stylesheet \"counter.css\" in frontend."
799
+ msgstr "Lade die Datei \"counter.css\" nicht im Frontend."
800
+
locale/cpd-el.mo ADDED
Binary file
locale/cpd-el.po ADDED
@@ -0,0 +1,786 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count per Day Development version\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-08-10 20:10+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Polemos <temp2417@gmail.com>\n"
8
+ "Language-Team: Elliniki Grothia <ellgrothia@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-Poedit-Language: Greek\n"
14
+ "X-Poedit-Country: GREECE\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: d:/wordpress/plugins/count-per-day\n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: d:/wordpress/plugins/count-per-day\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: counter-options.php:46
23
+ #@ cpd
24
+ msgid "Options updated"
25
+ msgstr "Οι ρυθμίσεις σας ενημερώθηκαν"
26
+
27
+ #: counter-options.php:57
28
+ #, php-format
29
+ #@ cpd
30
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
31
+ msgstr "Οι χώρες ενημερώθηκαν. <b>%s</b> καταχωρήσεις στις %s δεν έχουν αντιστοιχηθεί με χώρες."
32
+
33
+ #: counter-options.php:62
34
+ #@ cpd
35
+ msgid "update next"
36
+ msgstr "ενημέρωση επόμενων"
37
+
38
+ #: counter-options.php:104
39
+ #, php-format
40
+ #@ cpd
41
+ msgid "Mass Bots cleaned. %s counts deleted."
42
+ msgstr "Καθαρίστηκαν μαζικά bot. %s μετρήσεις σβήστηκαν."
43
+
44
+ #: counter-options.php:111
45
+ #, php-format
46
+ #@ cpd
47
+ msgid "Database cleaned. %s rows deleted."
48
+ msgstr "Καθαρίστικε η βάση δεδομένων. %s γραμμές σβήστηκαν."
49
+
50
+ #: counter-options.php:117
51
+ #@ cpd
52
+ msgid "Counter reseted."
53
+ msgstr "Μηδενίστηκε ο μετρητής."
54
+
55
+ #: counter-options.php:121
56
+ #: counter-options.php:496
57
+ #@ cpd
58
+ msgid "UNINSTALL Count per Day"
59
+ msgstr "Απεγκατάσταση του Count per Day"
60
+
61
+ #: counter-options.php:126
62
+ #: counter-options.php:128
63
+ #: counter-options.php:130
64
+ #, php-format
65
+ #@ cpd
66
+ msgid "Table %s deleted"
67
+ msgstr "Πίνακες %s διαγράφηκαν"
68
+
69
+ #: counter-options.php:132
70
+ #@ cpd
71
+ msgid "Options deleted"
72
+ msgstr "Οι ρυθμίσεις διαγράφηκαν"
73
+
74
+ #: counter-options.php:156
75
+ #: counter-options.php:481
76
+ #@ cpd
77
+ msgid "Uninstall"
78
+ msgstr "Απεγκατάσταση"
79
+
80
+ #: counter-options.php:157
81
+ #@ cpd
82
+ msgid "Click here"
83
+ msgstr "Κάντε κλικ εδώ"
84
+
85
+ #: counter-options.php:157
86
+ #@ cpd
87
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
88
+ msgstr "για να ολοκληρώσετε την απεγκατάσταση και να απενεργοποιήσετε το \"Count per Day\"."
89
+
90
+ #: counter-options.php:179
91
+ #@ cpd
92
+ msgid "Options"
93
+ msgstr "Ρυθμίσεις"
94
+
95
+ #: counter-options.php:190
96
+ #@ cpd
97
+ msgid "Online time"
98
+ msgstr "Χρόνος σε σύνδεση"
99
+
100
+ #: counter-options.php:191
101
+ #@ cpd
102
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
103
+ msgstr "Δευτερόλεπτα για τον μετρητή συνδεδεμένων χρηστών. Χρησιμοποιείται για τους \"Visitors online\" στην κεντρική σελίδα."
104
+
105
+ #: counter-options.php:194
106
+ #@ cpd
107
+ msgid "Logged on Users"
108
+ msgstr "Εγγεγραμμένοι-Συνδεδεμένοι Χρήστες"
109
+
110
+ #: counter-options.php:196
111
+ #@ cpd
112
+ msgid "count too"
113
+ msgstr "μετρήστε επίσης"
114
+
115
+ #: counter-options.php:197
116
+ #@ cpd
117
+ msgid "until User Level"
118
+ msgstr "μέχρι το Επίπεδο Χρήστη"
119
+
120
+ #: counter-options.php:208
121
+ #@ cpd
122
+ msgid "Auto counter"
123
+ msgstr "Αυτόματος μετρητής"
124
+
125
+ #: counter-options.php:209
126
+ #@ cpd
127
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
128
+ msgstr "Μετρά αυτόματα μονά-άρθρα και σελίδες, δεν χρειάζεται αλλαγή στο πρότυπο (template)."
129
+
130
+ #: counter-options.php:212
131
+ #@ cpd
132
+ msgid "Bots to ignore"
133
+ msgstr "Bots που θα αγνοηθούν"
134
+
135
+ #: counter-options.php:216
136
+ #@ cpd
137
+ msgid "Anonymous IP"
138
+ msgstr "Ανώνυμος IP"
139
+
140
+ #: counter-options.php:220
141
+ #@ cpd
142
+ msgid "Cache"
143
+ msgstr "Αποθυκευμένη μνήμη (Cache)"
144
+
145
+ #: counter-options.php:221
146
+ #@ cpd
147
+ msgid "I use a cache plugin. Count these visits with ajax."
148
+ msgstr "Χρησιμοποιώ ένα cache-πρόσθετο. Μετρήστε αυτές τις επισκέψεις με ajax."
149
+
150
+ #: counter-options.php:331
151
+ #@ cpd
152
+ msgid "Update options"
153
+ msgstr "Ενημέρωση ρυθμίσεων"
154
+
155
+ #: counter-options.php:233
156
+ #@ default
157
+ msgid "Dashboard"
158
+ msgstr "Κεντρικός πίνακας"
159
+
160
+ #: counter-options.php:236
161
+ #: counter.php:1754
162
+ #@ cpd
163
+ msgid "Visitors per post"
164
+ msgstr "Επισκέπτες ανά άρθρο"
165
+
166
+ #: counter-options.php:237
167
+ #: counter-options.php:241
168
+ #@ cpd
169
+ msgid "How many posts do you want to see on dashboard page?"
170
+ msgstr "Πόσα άρθρα επιθυμείτε να βλέπετε στη κεντρική σελίδα σας;"
171
+
172
+ #: counter-options.php:240
173
+ #@ cpd
174
+ msgid "Latest Counts - Posts"
175
+ msgstr "Τελευταίες Μετρήσεις - Άρθρα"
176
+
177
+ #: counter-options.php:244
178
+ #@ cpd
179
+ msgid "Latest Counts - Days"
180
+ msgstr "Τελευταίες Μετρήσεις - Ημέρες"
181
+
182
+ #: counter-options.php:245
183
+ #: counter-options.php:249
184
+ #: counter-options.php:275
185
+ #@ cpd
186
+ msgid "How many days do you want look back?"
187
+ msgstr "Μέχρι πόσες ημέρες επιθυμείτε να βλέπετε στο παρελθόν;"
188
+
189
+ #: counter-options.php:248
190
+ #@ cpd
191
+ msgid "Chart - Days"
192
+ msgstr "Διάγραμμα - Ημερών"
193
+
194
+ #: counter-options.php:252
195
+ #@ cpd
196
+ msgid "Chart - Height"
197
+ msgstr "Διάγραμμα - Ύψος"
198
+
199
+ #: counter-options.php:253
200
+ #@ cpd
201
+ msgid "Height of the biggest bar"
202
+ msgstr "Ύψος της μεγαλύτερης μπάρας"
203
+
204
+ #: counter-options.php:261
205
+ #@ cpd
206
+ msgid "Countries"
207
+ msgstr "Χώρες"
208
+
209
+ #: counter-options.php:262
210
+ #@ cpd
211
+ msgid "How many countries do you want to see on dashboard page?"
212
+ msgstr "Πόσες χώρες επιθυμείτε να βλέπετε στην κεντρική σελίδα;"
213
+
214
+ #: counter-options.php:266
215
+ #: counter.php:1760
216
+ #@ cpd
217
+ msgid "Browsers"
218
+ msgstr "Περιηγητές"
219
+
220
+ #: counter-options.php:267
221
+ #@ cpd
222
+ msgid "Substring of the user agent, separated by comma"
223
+ msgstr "Υπορουτίνα του οδηγού χρήστη, χωρισμένες με κόμμα"
224
+
225
+ #: counter-options.php:290
226
+ #@ cpd
227
+ msgid "Show in lists"
228
+ msgstr "Εμφάνιση στις λίστες"
229
+
230
+ #: counter-options.php:291
231
+ #@ cpd
232
+ msgid "Show \"Reads per Post\" in a new column in post management views."
233
+ msgstr "Εμφάνιση \"Reads per Post\" σε νέα στήλη στις απεικονίσεις των άρθρων."
234
+
235
+ #: counter-options.php:299
236
+ #@ cpd
237
+ msgid "Start Values"
238
+ msgstr "Αρχικές Τιμές"
239
+
240
+ #: counter-options.php:303
241
+ #@ cpd
242
+ msgid "Here you can change the date of first count and add a start count."
243
+ msgstr "Εδώ μπορείτε να αλλάξετε την ημερομηνία της πρώτης μέτρησης και να προσθέσετε μια νέα μέτρηση"
244
+
245
+ #: counter-options.php:307
246
+ #@ cpd
247
+ msgid "Start date"
248
+ msgstr "Αρχική ημερομηνία"
249
+
250
+ #: counter-options.php:308
251
+ #@ cpd
252
+ msgid "Your old Counter starts at?"
253
+ msgstr "Πότε ξεκινά ο παλαιότερος σας Μετρητής;"
254
+
255
+ #: counter-options.php:311
256
+ #: counter-options.php:315
257
+ #@ cpd
258
+ msgid "Start count"
259
+ msgstr "Έναρξη μέτρησης"
260
+
261
+ #: counter-options.php:312
262
+ #@ cpd
263
+ msgid "Add this value to \"Total visitors\"."
264
+ msgstr "Προσθήκη αυτής της τιμής στους \"Total visitors\"."
265
+
266
+ #: counter-options.php:316
267
+ #@ cpd
268
+ msgid "Add this value to \"Total reads\"."
269
+ msgstr "Προσθήκη αυτής της τιμής στους \"Total reads\"."
270
+
271
+ #: counter-options.php:324
272
+ #@ cpd
273
+ msgid "Debug mode"
274
+ msgstr "Λειτουργία εξακρίβωσης λαθών (Debug)"
275
+
276
+ #: counter-options.php:326
277
+ #@ cpd
278
+ msgid "Show debug informations at the bottom of all pages."
279
+ msgstr "Εμφάνιση πληροφοριών (debug) στο κάτω μέρος όλων των σελίδων."
280
+
281
+ #: counter-options.php:340
282
+ #@ cpd
283
+ msgid "GeoIP - Countries"
284
+ msgstr "Γαίο-ΙΡ - Χώρες"
285
+
286
+ #: counter-options.php:349
287
+ #@ cpd
288
+ msgid "Update old counter data"
289
+ msgstr "Ενημέρωση παλαιότερων δεδομένων μετρητή"
290
+
291
+ #: counter-options.php:362
292
+ #@ cpd
293
+ msgid "Update GeoIP database"
294
+ msgstr "Ενημέρωση Γαίο-ΙΡ βάσης δεδομένων"
295
+
296
+ #: counter-options.php:365
297
+ #@ cpd
298
+ msgid "Download a new version of GeoIP.dat file."
299
+ msgstr "Κατεβάστε νέα έκδοση του αρχείου GeoIP.dat."
300
+
301
+ #: counter-options.php:371
302
+ #@ cpd
303
+ msgid "More informations about GeoIP"
304
+ msgstr "Περισσότερες πληροφορίες για το Γαίο-ΙΡ"
305
+
306
+ #: counter-options.php:386
307
+ #: massbots.php:33
308
+ #@ cpd
309
+ msgid "Mass Bots"
310
+ msgstr "Μαζικά bots"
311
+
312
+ #: counter-options.php:390
313
+ #, php-format
314
+ #@ cpd
315
+ msgid "Show all IPs with more than %s page views per day"
316
+ msgstr "Εμφάνιση όλων των ΙΡ με περισσότερες από %s σελίδες ανά ημέρα"
317
+
318
+ #: counter-options.php:391
319
+ #: notes.php:76
320
+ #: userperspan.php:43
321
+ #@ cpd
322
+ msgid "show"
323
+ msgstr "εμφάνιση"
324
+
325
+ #: counter-options.php:399
326
+ #@ cpd
327
+ msgid "IP"
328
+ msgstr "IP"
329
+
330
+ #: counter-options.php:400
331
+ #: notes.php:80
332
+ #@ cpd
333
+ #@ default
334
+ msgid "Date"
335
+ msgstr "Ημερομηνία"
336
+
337
+ #: counter-options.php:401
338
+ #@ cpd
339
+ msgid "Client"
340
+ msgstr "Πελάτης"
341
+
342
+ #: counter-options.php:402
343
+ #@ cpd
344
+ msgid "Views"
345
+ msgstr "Αναγνώσεις"
346
+
347
+ #: counter-options.php:413
348
+ #: counter-options.php:435
349
+ #, php-format
350
+ #@ cpd
351
+ msgid "Delete these %s counts"
352
+ msgstr "Διαγράψτε αυτές τις %s μετρήσεις"
353
+
354
+ #: counter-options.php:445
355
+ #: counter-options.php:454
356
+ #@ cpd
357
+ msgid "Clean the database"
358
+ msgstr "Εκκαθάριση βάσης δεδομένων"
359
+
360
+ #: counter-options.php:448
361
+ #@ cpd
362
+ 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."
363
+ msgstr "Μπορείτε να καθαρίσετε το πίνακα μετρήσεων με τη διαγραφή των \"spam data\".<br />Άμα προσθέσετε νέα bots πάνω στα παλαιά \"spam data\" θα κρατηθούν στην βάση δεδομένων.<br />Εδώ μπορείτε να τρέξετε το φίλτρο bot ξανά και να σβήσετε τις επισκέψεις των bot."
364
+
365
+ #: counter-options.php:463
366
+ #: counter-options.php:472
367
+ #@ cpd
368
+ msgid "Reset the counter"
369
+ msgstr "΄Μηδενισμός μετρητή"
370
+
371
+ #: counter-options.php:466
372
+ #@ cpd
373
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
374
+ msgstr "Μπορείτε να μηδενίσετε τον μετρητή με την εκκαθάριση του πίνακα. ΟΛΑ ΣΕ 0!<br />Κάντε εφεδρικά αντίγραφα άμα χρειάζεστε τα τωρινά δεδομένα!"
375
+
376
+ #: counter-options.php:484
377
+ #@ cpd
378
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
379
+ msgstr "Άμα το \"Count per Day\" είναι μόνο απενεργοποιημένο οι πίνακες στην βάση δεδομένων θα διατηρηθούν."
380
+
381
+ #: counter-options.php:485
382
+ #@ cpd
383
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
384
+ msgstr "Εδώ μπορείτε να διαγράψετε τους πίνακες και να απενεργοποιήσετε το \"Count per Day\"."
385
+
386
+ #: counter-options.php:488
387
+ #@ cpd
388
+ msgid "WARNING"
389
+ msgstr "ΠΡΟΣΟΧΗ"
390
+
391
+ #: counter-options.php:489
392
+ #@ cpd
393
+ msgid "These tables (with ALL counter data) will be deleted."
394
+ msgstr "Αυτοί οι πίνακες (μαζί με ΌΛΑ τα δεδομένα των μετρήσεων) θα διαγραφούν."
395
+
396
+ #: counter-options.php:491
397
+ #@ cpd
398
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
399
+ msgstr "Άμα το \"Count per Day\" επανεγκατασταθεί, ο μετρητής θα ξεκινήσει από το 0."
400
+
401
+ #: counter-options.php:495
402
+ #@ cpd
403
+ msgid "Yes"
404
+ msgstr "Ναι"
405
+
406
+ #: counter-options.php:496
407
+ #@ cpd
408
+ msgid "You are sure to disable Count per Day and delete all data?"
409
+ msgstr "Θέλετε σίγουρα να απενεργοποιήσετε το \"Count per Day\" και να σβήσετε όλα τα δεδομένα;"
410
+
411
+ #: counter-options.php:504
412
+ #@ cpd
413
+ msgid "Support"
414
+ msgstr "Υποστήριξη"
415
+
416
+ #: counter.php:1716
417
+ #, php-format
418
+ #@ cpd
419
+ msgid "Time for Count per Day: <code>%s</code>."
420
+ msgstr "Χρόνος για το Count per Day: <code>%s</code>."
421
+
422
+ #: counter.php:1717
423
+ #@ cpd
424
+ msgid "Bug? Problem? Question? Hint? Praise?"
425
+ msgstr "Λάθη; Προβλήματα; Ερωτήσεις; Προτάσεις; Έπαινοι;"
426
+
427
+ #: counter.php:1718
428
+ #, php-format
429
+ #@ cpd
430
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
431
+ msgstr "Γράψτε ένα σχόλιο στη <a href=\"%s\">σελίδα του πρόσθετου</a>."
432
+
433
+ #: counter.php:524
434
+ #: counter.php:2219
435
+ #@ cpd
436
+ msgid "Total reads"
437
+ msgstr "Συνολικές αναγνώσεις"
438
+
439
+ #: counter.php:525
440
+ #: counter.php:2220
441
+ #@ cpd
442
+ msgid "Reads today"
443
+ msgstr "Αναγνώσεις σήμερα"
444
+
445
+ #: counter.php:526
446
+ #: counter.php:2221
447
+ #@ cpd
448
+ msgid "Reads yesterday"
449
+ msgstr "Αναγνώσεις χτες"
450
+
451
+ #: counter.php:529
452
+ #: counter.php:534
453
+ #: counter.php:1604
454
+ #: counter.php:1750
455
+ #: counter.php:2224
456
+ #@ cpd
457
+ msgid "Total visitors"
458
+ msgstr "Συνολικοί επισκέπτες"
459
+
460
+ #: counter.php:530
461
+ #: counter.php:2230
462
+ #@ cpd
463
+ msgid "Visitors currently online"
464
+ msgstr "Επισκέπτες αυτή την στιγμή"
465
+
466
+ #: counter.php:531
467
+ #: counter.php:2225
468
+ #@ cpd
469
+ msgid "Visitors today"
470
+ msgstr "Επισκέπτες σήμερα"
471
+
472
+ #: counter.php:532
473
+ #: counter.php:2226
474
+ #@ cpd
475
+ msgid "Visitors yesterday"
476
+ msgstr "Επισκέπτες χτες"
477
+
478
+ #: counter.php:533
479
+ #: counter.php:2227
480
+ #@ cpd
481
+ msgid "Visitors last week"
482
+ msgstr "Επισκέπτες την προηγούμενη εβδομάδα"
483
+
484
+ #: counter.php:535
485
+ #: counter.php:636
486
+ #: counter.php:1606
487
+ #: counter.php:1756
488
+ #: counter.php:1765
489
+ #: counter.php:2229
490
+ #: userperspan.php:33
491
+ #@ cpd
492
+ msgid "Visitors per day"
493
+ msgstr "Επισκέπτες ανά ημέρα"
494
+
495
+ #: counter.php:536
496
+ #: counter.php:2231
497
+ #@ cpd
498
+ msgid "Counter starts on"
499
+ msgstr "Ο μετρητής αρχίζει από"
500
+
501
+ #: counter.php:819
502
+ #@ cpd
503
+ msgid "days"
504
+ msgstr "ημέρες"
505
+
506
+ #: counter.php:822
507
+ #: counter.php:1376
508
+ #: notes.php:47
509
+ #: notes.php:81
510
+ #@ cpd
511
+ msgid "Notes"
512
+ msgstr "Σημειώσεις"
513
+
514
+ #: counter.php:845
515
+ #@ cpd
516
+ msgid "no reads at this time"
517
+ msgstr "άνευ αναγνώσεων τη παρούσα στιγμή."
518
+
519
+ #: counter.php:1257
520
+ #, php-format
521
+ #@ cpd
522
+ msgid "The %s most visited posts in last %s days:"
523
+ msgstr "Τα %s πιο αναγνωσμένα άρθρα τις τελευταίες %s ημέρες:"
524
+
525
+ #: counter.php:1374
526
+ #@ default
527
+ msgid "Show"
528
+ msgstr "Εμφάνιση"
529
+
530
+ #: counter.php:1421
531
+ #@ cpd
532
+ msgid "Other"
533
+ msgstr "Άλλα"
534
+
535
+ #: counter.php:1505
536
+ #@ default
537
+ msgid "Edit Post"
538
+ msgstr "Επεξεργασία Άρθρου"
539
+
540
+ #: counter.php:1520
541
+ #: massbots.php:50
542
+ #: userperspan.php:63
543
+ #@ default
544
+ msgid "Front page displays"
545
+ msgstr "Η πρώτη σελίδα εμφανίζει"
546
+
547
+ #: counter.php:1591
548
+ #@ default
549
+ msgid "Settings"
550
+ msgstr "Ρυθμίσεις"
551
+
552
+ # tjekkes
553
+ #: counter-options.php:225
554
+ #: counter.php:528
555
+ #: counter.php:1661
556
+ #@ cpd
557
+ msgid "Reads"
558
+ msgstr "Αναγνώσεις"
559
+
560
+ #: counter.php:2218
561
+ #@ cpd
562
+ msgid "This post"
563
+ msgstr "Αυτό το άρθρο"
564
+
565
+ #: counter.php:635
566
+ #: counter.php:1766
567
+ #@ cpd
568
+ msgid "Reads per day"
569
+ msgstr "Αναγνώσεις ανά ημέρα"
570
+
571
+ #: counter.php:1752
572
+ #: counter.php:2228
573
+ #@ cpd
574
+ msgid "Visitors per month"
575
+ msgstr "Επισκέπτες ανά μήνα"
576
+
577
+ #: counter.php:1755
578
+ #@ cpd
579
+ msgid "Latest Counts"
580
+ msgstr "Τελευταίες μετρήσεις"
581
+
582
+ #: counter.php:1757
583
+ #@ default
584
+ msgid "Plugin"
585
+ msgstr "Πρόσθετο"
586
+
587
+ #: counter.php:1770
588
+ #@ cpd
589
+ msgid "Reads per Country"
590
+ msgstr "Αναγνώσεις ανά χώρα"
591
+
592
+ #: counter.php:1771
593
+ #@ cpd
594
+ msgid "Visitors per Country"
595
+ msgstr "Επισκέψεις ανά χώρα"
596
+
597
+ #: counter.php:1786
598
+ #: counter.php:2147
599
+ #@ cpd
600
+ msgid "Statistics"
601
+ msgstr "Στατιστικά"
602
+
603
+ #: counter.php:900
604
+ #: counter.php:1856
605
+ #@ cpd
606
+ msgid "Map"
607
+ msgstr "Χάρτης"
608
+
609
+ #: notes.php:81
610
+ #@ cpd
611
+ msgid "(1 per day)"
612
+ msgstr "(1 ανά ημέρα)"
613
+
614
+ #: notes.php:82
615
+ #@ default
616
+ msgid "Action"
617
+ msgstr "Δράση"
618
+
619
+ #: notes.php:87
620
+ #@ cpd
621
+ msgid "add"
622
+ msgstr "προσθήκη"
623
+
624
+ #: notes.php:102
625
+ #@ cpd
626
+ msgid "save"
627
+ msgstr "αποθήκευση"
628
+
629
+ #: notes.php:103
630
+ #@ cpd
631
+ msgid "delete"
632
+ msgstr "διαγραφή"
633
+
634
+ #: notes.php:114
635
+ #@ cpd
636
+ msgid "edit"
637
+ msgstr "επεξεργασία"
638
+
639
+ #: userperspan.php:37
640
+ #@ cpd
641
+ msgid "Start"
642
+ msgstr "Έναρξη"
643
+
644
+ #: userperspan.php:39
645
+ #@ cpd
646
+ msgid "End"
647
+ msgstr "Λήξη"
648
+
649
+ #: userperspan.php:41
650
+ #@ cpd
651
+ msgid "PostID"
652
+ msgstr "Κωδικός άρθρου (PostID)"
653
+
654
+ #: userperspan.php:49
655
+ #@ cpd
656
+ msgid "no data found"
657
+ msgstr "δεν βρέθηκαν δεδομένα"
658
+
659
+ #: geoip/geoip.php:108
660
+ #@ cpd
661
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
662
+ msgstr "Συγνώμη αλλά αναγκαίες λειτουργίες (zlib) δεν βρέθηκαν ή δεν έχουν ενεργοποιηθεί στο php.ini."
663
+
664
+ #: geoip/geoip.php:132
665
+ #@ cpd
666
+ msgid "New GeoIP database installed."
667
+ msgstr "Νέα Γαίο-ΙΡ βάση δεδομένων εγκαταστάθηκε."
668
+
669
+ #: geoip/geoip.php:134
670
+ #@ cpd
671
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
672
+ msgstr "Συγνώμη αλλά συναίβει λάθος. Δοκιμάστε ξανά ή ελέγξτε άμα τα δικαιώματα του φακέλου \"geoip\" είναι 777."
673
+
674
+ #: counter-options.php:352
675
+ #@ cpd
676
+ 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!"
677
+ msgstr "Μπορείτε να ενημερώσετε τα δεδομένα των χωρών για όλες τις καταχωρήσεις στην βάση δεδομένων με το να τις διασταυρώσετε με τις διευθύνσεις ΙΡ της βάσης δεδομένων της Γαίο-ΙΡ. Αυτό παίρνει πολύ ώρα!"
678
+
679
+ #: counter-options.php:186
680
+ #@ cpd
681
+ msgid "Counter"
682
+ msgstr "Μετρητής"
683
+
684
+ #: counter-options.php:224
685
+ #@ cpd
686
+ msgid "Clients and referrers"
687
+ msgstr "Πελάτες και εισερχόμενοι σύνδεσμοι (referrers)"
688
+
689
+ #: counter-options.php:225
690
+ #@ cpd
691
+ 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."
692
+ msgstr "Αποθήκευση και απεικόνιση πελατών και εισερχόμενων συνδέσμων.<br />Απαιτεί μεγάλο χώρο στην βάση δεδομένων αλλά παρέχει ακριβέστερες πληροφορίες για τους επισκέπτες σας."
693
+
694
+ #: counter-options.php:278
695
+ #@ cpd
696
+ msgid "Local URLs"
697
+ msgstr "Τοπικές ιστοδιευθύνσεις"
698
+
699
+ #: counter-options.php:279
700
+ #@ cpd
701
+ msgid "Show local referrers too."
702
+ msgstr "Απεικόνιση και των τοπικών εισερχόμενων συνδέσμων (referrers)."
703
+
704
+ #: counter-options.php:287
705
+ #@ default
706
+ msgid "Posts"
707
+ msgstr "Άρθρα"
708
+
709
+ #: counter-options.php:287
710
+ #@ default
711
+ msgid "Pages"
712
+ msgstr "Σελίδες"
713
+
714
+ #: counter.php:527
715
+ #: counter.php:2222
716
+ #@ cpd
717
+ msgid "Reads last week"
718
+ msgstr "Αναγνώσεις προηγούμενης εβδομάδας"
719
+
720
+ #: counter.php:1514
721
+ #@ default
722
+ msgid "Category"
723
+ msgstr "Κατηγορία"
724
+
725
+ #: counter.php:1517
726
+ #@ default
727
+ msgid "Tag"
728
+ msgstr "Πινακίδιο"
729
+
730
+ #: counter.php:1719
731
+ #@ default
732
+ msgid "License"
733
+ msgstr "Άδεια"
734
+
735
+ #: counter.php:1753
736
+ #: counter.php:2223
737
+ #@ cpd
738
+ msgid "Reads per month"
739
+ msgstr "Αναγνώσεις ανά μήνα"
740
+
741
+ #: counter.php:1761
742
+ #@ cpd
743
+ msgid "Referrer"
744
+ msgstr "Εισερχόμενοι σύνδεσμοι(referrers)"
745
+
746
+ #: counter.php:2242
747
+ #@ default
748
+ msgid "Title"
749
+ msgstr "Τίτλος"
750
+
751
+ #: counter-options.php:256
752
+ #@ cpd
753
+ msgid "Old Charts"
754
+ msgstr "Παλαιά Διαγράμματα"
755
+
756
+ #: counter-options.php:257
757
+ #@ cpd
758
+ msgid "Show old bar charts."
759
+ msgstr "Εμφάνιση παλαιών Διαγραμμάτων."
760
+
761
+ #: counter-options.php:270
762
+ #@ cpd
763
+ msgid "Referrers - Entries"
764
+ msgstr "Εισερχόμενοι σύνδεσμοι - Καταχωρήσεις"
765
+
766
+ #: counter-options.php:271
767
+ #@ cpd
768
+ msgid "How many referrers do you want to see on dashboard page?"
769
+ msgstr "Πόσοι εισερχόμενοι σύνδεσμοι επιθυμείτε να εμφανίζονται στην κεντρική σελίδα;"
770
+
771
+ #: counter-options.php:274
772
+ #@ cpd
773
+ msgid "Referrers - Days"
774
+ msgstr "Εισερχόμενοι σύνδεσμοι - Ημέρες"
775
+
776
+ #: counter.php:1449
777
+ #, php-format
778
+ #@ cpd
779
+ msgid "The %s referrers in last %s days:"
780
+ msgstr "Οι πρόσφατοι %s εισερχόμενοι σύνδεσμοι των τελευταίων %s ημερών:"
781
+
782
+ #: counter.php:1751
783
+ #@ cpd
784
+ msgid "Visitors online"
785
+ msgstr "Επισκέπτες σε σύνδεση"
786
+
locale/cpd-es_ES.mo ADDED
Binary file
locale/cpd-es_ES.po ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count per Day en español\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-11-02 12:13+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Juan Carlos del Río <jcrio@hotmail.com>\n"
8
+ "Language-Team: Juan Carlos del Río <jcrio[at]hotmail[dot]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-Poedit-Language: Spanish\n"
14
+ "X-Poedit-Country: SPAIN\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: P:/xampp/htdocs/wp/wp-content/plugins/count-per-day\n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: counter-options.php:46
23
+ #@ cpd
24
+ msgid "Options updated"
25
+ msgstr "Las opciones han sido guardadas"
26
+
27
+ #: counter-options.php:111
28
+ #, php-format
29
+ #@ cpd
30
+ msgid "Database cleaned. %s rows deleted."
31
+ msgstr "Base de datos borrada. %s filas borradas."
32
+
33
+ #: counter-options.php:121
34
+ #: counter-options.php:496
35
+ #@ cpd
36
+ msgid "UNINSTALL Count per Day"
37
+ msgstr "DESINSTALA Count per Day"
38
+
39
+ #: counter-options.php:126
40
+ #: counter-options.php:128
41
+ #: counter-options.php:130
42
+ #, php-format
43
+ #@ cpd
44
+ msgid "Table %s deleted"
45
+ msgstr "La tabla %s ha sido borrada"
46
+
47
+ #: counter-options.php:132
48
+ #@ cpd
49
+ msgid "Options deleted"
50
+ msgstr "Las opciones han sido canceladas"
51
+
52
+ #: counter-options.php:156
53
+ #: counter-options.php:481
54
+ #@ cpd
55
+ msgid "Uninstall"
56
+ msgstr "Desinstala"
57
+
58
+ #: counter-options.php:157
59
+ #@ cpd
60
+ msgid "Click here"
61
+ msgstr "Hacer click aquí"
62
+
63
+ #: counter-options.php:157
64
+ #@ cpd
65
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
66
+ msgstr "para completar la desinstalación y desactivar \"Count per Day\"."
67
+
68
+ #: counter-options.php:179
69
+ #@ cpd
70
+ msgid "Options"
71
+ msgstr "Opciones"
72
+
73
+ #: counter-options.php:190
74
+ #@ cpd
75
+ msgid "Online time"
76
+ msgstr "Tiempo online"
77
+
78
+ #: counter-options.php:191
79
+ #@ cpd
80
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
81
+ msgstr "Segundos del contador online. Usado para \"Visitantes conectados\" en el escritorio."
82
+
83
+ #: counter-options.php:194
84
+ #@ cpd
85
+ msgid "Logged on Users"
86
+ msgstr "Usuarios conectados"
87
+
88
+ #: counter-options.php:196
89
+ #@ cpd
90
+ msgid "count too"
91
+ msgstr "contar también"
92
+
93
+ #: counter-options.php:208
94
+ #@ cpd
95
+ msgid "Auto counter"
96
+ msgstr "Auto contador"
97
+
98
+ #: counter-options.php:209
99
+ #@ cpd
100
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
101
+ msgstr "Cuenta automáticamente entradas y páginas, no es necesario cambiar la plantilla."
102
+
103
+ #: counter-options.php:212
104
+ #@ cpd
105
+ msgid "Bots to ignore"
106
+ msgstr "Bots a ignorar"
107
+
108
+ #: counter-options.php:331
109
+ #@ cpd
110
+ msgid "Update options"
111
+ msgstr "Actualiza las opciones"
112
+
113
+ #: counter-options.php:445
114
+ #: counter-options.php:454
115
+ #@ cpd
116
+ msgid "Clean the database"
117
+ msgstr "Borrar la base de datos"
118
+
119
+ #: counter-options.php:448
120
+ #@ cpd
121
+ 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."
122
+ msgstr "Puedes borrar la tabla del contador para eliminar el \"spam\". <br /> Agregando nuevos bots encima del viejo \"spam\" se mantendrán en la base de datos. <br /> A continuación puedes activar el filtro de nuevo y eliminar las visitas de los robots."
123
+
124
+ #: counter-options.php:484
125
+ #@ cpd
126
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
127
+ msgstr "La desactivación de \"Count per Day\" no borrará las tablas de la base de datos."
128
+
129
+ #: counter-options.php:485
130
+ #@ cpd
131
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
132
+ msgstr "Aquí puedes borrar las tablas y desactivar \"Count per Day\"."
133
+
134
+ #: counter-options.php:488
135
+ #@ cpd
136
+ msgid "WARNING"
137
+ msgstr "ATENCIÓN"
138
+
139
+ #: counter-options.php:489
140
+ #@ cpd
141
+ msgid "These tables (with ALL counter data) will be deleted."
142
+ msgstr "Estas tablas (con TODOS los datos) serán borradas."
143
+
144
+ #: counter-options.php:491
145
+ #@ cpd
146
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
147
+ msgstr "Si \"Count per Day\" es reinstalado, el contador comenzará en 0."
148
+
149
+ #: counter-options.php:495
150
+ #@ cpd
151
+ msgid "Yes"
152
+ msgstr "Sí"
153
+
154
+ #: counter-options.php:496
155
+ #@ cpd
156
+ msgid "You are sure to disable Count per Day and delete all data?"
157
+ msgstr "¿Estás seguro de desactivar Count per Day y borrar todos los datos?"
158
+
159
+ #: counter.php:1786
160
+ #: counter.php:2147
161
+ #@ cpd
162
+ msgid "Statistics"
163
+ msgstr "Estadísticas"
164
+
165
+ #: counter.php:529
166
+ #: counter.php:534
167
+ #: counter.php:1604
168
+ #: counter.php:1750
169
+ #: counter.php:2224
170
+ #@ cpd
171
+ msgid "Total visitors"
172
+ msgstr "Total de visitas"
173
+
174
+ #: counter.php:530
175
+ #: counter.php:2230
176
+ #@ cpd
177
+ msgid "Visitors currently online"
178
+ msgstr "Visitantes conectados"
179
+
180
+ #: counter.php:531
181
+ #: counter.php:2225
182
+ #@ cpd
183
+ msgid "Visitors today"
184
+ msgstr "Hoy"
185
+
186
+ #: counter.php:532
187
+ #: counter.php:2226
188
+ #@ cpd
189
+ msgid "Visitors yesterday"
190
+ msgstr "Ayer"
191
+
192
+ #: counter.php:533
193
+ #: counter.php:2227
194
+ #@ cpd
195
+ msgid "Visitors last week"
196
+ msgstr "La semana anterior"
197
+
198
+ #: counter.php:536
199
+ #: counter.php:2231
200
+ #@ cpd
201
+ msgid "Counter starts on"
202
+ msgstr "El contador comenzó el"
203
+
204
+ #: counter.php:535
205
+ #: counter.php:636
206
+ #: counter.php:1606
207
+ #: counter.php:1756
208
+ #: counter.php:1765
209
+ #: counter.php:2229
210
+ #: userperspan.php:33
211
+ #@ cpd
212
+ msgid "Visitors per day"
213
+ msgstr "Visitantes por día"
214
+
215
+ #: counter.php:1752
216
+ #: counter.php:2228
217
+ #@ cpd
218
+ msgid "Visitors per month"
219
+ msgstr "Visitantes por mes"
220
+
221
+ #: counter-options.php:236
222
+ #: counter.php:1754
223
+ #@ cpd
224
+ msgid "Visitors per post"
225
+ msgstr "Visitantes por entrada"
226
+
227
+ #: counter-options.php:117
228
+ #@ cpd
229
+ msgid "Counter reseted."
230
+ msgstr "El contador ha sido reinicializado."
231
+
232
+ #: counter-options.php:237
233
+ #: counter-options.php:241
234
+ #@ cpd
235
+ msgid "How many posts do you want to see on dashboard page?"
236
+ msgstr "Número de entradas que quieres ver en el escritorio"
237
+
238
+ #: counter-options.php:240
239
+ #@ cpd
240
+ msgid "Latest Counts - Posts"
241
+ msgstr "Últimos conteos - Entradas"
242
+
243
+ #: counter-options.php:244
244
+ #@ cpd
245
+ msgid "Latest Counts - Days"
246
+ msgstr "Últimos conteos - Días"
247
+
248
+ #: counter-options.php:245
249
+ #: counter-options.php:249
250
+ #: counter-options.php:275
251
+ #@ cpd
252
+ msgid "How many days do you want look back?"
253
+ msgstr "¿Cuántos días hacia atrás quieres ver?"
254
+
255
+ #: counter-options.php:290
256
+ #@ cpd
257
+ msgid "Show in lists"
258
+ msgstr "Mostrar en las listas"
259
+
260
+ #: counter-options.php:291
261
+ #@ cpd
262
+ msgid "Show \"Reads per Post\" in a new column in post management views."
263
+ msgstr "Mostrar \"Lecturas por entrada\" en una nueva columna en la sección de administración de entradas."
264
+
265
+ #: counter-options.php:463
266
+ #: counter-options.php:472
267
+ #@ cpd
268
+ msgid "Reset the counter"
269
+ msgstr "Reinicia el contador"
270
+
271
+ #: counter-options.php:466
272
+ #@ cpd
273
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
274
+ msgstr "Puedes reiniciar el contador vaciando la tabla. TODO a 0!<br />¡Haz un backup si quieres conservar los datos!"
275
+
276
+ #: counter.php:1257
277
+ #, php-format
278
+ #@ cpd
279
+ msgid "The %s most visited posts in last %s days:"
280
+ msgstr "Las %s entradas más visitadas en los últimos %s días:"
281
+
282
+ #: counter.php:1591
283
+ #@ default
284
+ msgid "Settings"
285
+ msgstr "Configuración"
286
+
287
+ #: counter-options.php:225
288
+ #: counter.php:528
289
+ #: counter.php:1661
290
+ #@ cpd
291
+ msgid "Reads"
292
+ msgstr "Visitas"
293
+
294
+ #: counter.php:1755
295
+ #@ cpd
296
+ msgid "Latest Counts"
297
+ msgstr "Últimos conteos"
298
+
299
+ #: counter-options.php:248
300
+ #@ cpd
301
+ msgid "Chart - Days"
302
+ msgstr "Gráfica - Días"
303
+
304
+ #: counter-options.php:252
305
+ #@ cpd
306
+ msgid "Chart - Height"
307
+ msgstr "Gráfica - Altura"
308
+
309
+ #: counter-options.php:253
310
+ #@ cpd
311
+ msgid "Height of the biggest bar"
312
+ msgstr "Altura de la categoría mayor"
313
+
314
+ #: counter.php:845
315
+ #@ cpd
316
+ msgid "no reads at this time"
317
+ msgstr "sin lecturas en este momento"
318
+
319
+ #: counter.php:819
320
+ #@ cpd
321
+ msgid "days"
322
+ msgstr "días"
323
+
324
+ #: counter.php:2218
325
+ #@ cpd
326
+ msgid "This post"
327
+ msgstr "Este artículo"
328
+
329
+ #: counter-options.php:233
330
+ #@ default
331
+ msgid "Dashboard"
332
+ msgstr "Escritorio"
333
+
334
+ #: counter.php:635
335
+ #: counter.php:1766
336
+ #@ cpd
337
+ msgid "Reads per day"
338
+ msgstr "Lecturas por día"
339
+
340
+ #: counter-options.php:57
341
+ #, php-format
342
+ #@ cpd
343
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
344
+ msgstr "Países actualizados. <b>%s</b> entradas %s sin país"
345
+
346
+ #: counter-options.php:62
347
+ #@ cpd
348
+ msgid "update next"
349
+ msgstr "actualiza el próximo"
350
+
351
+ #: counter-options.php:340
352
+ #@ cpd
353
+ msgid "GeoIP - Countries"
354
+ msgstr "GeoIP - Países"
355
+
356
+ #: counter-options.php:349
357
+ #@ cpd
358
+ msgid "Update old counter data"
359
+ msgstr "Actualiza los datos antiguos"
360
+
361
+ #: counter-options.php:362
362
+ #@ cpd
363
+ msgid "Update GeoIP database"
364
+ msgstr "Actualiza la base de datos de GeoIP"
365
+
366
+ #: counter-options.php:365
367
+ #@ cpd
368
+ msgid "Download a new version of GeoIP.dat file."
369
+ msgstr "Decarga la nueva versión del archivo GeoIP.dat."
370
+
371
+ #: counter-options.php:371
372
+ #@ cpd
373
+ msgid "More informations about GeoIP"
374
+ msgstr "Más información sobre GeoIP"
375
+
376
+ #: counter.php:1770
377
+ #@ cpd
378
+ msgid "Reads per Country"
379
+ msgstr "Lecturas por país"
380
+
381
+ #: geoip/geoip.php:132
382
+ #@ cpd
383
+ msgid "New GeoIP database installed."
384
+ msgstr "La nueva base de datos de GeoIP ha sido instalada."
385
+
386
+ #: geoip/geoip.php:134
387
+ #@ cpd
388
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
389
+ msgstr "Ha ocurrido un error. Inténtelo de nuevo o verifique que los permisos de la carpeta \"geoip\" están como 777."
390
+
391
+ #: geoip/geoip.php:108
392
+ #@ cpd
393
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
394
+ msgstr "Las funciones (zlib) non están instaladas o habilitadas en php.ini."
395
+
396
+ #: counter-options.php:261
397
+ #@ cpd
398
+ msgid "Countries"
399
+ msgstr "Países"
400
+
401
+ #: counter-options.php:262
402
+ #@ cpd
403
+ msgid "How many countries do you want to see on dashboard page?"
404
+ msgstr "¿Cuántos países desea ver en el escritorio?"
405
+
406
+ #: counter-options.php:104
407
+ #, php-format
408
+ #@ cpd
409
+ msgid "Mass Bots cleaned. %s counts deleted."
410
+ msgstr "Robots borrados. %s conteos borrados."
411
+
412
+ #: counter-options.php:386
413
+ #: massbots.php:33
414
+ #@ cpd
415
+ msgid "Mass Bots"
416
+ msgstr "Robots"
417
+
418
+ #: counter-options.php:390
419
+ #, php-format
420
+ #@ cpd
421
+ msgid "Show all IPs with more than %s page views per day"
422
+ msgstr "Muestra todos los IP con más de %s paginas visualizadas al día"
423
+
424
+ #: counter-options.php:391
425
+ #: notes.php:76
426
+ #: userperspan.php:43
427
+ #@ cpd
428
+ msgid "show"
429
+ msgstr "muestra"
430
+
431
+ #: counter-options.php:413
432
+ #: counter-options.php:435
433
+ #, php-format
434
+ #@ cpd
435
+ msgid "Delete these %s counts"
436
+ msgstr "Borra estos %s conteos"
437
+
438
+ #: counter.php:1421
439
+ #@ cpd
440
+ msgid "Other"
441
+ msgstr "Otro"
442
+
443
+ #: counter.php:1520
444
+ #: massbots.php:50
445
+ #: userperspan.php:63
446
+ #@ default
447
+ msgid "Front page displays"
448
+ msgstr "Página inicial mostradas"
449
+
450
+ #: counter-options.php:266
451
+ #: counter.php:1760
452
+ #@ cpd
453
+ msgid "Browsers"
454
+ msgstr "Navegador"
455
+
456
+ #: counter-options.php:399
457
+ #@ cpd
458
+ msgid "IP"
459
+ msgstr "IP"
460
+
461
+ #: counter-options.php:400
462
+ #: notes.php:80
463
+ #@ cpd
464
+ #@ default
465
+ msgid "Date"
466
+ msgstr "Fecha"
467
+
468
+ #: counter-options.php:401
469
+ #@ cpd
470
+ msgid "Client"
471
+ msgstr "Cliente"
472
+
473
+ #: counter-options.php:402
474
+ #@ cpd
475
+ msgid "Views"
476
+ msgstr "Vistas"
477
+
478
+ #: counter-options.php:299
479
+ #@ cpd
480
+ msgid "Start Values"
481
+ msgstr "Valores de inicio"
482
+
483
+ #: counter-options.php:303
484
+ #@ cpd
485
+ msgid "Here you can change the date of first count and add a start count."
486
+ msgstr "Aquí puede cambiar la fecha del primer conteo y añadir un valor de inicio."
487
+
488
+ #: counter-options.php:307
489
+ #@ cpd
490
+ msgid "Start date"
491
+ msgstr "Fecha de inicio"
492
+
493
+ #: counter-options.php:308
494
+ #@ cpd
495
+ msgid "Your old Counter starts at?"
496
+ msgstr "Su antiguo contador comienza el"
497
+
498
+ #: counter-options.php:311
499
+ #: counter-options.php:315
500
+ #@ cpd
501
+ msgid "Start count"
502
+ msgstr "Iniciar el conteo"
503
+
504
+ #: counter-options.php:312
505
+ #@ cpd
506
+ msgid "Add this value to \"Total visitors\"."
507
+ msgstr "Añadir este valor al \"Total de visitas\"."
508
+
509
+ #: counter-options.php:504
510
+ #@ cpd
511
+ msgid "Support"
512
+ msgstr "Soporte"
513
+
514
+ #: counter.php:1717
515
+ #@ cpd
516
+ msgid "Bug? Problem? Question? Hint? Praise?"
517
+ msgstr "¿Bug? ¿Problemas? ¿Preguntas? ¿Sugerencias? ¿Elogios?"
518
+
519
+ #: counter.php:1718
520
+ #, php-format
521
+ #@ cpd
522
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
523
+ msgstr "Envía un comentario en la <a href=\"%s\">página del plugin</a>."
524
+
525
+ #: counter.php:1374
526
+ #@ default
527
+ msgid "Show"
528
+ msgstr "Muestra"
529
+
530
+ #: counter.php:1505
531
+ #@ default
532
+ msgid "Edit Post"
533
+ msgstr "Modifica entrada"
534
+
535
+ #: counter.php:1716
536
+ #, php-format
537
+ #@ cpd
538
+ msgid "Time for Count per Day: <code>%s</code>."
539
+ msgstr "Huso horario para Count per Day: <code>%s</code>."
540
+
541
+ #: counter-options.php:197
542
+ #@ cpd
543
+ msgid "until User Level"
544
+ msgstr "hasta el Nivel de Usuario"
545
+
546
+ #: counter.php:1757
547
+ #@ default
548
+ msgid "Plugin"
549
+ msgstr "Plugin"
550
+
551
+ #: counter.php:822
552
+ #: counter.php:1376
553
+ #: notes.php:47
554
+ #: notes.php:81
555
+ #@ cpd
556
+ msgid "Notes"
557
+ msgstr "Notas"
558
+
559
+ #: notes.php:82
560
+ #@ default
561
+ msgid "Action"
562
+ msgstr "Acción"
563
+
564
+ #: notes.php:87
565
+ #@ cpd
566
+ msgid "add"
567
+ msgstr "añade"
568
+
569
+ #: notes.php:102
570
+ #@ cpd
571
+ msgid "save"
572
+ msgstr "salva"
573
+
574
+ #: notes.php:103
575
+ #@ cpd
576
+ msgid "delete"
577
+ msgstr "borra"
578
+
579
+ #: notes.php:114
580
+ #@ cpd
581
+ msgid "edit"
582
+ msgstr "modifica"
583
+
584
+ #: notes.php:81
585
+ #@ cpd
586
+ msgid "(1 per day)"
587
+ msgstr "(1 por día)"
588
+
589
+ #: counter-options.php:316
590
+ #@ cpd
591
+ msgid "Add this value to \"Total reads\"."
592
+ msgstr "Añade este valor a \"Total de lecturas\"."
593
+
594
+ #: counter.php:524
595
+ #: counter.php:2219
596
+ #@ cpd
597
+ msgid "Total reads"
598
+ msgstr "Total de lecturas"
599
+
600
+ #: counter.php:525
601
+ #: counter.php:2220
602
+ #@ cpd
603
+ msgid "Reads today"
604
+ msgstr "Lecturas hoy"
605
+
606
+ #: counter.php:526
607
+ #: counter.php:2221
608
+ #@ cpd
609
+ msgid "Reads yesterday"
610
+ msgstr "Lecturas ayer"
611
+
612
+ #: counter.php:900
613
+ #: counter.php:1856
614
+ #@ cpd
615
+ msgid "Map"
616
+ msgstr "Mapa"
617
+
618
+ #: counter-options.php:216
619
+ #@ cpd
620
+ msgid "Anonymous IP"
621
+ msgstr "IP anónimo"
622
+
623
+ #: counter-options.php:220
624
+ #@ cpd
625
+ msgid "Cache"
626
+ msgstr "Cache"
627
+
628
+ #: counter-options.php:221
629
+ #@ cpd
630
+ msgid "I use a cache plugin. Count these visits with ajax."
631
+ msgstr "Uso un plugin para la cache. Contar las visitas con ajax."
632
+
633
+ #: counter-options.php:267
634
+ #@ cpd
635
+ msgid "Substring of the user agent, separated by comma"
636
+ msgstr "Subcadena del user agent, separados por comas"
637
+
638
+ #: counter-options.php:324
639
+ #@ cpd
640
+ msgid "Debug mode"
641
+ msgstr "Modo debug"
642
+
643
+ #: counter-options.php:326
644
+ #@ cpd
645
+ msgid "Show debug informations at the bottom of all pages."
646
+ msgstr "Muestra información de debug al final de todas las páginas."
647
+
648
+ #: counter.php:1771
649
+ #@ cpd
650
+ msgid "Visitors per Country"
651
+ msgstr "Visitas por país"
652
+
653
+ #: userperspan.php:37
654
+ #@ cpd
655
+ msgid "Start"
656
+ msgstr "Inicio"
657
+
658
+ #: userperspan.php:39
659
+ #@ cpd
660
+ msgid "End"
661
+ msgstr "Fin"
662
+
663
+ #: userperspan.php:41
664
+ #@ cpd
665
+ msgid "PostID"
666
+ msgstr "ID entrada"
667
+
668
+ #: userperspan.php:49
669
+ #@ cpd
670
+ msgid "no data found"
671
+ msgstr "no se han encontrado datos"
672
+
673
+ #: counter-options.php:352
674
+ #@ cpd
675
+ 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!"
676
+ msgstr "Puede obtener los datos de países de todas las entradas verificando de nuevo la dirección IP en la base de datos de GeoIP. ¡Esto tomará un tiempo!"
677
+
678
+ #: counter-options.php:186
679
+ #@ cpd
680
+ msgid "Counter"
681
+ msgstr ""
682
+
683
+ #: counter-options.php:224
684
+ #@ cpd
685
+ msgid "Clients and referrers"
686
+ msgstr ""
687
+
688
+ #: counter-options.php:225
689
+ #@ cpd
690
+ 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."
691
+ msgstr ""
692
+
693
+ #: counter-options.php:278
694
+ #@ cpd
695
+ msgid "Local URLs"
696
+ msgstr ""
697
+
698
+ #: counter-options.php:279
699
+ #@ cpd
700
+ msgid "Show local referrers too."
701
+ msgstr ""
702
+
703
+ #: counter-options.php:287
704
+ #@ default
705
+ msgid "Posts"
706
+ msgstr ""
707
+
708
+ #: counter-options.php:287
709
+ #@ default
710
+ msgid "Pages"
711
+ msgstr ""
712
+
713
+ #: counter.php:527
714
+ #: counter.php:2222
715
+ #@ cpd
716
+ msgid "Reads last week"
717
+ msgstr ""
718
+
719
+ #: counter.php:1514
720
+ #@ default
721
+ msgid "Category"
722
+ msgstr ""
723
+
724
+ #: counter.php:1517
725
+ #@ default
726
+ msgid "Tag"
727
+ msgstr ""
728
+
729
+ #: counter.php:1719
730
+ #@ default
731
+ msgid "License"
732
+ msgstr ""
733
+
734
+ #: counter.php:1753
735
+ #: counter.php:2223
736
+ #@ cpd
737
+ msgid "Reads per month"
738
+ msgstr ""
739
+
740
+ #: counter.php:1761
741
+ #@ cpd
742
+ msgid "Referrer"
743
+ msgstr ""
744
+
745
+ #: counter.php:2242
746
+ #@ default
747
+ msgid "Title"
748
+ msgstr ""
749
+
750
+ #: counter-options.php:256
751
+ #@ cpd
752
+ msgid "Old Charts"
753
+ msgstr ""
754
+
755
+ #: counter-options.php:257
756
+ #@ cpd
757
+ msgid "Show old bar charts."
758
+ msgstr ""
759
+
760
+ #: counter-options.php:270
761
+ #@ cpd
762
+ msgid "Referrers - Entries"
763
+ msgstr ""
764
+
765
+ #: counter-options.php:271
766
+ #@ cpd
767
+ msgid "How many referrers do you want to see on dashboard page?"
768
+ msgstr ""
769
+
770
+ #: counter-options.php:274
771
+ #@ cpd
772
+ msgid "Referrers - Days"
773
+ msgstr ""
774
+
775
+ #: counter.php:1449
776
+ #, php-format
777
+ #@ cpd
778
+ msgid "The %s referrers in last %s days:"
779
+ msgstr ""
780
+
781
+ #: counter.php:1751
782
+ #@ cpd
783
+ msgid "Visitors online"
784
+ msgstr ""
785
+
locale/cpd-fr_FR.mo ADDED
Binary file
locale/cpd-fr_FR.po ADDED
@@ -0,0 +1,784 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count per Day\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-11-02 12:13+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Bjork - Habbzone.fr <bjork@habbzone.fr>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: French\n"
14
+ "X-Poedit-Country: FRANCE\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
+ "X-Poedit-Basepath: P:/xampp/htdocs/wp/wp-content/plugins/count-per-day\n"
18
+ "X-Textdomain-Support: yes\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ #@ cpd
22
+ #: counter-options.php:46
23
+ msgid "Options updated"
24
+ msgstr "Paramètres mis à jour"
25
+
26
+ #@ cpd
27
+ #: counter-options.php:111
28
+ #, php-format
29
+ msgid "Database cleaned. %s rows deleted."
30
+ msgstr "Base de données nettoyée. %s lignes supprimées."
31
+
32
+ #@ cpd
33
+ #: counter-options.php:121
34
+ #: counter-options.php:496
35
+ msgid "UNINSTALL Count per Day"
36
+ msgstr "Désinstaller Count per Day"
37
+
38
+ #@ cpd
39
+ #: counter-options.php:126
40
+ #: counter-options.php:128
41
+ #: counter-options.php:130
42
+ #, php-format
43
+ msgid "Table %s deleted"
44
+ msgstr "Table %s supprimée"
45
+
46
+ #@ cpd
47
+ #: counter-options.php:132
48
+ msgid "Options deleted"
49
+ msgstr "Paramètres supprimés"
50
+
51
+ #@ cpd
52
+ #: counter-options.php:156
53
+ #: counter-options.php:481
54
+ msgid "Uninstall"
55
+ msgstr "Désinstaller"
56
+
57
+ #@ cpd
58
+ #: counter-options.php:157
59
+ msgid "Click here"
60
+ msgstr "Cliquez ici"
61
+
62
+ #@ cpd
63
+ #: counter-options.php:157
64
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
65
+ msgstr "pour terminer de désinstaller et désactiver \"Count per Day\"."
66
+
67
+ #@ cpd
68
+ #: counter-options.php:179
69
+ msgid "Options"
70
+ msgstr "Options"
71
+
72
+ #@ cpd
73
+ #: counter-options.php:190
74
+ msgid "Online time"
75
+ msgstr "Temps en ligne"
76
+
77
+ #@ cpd
78
+ #: counter-options.php:191
79
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
80
+ msgstr "Nombre de secondes pour le compteur en ligne. Utilisé pour \"Visiteurs en ligne\" à la page du tableau de bord."
81
+
82
+ #@ cpd
83
+ #: counter-options.php:194
84
+ msgid "Logged on Users"
85
+ msgstr "Utilisateurs Connectés"
86
+
87
+ #@ cpd
88
+ #: counter-options.php:196
89
+ msgid "count too"
90
+ msgstr "compter aussi"
91
+
92
+ #@ cpd
93
+ #: counter-options.php:208
94
+ msgid "Auto counter"
95
+ msgstr "Compteur automatique"
96
+
97
+ #@ cpd
98
+ #: counter-options.php:209
99
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
100
+ msgstr "Compte automatiquement les articles et les pages, aucun changement sur le template requis."
101
+
102
+ #@ cpd
103
+ #: counter-options.php:212
104
+ msgid "Bots to ignore"
105
+ msgstr "Robots à ignorer"
106
+
107
+ #@ cpd
108
+ #: counter-options.php:331
109
+ msgid "Update options"
110
+ msgstr "Mettre à jour les options"
111
+
112
+ #@ cpd
113
+ #: counter-options.php:445
114
+ #: counter-options.php:454
115
+ msgid "Clean the database"
116
+ msgstr "Nettoyer la base de données"
117
+
118
+ #@ cpd
119
+ #: counter-options.php:448
120
+ 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."
121
+ msgstr "Vous pouvez nettoyer la table du compteur en supprimant le \"spam\".<br />Si vous ajoutez de nouveaux robots au dessus les anciens \"spams\" restent dans la base de données.<br />Ici, vous pouvez exécuter le filtre robot de nouveau et supprimer les visites des robots."
122
+
123
+ #@ cpd
124
+ #: counter-options.php:484
125
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
126
+ msgstr "Si \"Count per Day\" est seulement désactivé les tables dans la base de données resteront intactes."
127
+
128
+ #@ cpd
129
+ #: counter-options.php:485
130
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
131
+ msgstr "Ici, vous pouvez désactiver et supprimer \"Count per Day\"."
132
+
133
+ #@ cpd
134
+ #: counter-options.php:488
135
+ msgid "WARNING"
136
+ msgstr "ATTENTION"
137
+
138
+ #@ cpd
139
+ #: counter-options.php:489
140
+ msgid "These tables (with ALL counter data) will be deleted."
141
+ msgstr "Ces tables (avec toutes les données du compteur) seront supprimées."
142
+
143
+ #@ cpd
144
+ #: counter-options.php:491
145
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
146
+ msgstr "Si \"Count per Day\" est re-installé, le compteur repart de 0."
147
+
148
+ #@ cpd
149
+ #: counter-options.php:495
150
+ msgid "Yes"
151
+ msgstr "Oui"
152
+
153
+ #@ cpd
154
+ #: counter-options.php:496
155
+ msgid "You are sure to disable Count per Day and delete all data?"
156
+ msgstr "Vous êtes sûr de désactiver Count per Day et supprimer toutes les données?"
157
+
158
+ #@ cpd
159
+ #: counter.php:1786
160
+ #: counter.php:2147
161
+ msgid "Statistics"
162
+ msgstr "Statistiques"
163
+
164
+ #@ cpd
165
+ #: counter.php:529
166
+ #: counter.php:534
167
+ #: counter.php:1604
168
+ #: counter.php:1750
169
+ #: counter.php:2224
170
+ msgid "Total visitors"
171
+ msgstr "Visiteurs Total"
172
+
173
+ #@ cpd
174
+ #: counter.php:530
175
+ #: counter.php:2230
176
+ msgid "Visitors currently online"
177
+ msgstr "Visiteur actuellement en ligne"
178
+
179
+ #@ cpd
180
+ #: counter.php:531
181
+ #: counter.php:2225
182
+ msgid "Visitors today"
183
+ msgstr "Visiteurs aujourd'hui"
184
+
185
+ #@ cpd
186
+ #: counter.php:532
187
+ #: counter.php:2226
188
+ msgid "Visitors yesterday"
189
+ msgstr "Visiteurs hier"
190
+
191
+ #@ cpd
192
+ #: counter.php:533
193
+ #: counter.php:2227
194
+ msgid "Visitors last week"
195
+ msgstr "Visiteurs la semaine dernière"
196
+
197
+ #@ cpd
198
+ #: counter.php:536
199
+ #: counter.php:2231
200
+ msgid "Counter starts on"
201
+ msgstr "Compteur activé le "
202
+
203
+ #@ cpd
204
+ #: counter.php:535
205
+ #: counter.php:636
206
+ #: counter.php:1606
207
+ #: counter.php:1756
208
+ #: counter.php:1765
209
+ #: counter.php:2229
210
+ #: userperspan.php:33
211
+ msgid "Visitors per day"
212
+ msgstr "Visiteurs par jour"
213
+
214
+ #@ cpd
215
+ #: counter.php:1752
216
+ #: counter.php:2228
217
+ msgid "Visitors per month"
218
+ msgstr "Visiteurs par mois"
219
+
220
+ #@ cpd
221
+ #: counter-options.php:236
222
+ #: counter.php:1754
223
+ msgid "Visitors per post"
224
+ msgstr "Visiteurs par articles"
225
+
226
+ #@ cpd
227
+ #: counter-options.php:117
228
+ msgid "Counter reseted."
229
+ msgstr "Compteur remis à zéro."
230
+
231
+ #@ cpd
232
+ #: counter-options.php:237
233
+ #: counter-options.php:241
234
+ msgid "How many posts do you want to see on dashboard page?"
235
+ msgstr "Combien d'articles souhaitez-vous voir sur la page tableau de bord?"
236
+
237
+ #@ cpd
238
+ #: counter-options.php:240
239
+ msgid "Latest Counts - Posts"
240
+ msgstr "Dernier Comptes - Articles"
241
+
242
+ #@ cpd
243
+ #: counter-options.php:244
244
+ msgid "Latest Counts - Days"
245
+ msgstr "Dernier Compte - Jours"
246
+
247
+ #@ cpd
248
+ #: counter-options.php:245
249
+ #: counter-options.php:249
250
+ #: counter-options.php:275
251
+ msgid "How many days do you want look back?"
252
+ msgstr "Combien de jours vous voulez regarder en arrière?"
253
+
254
+ #@ cpd
255
+ #: counter-options.php:290
256
+ msgid "Show in lists"
257
+ msgstr "Montrer dans la liste"
258
+
259
+ #@ cpd
260
+ #: counter-options.php:291
261
+ msgid "Show \"Reads per Post\" in a new column in post management views."
262
+ msgstr "Montrer \"Lectures par Article\" dans une nouvelle colonne dans la modification des articles."
263
+
264
+ #@ cpd
265
+ #: counter-options.php:463
266
+ #: counter-options.php:472
267
+ msgid "Reset the counter"
268
+ msgstr "Remise à zéro du compteur"
269
+
270
+ #@ cpd
271
+ #: counter-options.php:466
272
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
273
+ msgstr "Vous pouvez réinitialiser le compteur en vidant la table. TOUT à 0!<br />Faites un Backup si vous avez besoin des données actuelles!"
274
+
275
+ #@ cpd
276
+ #: counter.php:1257
277
+ #, php-format
278
+ msgid "The %s most visited posts in last %s days:"
279
+ msgstr "Les %s articles les plus visités dans les derniers %s jours:"
280
+
281
+ #@ default
282
+ #: counter.php:1591
283
+ msgid "Settings"
284
+ msgstr "Options"
285
+
286
+ #@ cpd
287
+ #: counter-options.php:225
288
+ #: counter.php:528
289
+ #: counter.php:1661
290
+ msgid "Reads"
291
+ msgstr "Lectures"
292
+
293
+ #@ cpd
294
+ #: counter.php:1755
295
+ msgid "Latest Counts"
296
+ msgstr "Dernier Comptes"
297
+
298
+ #@ cpd
299
+ #: counter-options.php:248
300
+ msgid "Chart - Days"
301
+ msgstr "Graphique - Jours"
302
+
303
+ #@ cpd
304
+ #: counter-options.php:252
305
+ msgid "Chart - Height"
306
+ msgstr "Graphique - Hauteur"
307
+
308
+ #@ cpd
309
+ #: counter-options.php:253
310
+ msgid "Height of the biggest bar"
311
+ msgstr "Hauteur de la plus grande barre"
312
+
313
+ #@ cpd
314
+ #: counter.php:845
315
+ msgid "no reads at this time"
316
+ msgstr "Aucune lectures pour le moment"
317
+
318
+ #@ cpd
319
+ #: counter.php:819
320
+ msgid "days"
321
+ msgstr "jours"
322
+
323
+ #@ cpd
324
+ #: counter.php:2218
325
+ msgid "This post"
326
+ msgstr "Cet article"
327
+
328
+ #@ default
329
+ #: counter-options.php:233
330
+ msgid "Dashboard"
331
+ msgstr "Tableau de bord"
332
+
333
+ #@ cpd
334
+ #: counter.php:635
335
+ #: counter.php:1766
336
+ msgid "Reads per day"
337
+ msgstr "Lectures par jour"
338
+
339
+ #@ cpd
340
+ #: counter-options.php:57
341
+ #, php-format
342
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
343
+ msgstr "Pays mis à jour. <b>%s</b> entrées dans %s sans pays manquant"
344
+
345
+ #@ cpd
346
+ #: counter-options.php:62
347
+ msgid "update next"
348
+ msgstr "mettre à jour le prochain"
349
+
350
+ #@ cpd
351
+ #: counter-options.php:340
352
+ msgid "GeoIP - Countries"
353
+ msgstr "GeoIP - Pays"
354
+
355
+ #@ cpd
356
+ #: counter-options.php:349
357
+ msgid "Update old counter data"
358
+ msgstr "Mettre à jour les données du vieux compteur"
359
+
360
+ #@ cpd
361
+ #: counter-options.php:362
362
+ msgid "Update GeoIP database"
363
+ msgstr "Mettre à jour les données de GeoIP"
364
+
365
+ #@ cpd
366
+ #: counter-options.php:365
367
+ msgid "Download a new version of GeoIP.dat file."
368
+ msgstr "Télécharger une nouvelle version du fichier GeoIP.dat."
369
+
370
+ #@ cpd
371
+ #: counter-options.php:371
372
+ msgid "More informations about GeoIP"
373
+ msgstr "Plus d'infos sur GeoIP"
374
+
375
+ #@ cpd
376
+ #: counter.php:1770
377
+ msgid "Reads per Country"
378
+ msgstr "Lectures par Pays"
379
+
380
+ #@ cpd
381
+ #: geoip/geoip.php:132
382
+ msgid "New GeoIP database installed."
383
+ msgstr "Nouvelle base de données de GeoIp installée."
384
+
385
+ #@ cpd
386
+ #: geoip/geoip.php:134
387
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
388
+ msgstr "Désolé,une erreur est survenue. Merci de réessayer ou de vérifier que les droit d'accès du dossier\"geoip\" sont mis sur 777."
389
+
390
+ #@ cpd
391
+ #: geoip/geoip.php:108
392
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
393
+ msgstr "Désolé, les fontions necéssaires (zlib) ne sont pas installés ou activés dans php.ini."
394
+
395
+ #@ cpd
396
+ #: counter-options.php:261
397
+ msgid "Countries"
398
+ msgstr "Pays"
399
+
400
+ #@ cpd
401
+ #: counter-options.php:262
402
+ msgid "How many countries do you want to see on dashboard page?"
403
+ msgstr "Combien de pays voulez-vous voir sur la page tableau de bord?"
404
+
405
+ #@ cpd
406
+ #: counter-options.php:104
407
+ #, php-format
408
+ msgid "Mass Bots cleaned. %s counts deleted."
409
+ msgstr "Robots nettoyés en masse. %s comptes supprimés."
410
+
411
+ #@ cpd
412
+ #: counter-options.php:386
413
+ #: massbots.php:33
414
+ msgid "Mass Bots"
415
+ msgstr "Robots en masse"
416
+
417
+ #@ cpd
418
+ #: counter-options.php:390
419
+ #, php-format
420
+ msgid "Show all IPs with more than %s page views per day"
421
+ msgstr "Afficher toutes les adresses IP avec plus de %s pages vues par jour"
422
+
423
+ #@ cpd
424
+ #: counter-options.php:391
425
+ #: notes.php:76
426
+ #: userperspan.php:43
427
+ msgid "show"
428
+ msgstr "montrer"
429
+
430
+ #@ cpd
431
+ #: counter-options.php:413
432
+ #: counter-options.php:435
433
+ #, php-format
434
+ msgid "Delete these %s counts"
435
+ msgstr "Supprimer ces %s comptes"
436
+
437
+ #@ cpd
438
+ #: counter.php:1421
439
+ msgid "Other"
440
+ msgstr "Autre"
441
+
442
+ #@ default
443
+ #: counter.php:1520
444
+ #: massbots.php:50
445
+ #: userperspan.php:63
446
+ msgid "Front page displays"
447
+ msgstr "Page d'accueil affiche"
448
+
449
+ #@ cpd
450
+ #: counter-options.php:266
451
+ #: counter.php:1760
452
+ msgid "Browsers"
453
+ msgstr "Navigateurs"
454
+
455
+ #@ cpd
456
+ #: counter-options.php:399
457
+ msgid "IP"
458
+ msgstr "IP"
459
+
460
+ #@ cpd
461
+ #@ default
462
+ #: counter-options.php:400
463
+ #: notes.php:80
464
+ msgid "Date"
465
+ msgstr "Date"
466
+
467
+ #@ cpd
468
+ #: counter-options.php:401
469
+ msgid "Client"
470
+ msgstr "Client"
471
+
472
+ #@ cpd
473
+ #: counter-options.php:402
474
+ msgid "Views"
475
+ msgstr "Vues"
476
+
477
+ #@ cpd
478
+ #: counter-options.php:299
479
+ msgid "Start Values"
480
+ msgstr "Valeurs de départ"
481
+
482
+ #@ cpd
483
+ #: counter-options.php:303
484
+ msgid "Here you can change the date of first count and add a start count."
485
+ msgstr "Ici vous pouvez changer la date du premier compte et d'ajouter une date de départ."
486
+
487
+ #@ cpd
488
+ #: counter-options.php:307
489
+ msgid "Start date"
490
+ msgstr "Date de départ"
491
+
492
+ #@ cpd
493
+ #: counter-options.php:308
494
+ msgid "Your old Counter starts at?"
495
+ msgstr "Votre vieux compteur commence à?"
496
+
497
+ #@ cpd
498
+ #: counter-options.php:311
499
+ #: counter-options.php:315
500
+ msgid "Start count"
501
+ msgstr "Commencer le compte"
502
+
503
+ #@ cpd
504
+ #: counter-options.php:312
505
+ msgid "Add this value to \"Total visitors\"."
506
+ msgstr "Ajouter cette valeur à \"visiteurs totals\"."
507
+
508
+ #@ cpd
509
+ #: counter-options.php:504
510
+ msgid "Support"
511
+ msgstr "Support"
512
+
513
+ #@ cpd
514
+ #: counter.php:1717
515
+ msgid "Bug? Problem? Question? Hint? Praise?"
516
+ msgstr "Bug? Problème? Question? Allusion? Hommage?"
517
+
518
+ #@ cpd
519
+ #: counter.php:1718
520
+ #, php-format
521
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
522
+ msgstr "Poster un commentaire sur <a href=\"%s\">la page du plugin</a>. (En Anglais)"
523
+
524
+ #@ default
525
+ #: counter.php:1374
526
+ msgid "Show"
527
+ msgstr "Montrer"
528
+
529
+ #@ default
530
+ #: counter.php:1505
531
+ msgid "Edit Post"
532
+ msgstr "Editer"
533
+
534
+ #@ cpd
535
+ #: counter.php:1716
536
+ #, php-format
537
+ msgid "Time for Count per Day: <code>%s</code>."
538
+ msgstr "Temps pour Count Per Day: <code>%s</code>."
539
+
540
+ #@ cpd
541
+ #: counter-options.php:197
542
+ msgid "until User Level"
543
+ msgstr "jusqu'au niveau de l'utilisateur"
544
+
545
+ #@ default
546
+ #: counter.php:1757
547
+ msgid "Plugin"
548
+ msgstr "Plugin"
549
+
550
+ #@ cpd
551
+ #: counter.php:822
552
+ #: counter.php:1376
553
+ #: notes.php:47
554
+ #: notes.php:81
555
+ msgid "Notes"
556
+ msgstr "Notes"
557
+
558
+ #@ default
559
+ #: notes.php:82
560
+ msgid "Action"
561
+ msgstr "Action"
562
+
563
+ #@ cpd
564
+ #: notes.php:87
565
+ msgid "add"
566
+ msgstr "ajouter"
567
+
568
+ #@ cpd
569
+ #: notes.php:102
570
+ msgid "save"
571
+ msgstr "sauvegarder"
572
+
573
+ #@ cpd
574
+ #: notes.php:103
575
+ msgid "delete"
576
+ msgstr "supprimer"
577
+
578
+ #@ cpd
579
+ #: notes.php:114
580
+ msgid "edit"
581
+ msgstr "éditer"
582
+
583
+ #@ cpd
584
+ #: notes.php:81
585
+ msgid "(1 per day)"
586
+ msgstr "(1 par jour)"
587
+
588
+ #@ cpd
589
+ #: counter-options.php:316
590
+ msgid "Add this value to \"Total reads\"."
591
+ msgstr "Ajouter cette valeur à \"Lectures totales\"."
592
+
593
+ #@ cpd
594
+ #: counter.php:524
595
+ #: counter.php:2219
596
+ msgid "Total reads"
597
+ msgstr "Lectures totales"
598
+
599
+ #@ cpd
600
+ #: counter.php:525
601
+ #: counter.php:2220
602
+ msgid "Reads today"
603
+ msgstr "Lectures aujourd'hui"
604
+
605
+ #@ cpd
606
+ #: counter.php:526
607
+ #: counter.php:2221
608
+ msgid "Reads yesterday"
609
+ msgstr "Lectures hier"
610
+
611
+ #@ cpd
612
+ #: counter-options.php:216
613
+ msgid "Anonymous IP"
614
+ msgstr "Adresse IP Anonyme"
615
+
616
+ #@ cpd
617
+ #: counter-options.php:220
618
+ msgid "Cache"
619
+ msgstr "Cache"
620
+
621
+ #@ cpd
622
+ #: counter-options.php:221
623
+ msgid "I use a cache plugin. Count these visits with ajax."
624
+ msgstr "J'utilise un plugin de cache. Comptez ces visites avec ajax."
625
+
626
+ #@ cpd
627
+ #: counter-options.php:267
628
+ msgid "Substring of the user agent, separated by comma"
629
+ msgstr "Sous-Chaine des \"user agent\", séparé par des virgules"
630
+
631
+ #@ cpd
632
+ #: counter-options.php:324
633
+ msgid "Debug mode"
634
+ msgstr "Mode Debug"
635
+
636
+ #@ cpd
637
+ #: counter-options.php:326
638
+ msgid "Show debug informations at the bottom of all pages."
639
+ msgstr "Afficher les informations de débogage au bas de toutes les pages."
640
+
641
+ #@ cpd
642
+ #: counter.php:1771
643
+ msgid "Visitors per Country"
644
+ msgstr "Visiteurs par Pays"
645
+
646
+ #@ cpd
647
+ #: counter.php:900
648
+ #: counter.php:1856
649
+ msgid "Map"
650
+ msgstr "Carte"
651
+
652
+ #@ cpd
653
+ #: userperspan.php:37
654
+ msgid "Start"
655
+ msgstr "Début"
656
+
657
+ #@ cpd
658
+ #: userperspan.php:39
659
+ msgid "End"
660
+ msgstr "Fin"
661
+
662
+ #@ cpd
663
+ #: userperspan.php:41
664
+ msgid "PostID"
665
+ msgstr "PostID"
666
+
667
+ #@ cpd
668
+ #: userperspan.php:49
669
+ msgid "no data found"
670
+ msgstr "aucune donnée trouvée"
671
+
672
+ #@ cpd
673
+ #: counter-options.php:352
674
+ 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!"
675
+ msgstr "Vous pouvez obtenir les données par pays pour toutes les entrées dans la base de données bei vérifier l'adresse IP à nouveau GeoIP base de données. Ceci peut prendre un certain temps!"
676
+
677
+ #@ cpd
678
+ #: counter-options.php:186
679
+ msgid "Counter"
680
+ msgstr "Compteur"
681
+
682
+ #@ cpd
683
+ #: counter-options.php:224
684
+ msgid "Clients and referrers"
685
+ msgstr "Clients et Référents"
686
+
687
+ #@ cpd
688
+ #: counter-options.php:225
689
+ 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."
690
+ msgstr "Enregistrer et afficher les clients et les référents.<br />Besoin de beaucoup d'espace dans la base de données, mais vous donne des informations plus détaillées de vos visiteurs."
691
+
692
+ #@ cpd
693
+ #: counter-options.php:278
694
+ msgid "Local URLs"
695
+ msgstr "Liens Locals"
696
+
697
+ #@ cpd
698
+ #: counter-options.php:279
699
+ msgid "Show local referrers too."
700
+ msgstr "Montrer les référents locals également."
701
+
702
+ #@ default
703
+ #: counter-options.php:287
704
+ msgid "Posts"
705
+ msgstr "Articles"
706
+
707
+ #@ default
708
+ #: counter-options.php:287
709
+ msgid "Pages"
710
+ msgstr "Pages"
711
+
712
+ #@ cpd
713
+ #: counter.php:527
714
+ #: counter.php:2222
715
+ msgid "Reads last week"
716
+ msgstr "Lectures - Semaine Dernière"
717
+
718
+ #@ default
719
+ #: counter.php:1514
720
+ msgid "Category"
721
+ msgstr "Catégorie"
722
+
723
+ #@ default
724
+ #: counter.php:1517
725
+ msgid "Tag"
726
+ msgstr "Tag"
727
+
728
+ #@ default
729
+ #: counter.php:1719
730
+ msgid "License"
731
+ msgstr "License"
732
+
733
+ #@ cpd
734
+ #: counter.php:1753
735
+ #: counter.php:2223
736
+ msgid "Reads per month"
737
+ msgstr "Lectures par mois"
738
+
739
+ #@ cpd
740
+ #: counter.php:1761
741
+ msgid "Referrer"
742
+ msgstr "Référent"
743
+
744
+ #@ default
745
+ #: counter.php:2242
746
+ msgid "Title"
747
+ msgstr "Titre"
748
+
749
+ #@ cpd
750
+ #: counter-options.php:256
751
+ msgid "Old Charts"
752
+ msgstr "Anciennes Charts"
753
+
754
+ #@ cpd
755
+ #: counter-options.php:257
756
+ msgid "Show old bar charts."
757
+ msgstr "Afficher l'ancienne barre cartes"
758
+
759
+ #@ cpd
760
+ #: counter-options.php:270
761
+ msgid "Referrers - Entries"
762
+ msgstr "Référents - Entrées"
763
+
764
+ #@ cpd
765
+ #: counter-options.php:271
766
+ msgid "How many referrers do you want to see on dashboard page?"
767
+ msgstr "Combien de référents voulez-vous voir sur la page d'accueil?"
768
+
769
+ #@ cpd
770
+ #: counter-options.php:274
771
+ msgid "Referrers - Days"
772
+ msgstr "Référents - Jours"
773
+
774
+ #@ cpd
775
+ #: counter.php:1449
776
+ #, php-format
777
+ msgid "The %s referrers in last %s days:"
778
+ msgstr "Les %s référents des %s derniers jours:"
779
+
780
+ #@ cpd
781
+ #: counter.php:1751
782
+ msgid "Visitors online"
783
+ msgstr "Visiteurs en ligne"
784
+
locale/cpd-it_IT.mo ADDED
Binary file
locale/cpd-it_IT.po ADDED
@@ -0,0 +1,784 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count per Day in italiano\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-11-02 12:13+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Gianni Diurno (aka gidibao) <gidibao[at]gmail[dot]com>\n"
8
+ "Language-Team: Gianni Diurno | gidibao.net <gidibao[at]gmail[dot]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-Poedit-Language: Italian\n"
14
+ "X-Poedit-Country: ITALY\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
+ "X-Poedit-Basepath: P:/xampp/htdocs/wp/wp-content/plugins/count-per-day\n"
18
+ "X-Textdomain-Support: yes\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ #@ cpd
22
+ #: counter-options.php:46
23
+ msgid "Options updated"
24
+ msgstr "Le opzioni sono state aggiornate"
25
+
26
+ #@ cpd
27
+ #: counter-options.php:111
28
+ #, php-format
29
+ msgid "Database cleaned. %s rows deleted."
30
+ msgstr "Database svuotato. %s record cancellato."
31
+
32
+ #@ cpd
33
+ #: counter-options.php:121
34
+ #: counter-options.php:496
35
+ msgid "UNINSTALL Count per Day"
36
+ msgstr "DISINSTALLA Count per Day"
37
+
38
+ #@ cpd
39
+ #: counter-options.php:126
40
+ #: counter-options.php:128
41
+ #: counter-options.php:130
42
+ #, php-format
43
+ msgid "Table %s deleted"
44
+ msgstr "La tabella %s é stata cancellata"
45
+
46
+ #@ cpd
47
+ #: counter-options.php:132
48
+ msgid "Options deleted"
49
+ msgstr "Le opzioni sono state cancellate"
50
+
51
+ #@ cpd
52
+ #: counter-options.php:156
53
+ #: counter-options.php:481
54
+ msgid "Uninstall"
55
+ msgstr "Disinstalla"
56
+
57
+ #@ cpd
58
+ #: counter-options.php:157
59
+ msgid "Click here"
60
+ msgstr "Clicca qui"
61
+
62
+ #@ cpd
63
+ #: counter-options.php:157
64
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
65
+ msgstr "per completare la disinstallazione e disattivare \"Count per Day\"."
66
+
67
+ #@ cpd
68
+ #: counter-options.php:179
69
+ msgid "Options"
70
+ msgstr "Opzioni"
71
+
72
+ #@ cpd
73
+ #: counter-options.php:190
74
+ msgid "Online time"
75
+ msgstr "Durata del collegamento"
76
+
77
+ #@ cpd
78
+ #: counter-options.php:191
79
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
80
+ msgstr "Secondi per il counter online. In uso per \"Visitatori in linea\" nella Bacheca."
81
+
82
+ #@ cpd
83
+ #: counter-options.php:194
84
+ msgid "Logged on Users"
85
+ msgstr "Utenti accreditati"
86
+
87
+ #@ cpd
88
+ #: counter-options.php:196
89
+ msgid "count too"
90
+ msgstr "conteggia anche loro"
91
+
92
+ #@ cpd
93
+ #: counter-options.php:208
94
+ msgid "Auto counter"
95
+ msgstr "Contatore-automatico"
96
+
97
+ #@ cpd
98
+ #: counter-options.php:209
99
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
100
+ msgstr "Conta in automatico i singoli articoli e le pagine. Non é necessaria alcuna modifica del template."
101
+
102
+ #@ cpd
103
+ #: counter-options.php:212
104
+ msgid "Bots to ignore"
105
+ msgstr "Bots da ignorare"
106
+
107
+ #@ cpd
108
+ #: counter-options.php:331
109
+ msgid "Update options"
110
+ msgstr "Aggiorna le opzioni"
111
+
112
+ #@ cpd
113
+ #: counter-options.php:445
114
+ #: counter-options.php:454
115
+ msgid "Clean the database"
116
+ msgstr "Svuota il database"
117
+
118
+ #@ cpd
119
+ #: counter-options.php:448
120
+ 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."
121
+ msgstr "Puoi svuotare la tabella del contatore dai \"dati spam\".<br />Aggiungendo dei nuovi bots sopra ai vecchi \"dati spam\" conservati nel database.<br />Qui tu puoi avviare nuovamente il filtro per i bot e cancellare le visite dei bots."
122
+
123
+ #@ cpd
124
+ #: counter-options.php:484
125
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
126
+ msgstr "La disattivazione in sé di \"Count per Day\" non cancellerà le tabelle del database."
127
+
128
+ #@ cpd
129
+ #: counter-options.php:485
130
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
131
+ msgstr "Qui potrai cancellare le tabelle e disattivare \"Count per Day\"."
132
+
133
+ #@ cpd
134
+ #: counter-options.php:488
135
+ msgid "WARNING"
136
+ msgstr "ATTENZIONE"
137
+
138
+ #@ cpd
139
+ #: counter-options.php:489
140
+ msgid "These tables (with ALL counter data) will be deleted."
141
+ msgstr "Queste tabelle (compresi TUTTI i dati) saranno cancellate."
142
+
143
+ #@ cpd
144
+ #: counter-options.php:491
145
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
146
+ msgstr "Qualora desiderassi re-installare \"Count per Day\", ricordati che il contatore ripartirà da 0."
147
+
148
+ #@ cpd
149
+ #: counter-options.php:495
150
+ msgid "Yes"
151
+ msgstr "Sì"
152
+
153
+ #@ cpd
154
+ #: counter-options.php:496
155
+ msgid "You are sure to disable Count per Day and delete all data?"
156
+ msgstr "Sei certo di volere disattivare Count per Day e cancellare tutti i dati?"
157
+
158
+ #@ cpd
159
+ #: counter.php:1786
160
+ #: counter.php:2147
161
+ msgid "Statistics"
162
+ msgstr "Satistiche"
163
+
164
+ #@ cpd
165
+ #: counter.php:529
166
+ #: counter.php:534
167
+ #: counter.php:1604
168
+ #: counter.php:1750
169
+ #: counter.php:2224
170
+ msgid "Total visitors"
171
+ msgstr "Totale visitatori"
172
+
173
+ #@ cpd
174
+ #: counter.php:530
175
+ #: counter.php:2230
176
+ msgid "Visitors currently online"
177
+ msgstr "Utenti attualmente in linea"
178
+
179
+ #@ cpd
180
+ #: counter.php:531
181
+ #: counter.php:2225
182
+ msgid "Visitors today"
183
+ msgstr "Oggi"
184
+
185
+ #@ cpd
186
+ #: counter.php:532
187
+ #: counter.php:2226
188
+ msgid "Visitors yesterday"
189
+ msgstr "Ieri"
190
+
191
+ #@ cpd
192
+ #: counter.php:533
193
+ #: counter.php:2227
194
+ msgid "Visitors last week"
195
+ msgstr "La scorsa settimana"
196
+
197
+ #@ cpd
198
+ #: counter.php:536
199
+ #: counter.php:2231
200
+ msgid "Counter starts on"
201
+ msgstr "Il contatore parte dal"
202
+
203
+ #@ cpd
204
+ #: counter.php:535
205
+ #: counter.php:636
206
+ #: counter.php:1606
207
+ #: counter.php:1756
208
+ #: counter.php:1765
209
+ #: counter.php:2229
210
+ #: userperspan.php:33
211
+ msgid "Visitors per day"
212
+ msgstr "Visitatori per giorno"
213
+
214
+ #@ cpd
215
+ #: counter.php:1752
216
+ #: counter.php:2228
217
+ msgid "Visitors per month"
218
+ msgstr "Visitatori per mese"
219
+
220
+ #@ cpd
221
+ #: counter-options.php:236
222
+ #: counter.php:1754
223
+ msgid "Visitors per post"
224
+ msgstr "Visitatori per articolo"
225
+
226
+ #@ cpd
227
+ #: counter-options.php:117
228
+ msgid "Counter reseted."
229
+ msgstr "Il contatore é stato azzerato."
230
+
231
+ #@ cpd
232
+ #: counter-options.php:237
233
+ #: counter-options.php:241
234
+ msgid "How many posts do you want to see on dashboard page?"
235
+ msgstr "Quanti articoli desideri siano visibili nella bacheca?"
236
+
237
+ #@ cpd
238
+ #: counter-options.php:240
239
+ msgid "Latest Counts - Posts"
240
+ msgstr "Totale corrente - Articoli"
241
+
242
+ #@ cpd
243
+ #: counter-options.php:244
244
+ msgid "Latest Counts - Days"
245
+ msgstr "Totale corrente - pagine"
246
+
247
+ #@ cpd
248
+ #: counter-options.php:245
249
+ #: counter-options.php:249
250
+ #: counter-options.php:275
251
+ msgid "How many days do you want look back?"
252
+ msgstr "Quanti giorni desideri visionare a ritroso?"
253
+
254
+ #@ cpd
255
+ #: counter-options.php:290
256
+ msgid "Show in lists"
257
+ msgstr "Mostra nelle liste"
258
+
259
+ #@ cpd
260
+ #: counter-options.php:291
261
+ msgid "Show \"Reads per Post\" in a new column in post management views."
262
+ msgstr "Mostra \"Letture per articolo\" in una nuova colonna nella sezione gestione degli articoli."
263
+
264
+ #@ cpd
265
+ #: counter-options.php:463
266
+ #: counter-options.php:472
267
+ msgid "Reset the counter"
268
+ msgstr "Azzera il contatore"
269
+
270
+ #@ cpd
271
+ #: counter-options.php:466
272
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
273
+ msgstr "Puoi azzerare il contatore svuotando la tabella. ALL TO 0!<br />Effettua il backup!"
274
+
275
+ #@ cpd
276
+ #: counter.php:1257
277
+ #, php-format
278
+ msgid "The %s most visited posts in last %s days:"
279
+ msgstr "I %s articoli più letti negli ultimi %s giorni:"
280
+
281
+ #@ default
282
+ #: counter.php:1591
283
+ msgid "Settings"
284
+ msgstr "Impostazioni"
285
+
286
+ #@ cpd
287
+ #: counter-options.php:225
288
+ #: counter.php:528
289
+ #: counter.php:1661
290
+ msgid "Reads"
291
+ msgstr "Visitatori"
292
+
293
+ #@ cpd
294
+ #: counter.php:1755
295
+ msgid "Latest Counts"
296
+ msgstr "Totale corrente"
297
+
298
+ #@ cpd
299
+ #: counter-options.php:248
300
+ msgid "Chart - Days"
301
+ msgstr "Diagramma - Giorni"
302
+
303
+ #@ cpd
304
+ #: counter-options.php:252
305
+ msgid "Chart - Height"
306
+ msgstr "Diagramma - Altezza"
307
+
308
+ #@ cpd
309
+ #: counter-options.php:253
310
+ msgid "Height of the biggest bar"
311
+ msgstr "Altezza della categoria maggiore"
312
+
313
+ #@ cpd
314
+ #: counter.php:845
315
+ msgid "no reads at this time"
316
+ msgstr "nessun lettura in questo momento"
317
+
318
+ #@ cpd
319
+ #: counter.php:819
320
+ msgid "days"
321
+ msgstr "giorni"
322
+
323
+ #@ cpd
324
+ #: counter.php:2218
325
+ msgid "This post"
326
+ msgstr "Questo articolo"
327
+
328
+ #@ default
329
+ #: counter-options.php:233
330
+ msgid "Dashboard"
331
+ msgstr "Bacheca"
332
+
333
+ #@ cpd
334
+ #: counter.php:635
335
+ #: counter.php:1766
336
+ msgid "Reads per day"
337
+ msgstr "Letture per giorno"
338
+
339
+ #@ cpd
340
+ #: counter-options.php:57
341
+ #, php-format
342
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
343
+ msgstr "Gli stati sono stati aggiornati. <b>%s</b> pubblicazioni in %s senza stato"
344
+
345
+ #@ cpd
346
+ #: counter-options.php:62
347
+ msgid "update next"
348
+ msgstr "aggiorna il prossimo"
349
+
350
+ #@ cpd
351
+ #: counter-options.php:340
352
+ msgid "GeoIP - Countries"
353
+ msgstr "GeoIP - Stati"
354
+
355
+ #@ cpd
356
+ #: counter-options.php:349
357
+ msgid "Update old counter data"
358
+ msgstr "Aggiorna i vecchi dati per gli stati"
359
+
360
+ #@ cpd
361
+ #: counter-options.php:362
362
+ msgid "Update GeoIP database"
363
+ msgstr "Aggiorna database GeoIP"
364
+
365
+ #@ cpd
366
+ #: counter-options.php:365
367
+ msgid "Download a new version of GeoIP.dat file."
368
+ msgstr "Scarica la nuova versione del file GeoIP.dat."
369
+
370
+ #@ cpd
371
+ #: counter-options.php:371
372
+ msgid "More informations about GeoIP"
373
+ msgstr "Informazioni su GeoIP"
374
+
375
+ #@ cpd
376
+ #: counter.php:1770
377
+ msgid "Reads per Country"
378
+ msgstr "Letture per stato"
379
+
380
+ #@ cpd
381
+ #: geoip/geoip.php:132
382
+ msgid "New GeoIP database installed."
383
+ msgstr "Il nuovo database GeoIP é stato installato."
384
+
385
+ #@ cpd
386
+ #: geoip/geoip.php:134
387
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
388
+ msgstr "Si é verificato un errore. Riprova oppure verifica che i permessi della cartella \"geoip\" siano impostati a 777."
389
+
390
+ #@ cpd
391
+ #: geoip/geoip.php:108
392
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
393
+ msgstr "La funzione (zlib) non é stata installata oppure non attiva in php.ini."
394
+
395
+ #@ cpd
396
+ #: counter-options.php:261
397
+ msgid "Countries"
398
+ msgstr "Stati"
399
+
400
+ #@ cpd
401
+ #: counter-options.php:262
402
+ msgid "How many countries do you want to see on dashboard page?"
403
+ msgstr "Quanti stati desideri siano visibili nella bacheca?"
404
+
405
+ #@ cpd
406
+ #: counter-options.php:104
407
+ #, php-format
408
+ msgid "Mass Bots cleaned. %s counts deleted."
409
+ msgstr "Mass Bots svuotato. %s totali cancellati."
410
+
411
+ #@ cpd
412
+ #: counter-options.php:386
413
+ #: massbots.php:33
414
+ msgid "Mass Bots"
415
+ msgstr "Mass Bots"
416
+
417
+ #@ cpd
418
+ #: counter-options.php:390
419
+ #, php-format
420
+ msgid "Show all IPs with more than %s page views per day"
421
+ msgstr "Mostra tutti gli IP con più di %s pagine visualizzate al giorno"
422
+
423
+ #@ cpd
424
+ #: counter-options.php:391
425
+ #: notes.php:76
426
+ #: userperspan.php:43
427
+ msgid "show"
428
+ msgstr "mostra"
429
+
430
+ #@ cpd
431
+ #: counter-options.php:413
432
+ #: counter-options.php:435
433
+ #, php-format
434
+ msgid "Delete these %s counts"
435
+ msgstr "Cancella questi %s totali"
436
+
437
+ #@ cpd
438
+ #: counter.php:1421
439
+ msgid "Other"
440
+ msgstr "Altro"
441
+
442
+ #@ default
443
+ #: counter.php:1520
444
+ #: massbots.php:50
445
+ #: userperspan.php:63
446
+ msgid "Front page displays"
447
+ msgstr "Mostra nella front page"
448
+
449
+ #@ cpd
450
+ #: counter-options.php:266
451
+ #: counter.php:1760
452
+ msgid "Browsers"
453
+ msgstr "Browser"
454
+
455
+ #@ cpd
456
+ #: counter-options.php:399
457
+ msgid "IP"
458
+ msgstr "IP"
459
+
460
+ #@ cpd
461
+ #@ default
462
+ #: counter-options.php:400
463
+ #: notes.php:80
464
+ msgid "Date"
465
+ msgstr "Data"
466
+
467
+ #@ cpd
468
+ #: counter-options.php:401
469
+ msgid "Client"
470
+ msgstr "Client"
471
+
472
+ #@ cpd
473
+ #: counter-options.php:402
474
+ msgid "Views"
475
+ msgstr "Visualizzazioni"
476
+
477
+ #@ cpd
478
+ #: counter-options.php:299
479
+ msgid "Start Values"
480
+ msgstr "Valori di partenza"
481
+
482
+ #@ cpd
483
+ #: counter-options.php:303
484
+ msgid "Here you can change the date of first count and add a start count."
485
+ msgstr "Puoi modificare la data del primo conteggio ed avviare un conteggio di partenza."
486
+
487
+ #@ cpd
488
+ #: counter-options.php:307
489
+ msgid "Start date"
490
+ msgstr "Data di inizio"
491
+
492
+ #@ cpd
493
+ #: counter-options.php:308
494
+ msgid "Your old Counter starts at?"
495
+ msgstr "Il vecchio contatore parte da?"
496
+
497
+ #@ cpd
498
+ #: counter-options.php:311
499
+ #: counter-options.php:315
500
+ msgid "Start count"
501
+ msgstr "Avvia conteggio"
502
+
503
+ #@ cpd
504
+ #: counter-options.php:312
505
+ msgid "Add this value to \"Total visitors\"."
506
+ msgstr "Aggiungi questo valore a \"Totale visitatori\"."
507
+
508
+ #@ cpd
509
+ #: counter-options.php:504
510
+ msgid "Support"
511
+ msgstr "Supporto"
512
+
513
+ #@ cpd
514
+ #: counter.php:1717
515
+ msgid "Bug? Problem? Question? Hint? Praise?"
516
+ msgstr "Bug? Problemi? Domande? Suggerimenti? Elogi?"
517
+
518
+ #@ cpd
519
+ #: counter.php:1718
520
+ #, php-format
521
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
522
+ msgstr "Invia un commento nella <a href=\"%s\">pagina del plugin</a>."
523
+
524
+ #@ default
525
+ #: counter.php:1374
526
+ msgid "Show"
527
+ msgstr "Mostra"
528
+
529
+ #@ default
530
+ #: counter.php:1505
531
+ msgid "Edit Post"
532
+ msgstr "modifica articolo"
533
+
534
+ #@ cpd
535
+ #: counter.php:1716
536
+ #, php-format
537
+ msgid "Time for Count per Day: <code>%s</code>."
538
+ msgstr "Fuso orario Count per Day: <code>%s</code>."
539
+
540
+ #@ cpd
541
+ #: counter-options.php:197
542
+ msgid "until User Level"
543
+ msgstr "sino a livello utente"
544
+
545
+ #@ default
546
+ #: counter.php:1757
547
+ msgid "Plugin"
548
+ msgstr "Plugin"
549
+
550
+ #@ cpd
551
+ #: counter.php:822
552
+ #: counter.php:1376
553
+ #: notes.php:47
554
+ #: notes.php:81
555
+ msgid "Notes"
556
+ msgstr "Note"
557
+
558
+ #@ default
559
+ #: notes.php:82
560
+ msgid "Action"
561
+ msgstr "Azione"
562
+
563
+ #@ cpd
564
+ #: notes.php:87
565
+ msgid "add"
566
+ msgstr "aggiungi"
567
+
568
+ #@ cpd
569
+ #: notes.php:102
570
+ msgid "save"
571
+ msgstr "salva"
572
+
573
+ #@ cpd
574
+ #: notes.php:103
575
+ msgid "delete"
576
+ msgstr "cancella"
577
+
578
+ #@ cpd
579
+ #: notes.php:114
580
+ msgid "edit"
581
+ msgstr "modifica"
582
+
583
+ #@ cpd
584
+ #: notes.php:81
585
+ msgid "(1 per day)"
586
+ msgstr "(1 al giorno)"
587
+
588
+ #@ cpd
589
+ #: counter-options.php:316
590
+ msgid "Add this value to \"Total reads\"."
591
+ msgstr "Aggiungi questo valore a \"Totale letture\"."
592
+
593
+ #@ cpd
594
+ #: counter.php:524
595
+ #: counter.php:2219
596
+ msgid "Total reads"
597
+ msgstr "Totale letture"
598
+
599
+ #@ cpd
600
+ #: counter.php:525
601
+ #: counter.php:2220
602
+ msgid "Reads today"
603
+ msgstr "Letture odierne"
604
+
605
+ #@ cpd
606
+ #: counter.php:526
607
+ #: counter.php:2221
608
+ msgid "Reads yesterday"
609
+ msgstr "Letture di ieri"
610
+
611
+ #@ cpd
612
+ #: counter.php:900
613
+ #: counter.php:1856
614
+ msgid "Map"
615
+ msgstr "Mappa"
616
+
617
+ #@ cpd
618
+ #: counter-options.php:216
619
+ msgid "Anonymous IP"
620
+ msgstr "IP anonimo"
621
+
622
+ #@ cpd
623
+ #: counter-options.php:220
624
+ msgid "Cache"
625
+ msgstr "Cache"
626
+
627
+ #@ cpd
628
+ #: counter-options.php:221
629
+ msgid "I use a cache plugin. Count these visits with ajax."
630
+ msgstr "Uso un plugin per la cache. Conteggia le visite via ajax."
631
+
632
+ #@ cpd
633
+ #: counter-options.php:267
634
+ msgid "Substring of the user agent, separated by comma"
635
+ msgstr "Sub-stringa user agent, separa con una virgola"
636
+
637
+ #@ cpd
638
+ #: counter.php:1771
639
+ msgid "Visitors per Country"
640
+ msgstr "Visitatori per paese"
641
+
642
+ #@ cpd
643
+ #: counter-options.php:324
644
+ msgid "Debug mode"
645
+ msgstr "Modalità debug"
646
+
647
+ #@ cpd
648
+ #: counter-options.php:326
649
+ msgid "Show debug informations at the bottom of all pages."
650
+ msgstr "Mostra info debug al fondo di tutte le pagine."
651
+
652
+ #@ cpd
653
+ #: userperspan.php:37
654
+ msgid "Start"
655
+ msgstr "Inizio"
656
+
657
+ #@ cpd
658
+ #: userperspan.php:39
659
+ msgid "End"
660
+ msgstr "Termine"
661
+
662
+ #@ cpd
663
+ #: userperspan.php:41
664
+ msgid "PostID"
665
+ msgstr "ID articolo"
666
+
667
+ #@ cpd
668
+ #: userperspan.php:49
669
+ msgid "no data found"
670
+ msgstr "nessun dato trovato"
671
+
672
+ #@ cpd
673
+ #: counter-options.php:352
674
+ 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!"
675
+ msgstr "Potrai ottenere i nuovi dati verificando nuovamente l'indirizzo IP nel database di GeoIP. L'operazione richiederà alcuni minuti!"
676
+
677
+ #@ cpd
678
+ #: counter-options.php:186
679
+ msgid "Counter"
680
+ msgstr "Contatore"
681
+
682
+ #@ cpd
683
+ #: counter-options.php:278
684
+ msgid "Local URLs"
685
+ msgstr "URL locali"
686
+
687
+ #@ cpd
688
+ #: counter-options.php:279
689
+ msgid "Show local referrers too."
690
+ msgstr "Mostra anche i referenti locali."
691
+
692
+ #@ default
693
+ #: counter-options.php:287
694
+ msgid "Posts"
695
+ msgstr "Articoli"
696
+
697
+ #@ default
698
+ #: counter-options.php:287
699
+ msgid "Pages"
700
+ msgstr "Pagine"
701
+
702
+ #@ default
703
+ #: counter.php:1514
704
+ msgid "Category"
705
+ msgstr "Categoria"
706
+
707
+ #@ default
708
+ #: counter.php:1517
709
+ msgid "Tag"
710
+ msgstr "Tag"
711
+
712
+ #@ default
713
+ #: counter.php:1719
714
+ msgid "License"
715
+ msgstr "Licenza"
716
+
717
+ #@ cpd
718
+ #: counter.php:1761
719
+ msgid "Referrer"
720
+ msgstr "Referente"
721
+
722
+ #@ default
723
+ #: counter.php:2242
724
+ msgid "Title"
725
+ msgstr "Titolo"
726
+
727
+ #@ cpd
728
+ #: counter-options.php:225
729
+ 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."
730
+ msgstr "Salva e mostra client e referenti.<br />Necessita di molto spazio nel database ma ti offre delle maggiori informazioni sui tuoi visitatori."
731
+
732
+ #@ cpd
733
+ #: counter-options.php:224
734
+ msgid "Clients and referrers"
735
+ msgstr "Client e referenti"
736
+
737
+ #@ cpd
738
+ #: counter.php:527
739
+ #: counter.php:2222
740
+ msgid "Reads last week"
741
+ msgstr "Letture scorsa settimana"
742
+
743
+ #@ cpd
744
+ #: counter.php:1753
745
+ #: counter.php:2223
746
+ msgid "Reads per month"
747
+ msgstr "Letture scorso mese"
748
+
749
+ #@ cpd
750
+ #: counter-options.php:256
751
+ msgid "Old Charts"
752
+ msgstr "Diagrammi datati"
753
+
754
+ #@ cpd
755
+ #: counter-options.php:257
756
+ msgid "Show old bar charts."
757
+ msgstr "Mostra barra diagrammi datati."
758
+
759
+ #@ cpd
760
+ #: counter-options.php:270
761
+ msgid "Referrers - Entries"
762
+ msgstr "Referenti - Pubblicazioni"
763
+
764
+ #@ cpd
765
+ #: counter-options.php:271
766
+ msgid "How many referrers do you want to see on dashboard page?"
767
+ msgstr "Quanti referenti desideri vengano visualizzati nella bacheca?"
768
+
769
+ #@ cpd
770
+ #: counter-options.php:274
771
+ msgid "Referrers - Days"
772
+ msgstr "Referenti - Giorni"
773
+
774
+ #@ cpd
775
+ #: counter.php:1449
776
+ #, php-format
777
+ msgid "The %s referrers in last %s days:"
778
+ msgstr "I %s referenti degli ultimi %s giorni:"
779
+
780
+ #@ cpd
781
+ #: counter.php:1751
782
+ msgid "Visitors online"
783
+ msgstr "Visitatori online"
784
+
locale/cpd-nl_NL.mo ADDED
Binary file
locale/cpd-nl_NL.po ADDED
@@ -0,0 +1,784 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count per Day v2.16\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-11-02 12:13+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Rene <info@wpwebshop.com>\n"
8
+ "Language-Team: WPwebshop.com <info@wppg.me>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: Dutch\n"
14
+ "X-Poedit-Country: NETHERLANDS\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
+ "X-Poedit-Basepath: P:/xampp/htdocs/wp/wp-content/plugins/count-per-day\n"
18
+ "X-Textdomain-Support: yes\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ #@ cpd
22
+ #: counter-options.php:46
23
+ msgid "Options updated"
24
+ msgstr "Instellingen bijgewerkt"
25
+
26
+ #@ cpd
27
+ #: counter-options.php:111
28
+ #, php-format
29
+ msgid "Database cleaned. %s rows deleted."
30
+ msgstr "Database schoongemaakt. %s rijen verwijderd."
31
+
32
+ #@ cpd
33
+ #: counter-options.php:121
34
+ #: counter-options.php:496
35
+ msgid "UNINSTALL Count per Day"
36
+ msgstr "DEÏNSTALLEREN Count per Day"
37
+
38
+ #@ cpd
39
+ #: counter-options.php:126
40
+ #: counter-options.php:128
41
+ #: counter-options.php:130
42
+ #, php-format
43
+ msgid "Table %s deleted"
44
+ msgstr "eTabel %s verwijderd"
45
+
46
+ #@ cpd
47
+ #: counter-options.php:132
48
+ msgid "Options deleted"
49
+ msgstr "Opties verwijderd"
50
+
51
+ #@ cpd
52
+ #: counter-options.php:156
53
+ #: counter-options.php:481
54
+ msgid "Uninstall"
55
+ msgstr "Deinstallatie"
56
+
57
+ #@ cpd
58
+ #: counter-options.php:157
59
+ msgid "Click here"
60
+ msgstr "Klik hier"
61
+
62
+ #@ cpd
63
+ #: counter-options.php:157
64
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
65
+ msgstr "om de deinstallatie te beeindigen en \"Count per Day\" te deactiveren."
66
+
67
+ #@ cpd
68
+ #: counter-options.php:179
69
+ msgid "Options"
70
+ msgstr "Opties"
71
+
72
+ #@ cpd
73
+ #: counter-options.php:190
74
+ msgid "Online time"
75
+ msgstr "Tijd online"
76
+
77
+ #@ cpd
78
+ #: counter-options.php:191
79
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
80
+ msgstr "Seconden voor online teller. Gebruikt voor \"Bezoekers online\" op de dashboard pagina."
81
+
82
+ #@ cpd
83
+ #: counter-options.php:194
84
+ msgid "Logged on Users"
85
+ msgstr "Aangemelde Gebruikers"
86
+
87
+ #@ cpd
88
+ #: counter-options.php:196
89
+ msgid "count too"
90
+ msgstr "ook tellen"
91
+
92
+ #@ cpd
93
+ #: counter-options.php:208
94
+ msgid "Auto counter"
95
+ msgstr "Automatisch tellen"
96
+
97
+ #@ cpd
98
+ #: counter-options.php:209
99
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
100
+ msgstr "Telt automatisch enkelvoudige berichten en pagina's, geen veranderingen aan het thema nodig."
101
+
102
+ #@ cpd
103
+ #: counter-options.php:212
104
+ msgid "Bots to ignore"
105
+ msgstr "Bots te negeren"
106
+
107
+ #@ cpd
108
+ #: counter-options.php:331
109
+ msgid "Update options"
110
+ msgstr "Aktualiseren opties"
111
+
112
+ #@ cpd
113
+ #: counter-options.php:445
114
+ #: counter-options.php:454
115
+ msgid "Clean the database"
116
+ msgstr "Database schoonmaken"
117
+
118
+ #@ cpd
119
+ #: counter-options.php:448
120
+ 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."
121
+ msgstr "Je kan de teller tabel schoonmaken door de \"spam data\" te verwijderen.<br />Als je nieuwe bots toevoegt bovenop de oude blijft de \"spam data\" in de database.<br />Hier kun je het bot filter opnieuw starten en bezoeken van bots verwijderen."
122
+
123
+ #@ cpd
124
+ #: counter-options.php:484
125
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
126
+ msgstr "Wanneer \"Count per Day\" alleen gedeactiveerd wordt blijven de tabellen in de database behouden."
127
+
128
+ #@ cpd
129
+ #: counter-options.php:485
130
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
131
+ msgstr "Hier kan je \"Count per Day\" deinstalleren en de tabellen verwijderen."
132
+
133
+ #@ cpd
134
+ #: counter-options.php:488
135
+ msgid "WARNING"
136
+ msgstr "WAARSCHUWING"
137
+
138
+ #@ cpd
139
+ #: counter-options.php:489
140
+ msgid "These tables (with ALL counter data) will be deleted."
141
+ msgstr "Deze tabellen (met ALLE tellingen) worden verwijderd."
142
+
143
+ #@ cpd
144
+ #: counter-options.php:491
145
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
146
+ msgstr "Wanneer \"Count per Day\" opnieuw wordt geïnstalleerd start de teller op 0."
147
+
148
+ #@ cpd
149
+ #: counter-options.php:495
150
+ msgid "Yes"
151
+ msgstr "Ja"
152
+
153
+ #@ cpd
154
+ #: counter-options.php:496
155
+ msgid "You are sure to disable Count per Day and delete all data?"
156
+ msgstr "Ben je er zeker van om Count per Day uit te schakelen en alle data te verwijderen?"
157
+
158
+ #@ cpd
159
+ #: counter.php:1786
160
+ #: counter.php:2147
161
+ msgid "Statistics"
162
+ msgstr "Statistieken"
163
+
164
+ #@ cpd
165
+ #: counter.php:529
166
+ #: counter.php:534
167
+ #: counter.php:1604
168
+ #: counter.php:1750
169
+ #: counter.php:2224
170
+ msgid "Total visitors"
171
+ msgstr "Totaal aantal bezoekers"
172
+
173
+ #@ cpd
174
+ #: counter.php:530
175
+ #: counter.php:2230
176
+ msgid "Visitors currently online"
177
+ msgstr "Bezoekers op dit moment online"
178
+
179
+ #@ cpd
180
+ #: counter.php:531
181
+ #: counter.php:2225
182
+ msgid "Visitors today"
183
+ msgstr "Bezoekers vandaag"
184
+
185
+ #@ cpd
186
+ #: counter.php:532
187
+ #: counter.php:2226
188
+ msgid "Visitors yesterday"
189
+ msgstr "Bezoekers gisteren"
190
+
191
+ #@ cpd
192
+ #: counter.php:533
193
+ #: counter.php:2227
194
+ msgid "Visitors last week"
195
+ msgstr "Bezoekers vorige week"
196
+
197
+ #@ cpd
198
+ #: counter.php:536
199
+ #: counter.php:2231
200
+ msgid "Counter starts on"
201
+ msgstr "Teller start bij"
202
+
203
+ #@ cpd
204
+ #: counter.php:535
205
+ #: counter.php:636
206
+ #: counter.php:1606
207
+ #: counter.php:1756
208
+ #: counter.php:1765
209
+ #: counter.php:2229
210
+ #: userperspan.php:33
211
+ msgid "Visitors per day"
212
+ msgstr "Bezoekers per dag"
213
+
214
+ #@ cpd
215
+ #: counter.php:1752
216
+ #: counter.php:2228
217
+ msgid "Visitors per month"
218
+ msgstr "Bezoekers per maand"
219
+
220
+ #@ cpd
221
+ #: counter-options.php:236
222
+ #: counter.php:1754
223
+ msgid "Visitors per post"
224
+ msgstr "Bezoekers per bericht"
225
+
226
+ #@ cpd
227
+ #: counter-options.php:117
228
+ msgid "Counter reseted."
229
+ msgstr "Teller gereset"
230
+
231
+ #@ cpd
232
+ #: counter-options.php:237
233
+ #: counter-options.php:241
234
+ msgid "How many posts do you want to see on dashboard page?"
235
+ msgstr "Hoeveel berichten wil je zien op de dashboard pagina?"
236
+
237
+ #@ cpd
238
+ #: counter-options.php:240
239
+ msgid "Latest Counts - Posts"
240
+ msgstr "Laatste Tellingen - Berichten"
241
+
242
+ #@ cpd
243
+ #: counter-options.php:244
244
+ msgid "Latest Counts - Days"
245
+ msgstr "Laatste Tellingen - Dagen"
246
+
247
+ #@ cpd
248
+ #: counter-options.php:245
249
+ #: counter-options.php:249
250
+ #: counter-options.php:275
251
+ msgid "How many days do you want look back?"
252
+ msgstr "Hoeveel dagen wil je terugkijken?"
253
+
254
+ #@ cpd
255
+ #: counter-options.php:290
256
+ msgid "Show in lists"
257
+ msgstr "Laat in lijsten zien"
258
+
259
+ #@ cpd
260
+ #: counter-options.php:291
261
+ msgid "Show \"Reads per Post\" in a new column in post management views."
262
+ msgstr "Toon \"Leest per post\" in een nieuwe kolom in bericht impressies management."
263
+
264
+ #@ cpd
265
+ #: counter-options.php:463
266
+ #: counter-options.php:472
267
+ msgid "Reset the counter"
268
+ msgstr "Reset de teller"
269
+
270
+ #@ cpd
271
+ #: counter-options.php:466
272
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
273
+ msgstr "Je kan de teller resetten door de tabel leeg te maken. ALLES OP 0!<br/>Maak een backup als je de huidige data nodig hebt!"
274
+
275
+ #@ cpd
276
+ #: counter.php:1257
277
+ #, php-format
278
+ msgid "The %s most visited posts in last %s days:"
279
+ msgstr "De %s meest bezochte berichten in de laatste %s dagen:"
280
+
281
+ #@ default
282
+ #: counter.php:1591
283
+ msgid "Settings"
284
+ msgstr "Instellingen"
285
+
286
+ #@ cpd
287
+ #: counter-options.php:225
288
+ #: counter.php:528
289
+ #: counter.php:1661
290
+ msgid "Reads"
291
+ msgstr "Hits"
292
+
293
+ #@ cpd
294
+ #: counter.php:1755
295
+ msgid "Latest Counts"
296
+ msgstr "Laatste Tellingen"
297
+
298
+ #@ cpd
299
+ #: counter-options.php:248
300
+ msgid "Chart - Days"
301
+ msgstr "Grafiek - Dagen"
302
+
303
+ #@ cpd
304
+ #: counter-options.php:252
305
+ msgid "Chart - Height"
306
+ msgstr "Grafiek - Hoogte"
307
+
308
+ #@ cpd
309
+ #: counter-options.php:253
310
+ msgid "Height of the biggest bar"
311
+ msgstr "Hoogte van de grootste staaf"
312
+
313
+ #@ cpd
314
+ #: counter.php:845
315
+ msgid "no reads at this time"
316
+ msgstr "momenteel geen hits"
317
+
318
+ #@ cpd
319
+ #: counter.php:819
320
+ msgid "days"
321
+ msgstr "dagen"
322
+
323
+ #@ cpd
324
+ #: counter.php:2218
325
+ msgid "This post"
326
+ msgstr "Dit bericht"
327
+
328
+ #@ default
329
+ #: counter-options.php:233
330
+ msgid "Dashboard"
331
+ msgstr "Dashboard"
332
+
333
+ #@ cpd
334
+ #: counter.php:635
335
+ #: counter.php:1766
336
+ msgid "Reads per day"
337
+ msgstr "Hits per dag"
338
+
339
+ #@ cpd
340
+ #: counter-options.php:57
341
+ #, php-format
342
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
343
+ msgstr "Landen geactualiseerd. <b>%s</b> vermeldingen waarvan %s over zonder land"
344
+
345
+ #@ cpd
346
+ #: counter-options.php:62
347
+ msgid "update next"
348
+ msgstr "volgende aktualiseren"
349
+
350
+ #@ cpd
351
+ #: counter-options.php:340
352
+ msgid "GeoIP - Countries"
353
+ msgstr "GeoIP - Landen"
354
+
355
+ #@ cpd
356
+ #: counter-options.php:349
357
+ msgid "Update old counter data"
358
+ msgstr "Aktualiseren data van oude tellingen"
359
+
360
+ #@ cpd
361
+ #: counter-options.php:362
362
+ msgid "Update GeoIP database"
363
+ msgstr "Aktualiseren GeoIP databank"
364
+
365
+ #@ cpd
366
+ #: counter-options.php:365
367
+ msgid "Download a new version of GeoIP.dat file."
368
+ msgstr "Download een nieuwe versie van het GeoIP.dat bestand."
369
+
370
+ #@ cpd
371
+ #: counter-options.php:371
372
+ msgid "More informations about GeoIP"
373
+ msgstr "Meer informatie over GeoIP"
374
+
375
+ #@ cpd
376
+ #: counter.php:1770
377
+ msgid "Reads per Country"
378
+ msgstr "Hits per Land"
379
+
380
+ #@ cpd
381
+ #: geoip/geoip.php:132
382
+ msgid "New GeoIP database installed."
383
+ msgstr "Nieuwe GeoIP database geïnstalleerd."
384
+
385
+ #@ cpd
386
+ #: geoip/geoip.php:134
387
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
388
+ msgstr "Sorry, er is een fout opgetreden. Probeer het opnieuw of controleer of de toegangsrechten van de map \"geoip\" op 777 staan."
389
+
390
+ #@ cpd
391
+ #: geoip/geoip.php:108
392
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
393
+ msgstr "Sorry, noodzakelijke functies (zlib) zijn niet geïnstalleerd of ingeschakeld in php.ini."
394
+
395
+ #@ cpd
396
+ #: counter-options.php:261
397
+ msgid "Countries"
398
+ msgstr "Landen"
399
+
400
+ #@ cpd
401
+ #: counter-options.php:262
402
+ msgid "How many countries do you want to see on dashboard page?"
403
+ msgstr "Hoeveel landen wil je zien op de dashboard pagina?"
404
+
405
+ #@ cpd
406
+ #: counter-options.php:104
407
+ #, php-format
408
+ msgid "Mass Bots cleaned. %s counts deleted."
409
+ msgstr "Massa Bots schoongemaakt. %s tellingen verwijderd."
410
+
411
+ #@ cpd
412
+ #: counter-options.php:386
413
+ #: massbots.php:33
414
+ msgid "Mass Bots"
415
+ msgstr "Massa Bots"
416
+
417
+ #@ cpd
418
+ #: counter-options.php:390
419
+ #, php-format
420
+ msgid "Show all IPs with more than %s page views per day"
421
+ msgstr "Laat alle IP's zien met meer dan %s pagina hits per dag"
422
+
423
+ #@ cpd
424
+ #: counter-options.php:391
425
+ #: notes.php:76
426
+ #: userperspan.php:43
427
+ msgid "show"
428
+ msgstr "laat zien"
429
+
430
+ #@ cpd
431
+ #: counter-options.php:413
432
+ #: counter-options.php:435
433
+ #, php-format
434
+ msgid "Delete these %s counts"
435
+ msgstr "Verwijder deze %s tellingen"
436
+
437
+ #@ cpd
438
+ #: counter.php:1421
439
+ msgid "Other"
440
+ msgstr "Andere"
441
+
442
+ #@ default
443
+ #: counter.php:1520
444
+ #: massbots.php:50
445
+ #: userperspan.php:63
446
+ msgid "Front page displays"
447
+ msgstr "Voorpagina weergaves"
448
+
449
+ #@ cpd
450
+ #: counter-options.php:266
451
+ #: counter.php:1760
452
+ msgid "Browsers"
453
+ msgstr "Browser"
454
+
455
+ #@ cpd
456
+ #: counter-options.php:399
457
+ msgid "IP"
458
+ msgstr "IP"
459
+
460
+ #@ cpd
461
+ #@ default
462
+ #: counter-options.php:400
463
+ #: notes.php:80
464
+ msgid "Date"
465
+ msgstr "Datum"
466
+
467
+ #@ cpd
468
+ #: counter-options.php:401
469
+ msgid "Client"
470
+ msgstr "Browser"
471
+
472
+ #@ cpd
473
+ #: counter-options.php:402
474
+ msgid "Views"
475
+ msgstr "Hits"
476
+
477
+ #@ cpd
478
+ #: counter-options.php:299
479
+ msgid "Start Values"
480
+ msgstr "Beginwaarden"
481
+
482
+ #@ cpd
483
+ #: counter-options.php:303
484
+ msgid "Here you can change the date of first count and add a start count."
485
+ msgstr "Hier kun je de datum wijzigen van de eerste telling en de beginwaarde van de telling toevoegen."
486
+
487
+ #@ cpd
488
+ #: counter-options.php:307
489
+ msgid "Start date"
490
+ msgstr "Startdatum"
491
+
492
+ #@ cpd
493
+ #: counter-options.php:308
494
+ msgid "Your old Counter starts at?"
495
+ msgstr "Je oude teller start op?"
496
+
497
+ #@ cpd
498
+ #: counter-options.php:311
499
+ #: counter-options.php:315
500
+ msgid "Start count"
501
+ msgstr "Beginwaarde van de telling"
502
+
503
+ #@ cpd
504
+ #: counter-options.php:312
505
+ msgid "Add this value to \"Total visitors\"."
506
+ msgstr "Voeg deze waarde toe aan \"Totaal aantal bezoekers\"."
507
+
508
+ #@ cpd
509
+ #: counter-options.php:504
510
+ msgid "Support"
511
+ msgstr "Ondersteuning"
512
+
513
+ #@ cpd
514
+ #: counter.php:1717
515
+ msgid "Bug? Problem? Question? Hint? Praise?"
516
+ msgstr "Bug? Probleem? Vraag? Idee? Waarderen?"
517
+
518
+ #@ cpd
519
+ #: counter.php:1718
520
+ #, php-format
521
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
522
+ msgstr "Schrijf je commentaar op de <a href=\"%s\">plugin pagina</a>."
523
+
524
+ #@ default
525
+ #: counter.php:1374
526
+ msgid "Show"
527
+ msgstr "Vertonen"
528
+
529
+ #@ default
530
+ #: counter.php:1505
531
+ msgid "Edit Post"
532
+ msgstr "Bericht Bewerken"
533
+
534
+ #@ cpd
535
+ #: counter.php:1716
536
+ #, php-format
537
+ msgid "Time for Count per Day: <code>%s</code>."
538
+ msgstr "Tijd voor Count per Day: <code>%s</code>."
539
+
540
+ #@ cpd
541
+ #: counter-options.php:197
542
+ msgid "until User Level"
543
+ msgstr "Tot Gebruikers Niveau"
544
+
545
+ #@ default
546
+ #: counter.php:1757
547
+ msgid "Plugin"
548
+ msgstr "Plugin"
549
+
550
+ #@ cpd
551
+ #: counter.php:822
552
+ #: counter.php:1376
553
+ #: notes.php:47
554
+ #: notes.php:81
555
+ msgid "Notes"
556
+ msgstr "Opmerkingen"
557
+
558
+ #@ default
559
+ #: notes.php:82
560
+ msgid "Action"
561
+ msgstr "Actie"
562
+
563
+ #@ cpd
564
+ #: notes.php:87
565
+ msgid "add"
566
+ msgstr "toevoegen"
567
+
568
+ #@ cpd
569
+ #: notes.php:102
570
+ msgid "save"
571
+ msgstr "bewaren"
572
+
573
+ #@ cpd
574
+ #: notes.php:103
575
+ msgid "delete"
576
+ msgstr "verwijderen"
577
+
578
+ #@ cpd
579
+ #: notes.php:114
580
+ msgid "edit"
581
+ msgstr "bewerken"
582
+
583
+ #@ cpd
584
+ #: notes.php:81
585
+ msgid "(1 per day)"
586
+ msgstr "(1 per dag)"
587
+
588
+ #@ cpd
589
+ #: counter-options.php:316
590
+ msgid "Add this value to \"Total reads\"."
591
+ msgstr "Voeg deze waarde toe aan \"Totale Hits\"."
592
+
593
+ #@ cpd
594
+ #: counter.php:524
595
+ #: counter.php:2219
596
+ msgid "Total reads"
597
+ msgstr "Totale Hits"
598
+
599
+ #@ cpd
600
+ #: counter.php:525
601
+ #: counter.php:2220
602
+ msgid "Reads today"
603
+ msgstr "Hits vandaag"
604
+
605
+ #@ cpd
606
+ #: counter.php:526
607
+ #: counter.php:2221
608
+ msgid "Reads yesterday"
609
+ msgstr "Hits gisteren"
610
+
611
+ #@ cpd
612
+ #: counter-options.php:216
613
+ msgid "Anonymous IP"
614
+ msgstr "Anonieme IP"
615
+
616
+ #@ cpd
617
+ #: counter-options.php:220
618
+ msgid "Cache"
619
+ msgstr "Cache"
620
+
621
+ #@ cpd
622
+ #: counter-options.php:221
623
+ msgid "I use a cache plugin. Count these visits with ajax."
624
+ msgstr "Ik gebruik een cache plugin. Tel deze bezoeken met ajax."
625
+
626
+ #@ cpd
627
+ #: counter-options.php:267
628
+ msgid "Substring of the user agent, separated by comma"
629
+ msgstr "Substring van de user agent, gescheiden door een comma"
630
+
631
+ #@ cpd
632
+ #: counter-options.php:324
633
+ msgid "Debug mode"
634
+ msgstr "Debugmodus"
635
+
636
+ #@ cpd
637
+ #: counter-options.php:326
638
+ msgid "Show debug informations at the bottom of all pages."
639
+ msgstr "Geef debug informatie weer op de bodem van elke pagina."
640
+
641
+ #@ cpd
642
+ #: counter.php:1771
643
+ msgid "Visitors per Country"
644
+ msgstr "Bezoekers per Land"
645
+
646
+ #@ cpd
647
+ #: counter.php:900
648
+ #: counter.php:1856
649
+ msgid "Map"
650
+ msgstr "Kaart"
651
+
652
+ #@ cpd
653
+ #: userperspan.php:37
654
+ msgid "Start"
655
+ msgstr "Start"
656
+
657
+ #@ cpd
658
+ #: userperspan.php:39
659
+ msgid "End"
660
+ msgstr "Einde"
661
+
662
+ #@ cpd
663
+ #: userperspan.php:41
664
+ msgid "PostID"
665
+ msgstr "PostID"
666
+
667
+ #@ cpd
668
+ #: userperspan.php:49
669
+ msgid "no data found"
670
+ msgstr "geen data gevonden"
671
+
672
+ #@ cpd
673
+ #: counter-options.php:352
674
+ 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!"
675
+ msgstr "Je kunt de land gegevens voor alle items in de database verkrijgen door het IP adres te controleren t.o.v. de GeoIP database. Dit kan even duren!"
676
+
677
+ #@ cpd
678
+ #: counter-options.php:186
679
+ msgid "Counter"
680
+ msgstr "Teller"
681
+
682
+ #@ cpd
683
+ #: counter-options.php:224
684
+ msgid "Clients and referrers"
685
+ msgstr "Clients en verwijzingen"
686
+
687
+ #@ cpd
688
+ #: counter-options.php:225
689
+ 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."
690
+ msgstr "Bewaar en geef clients en verwijzingen weer.<br />Gebruikt veel ruimte in de database maar geeft je meer gedetailleerde informatie over je bezoekers."
691
+
692
+ #@ cpd
693
+ #: counter-options.php:278
694
+ msgid "Local URLs"
695
+ msgstr "Lokale URLs"
696
+
697
+ #@ cpd
698
+ #: counter-options.php:279
699
+ msgid "Show local referrers too."
700
+ msgstr "Geef lokale verwijzingen ook weer."
701
+
702
+ #@ default
703
+ #: counter-options.php:287
704
+ msgid "Posts"
705
+ msgstr "Berichten"
706
+
707
+ #@ default
708
+ #: counter-options.php:287
709
+ msgid "Pages"
710
+ msgstr "Pagina's"
711
+
712
+ #@ cpd
713
+ #: counter.php:527
714
+ #: counter.php:2222
715
+ msgid "Reads last week"
716
+ msgstr "Weergaves vorige week"
717
+
718
+ #@ default
719
+ #: counter.php:1514
720
+ msgid "Category"
721
+ msgstr "Categorie"
722
+
723
+ #@ default
724
+ #: counter.php:1517
725
+ msgid "Tag"
726
+ msgstr "Tag"
727
+
728
+ #@ default
729
+ #: counter.php:1719
730
+ msgid "License"
731
+ msgstr "Licentie"
732
+
733
+ #@ cpd
734
+ #: counter.php:1753
735
+ #: counter.php:2223
736
+ msgid "Reads per month"
737
+ msgstr "Weergaves per maand"
738
+
739
+ #@ cpd
740
+ #: counter.php:1761
741
+ msgid "Referrer"
742
+ msgstr "Verwijzing"
743
+
744
+ #@ default
745
+ #: counter.php:2242
746
+ msgid "Title"
747
+ msgstr "Titel"
748
+
749
+ #@ cpd
750
+ #: counter-options.php:256
751
+ msgid "Old Charts"
752
+ msgstr "Oude Grafieken"
753
+
754
+ #@ cpd
755
+ #: counter-options.php:257
756
+ msgid "Show old bar charts."
757
+ msgstr "Geef oude staafdiagrammen weer."
758
+
759
+ #@ cpd
760
+ #: counter-options.php:270
761
+ msgid "Referrers - Entries"
762
+ msgstr "Verwijzingen - Entries"
763
+
764
+ #@ cpd
765
+ #: counter-options.php:271
766
+ msgid "How many referrers do you want to see on dashboard page?"
767
+ msgstr "Hoeveel verwijzingen wil je zien op je dashboard pagina ?"
768
+
769
+ #@ cpd
770
+ #: counter-options.php:274
771
+ msgid "Referrers - Days"
772
+ msgstr "Verwijzingen - Dagen"
773
+
774
+ #@ cpd
775
+ #: counter.php:1449
776
+ #, php-format
777
+ msgid "The %s referrers in last %s days:"
778
+ msgstr "De %s verwijzingen in de laatste %s dagen:"
779
+
780
+ #@ cpd
781
+ #: counter.php:1751
782
+ msgid "Visitors online"
783
+ msgstr "Bezoekers online"
784
+
locale/cpd-pl_PL.mo ADDED
Binary file
locale/cpd-pl_PL.po ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count Per Day v2.10.1\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2010-05-17 14:04+0200\n"
7
+ "Last-Translator: LeXuS <lexus@intrakardial.de>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: Polish\n"
14
+ "X-Poedit-Country: POLAND\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: ../\n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: counter-options.php:46
23
+ #@ cpd
24
+ msgid "Options updated"
25
+ msgstr "Opcje zaktualizowane"
26
+
27
+ #: counter-options.php:57
28
+ #, php-format
29
+ #@ cpd
30
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
31
+ msgstr "Kraje zaktualizowane. <b>%s</b> wpisów w %s bez kraju"
32
+
33
+ #: counter-options.php:62
34
+ #@ cpd
35
+ msgid "update next"
36
+ msgstr "Następna aktualizacja"
37
+
38
+ #: counter-options.php:104
39
+ #, php-format
40
+ #@ cpd
41
+ msgid "Mass Bots cleaned. %s counts deleted."
42
+ msgstr "Masowe boty wymazane. %s wpisów usuniętych."
43
+
44
+ #: counter-options.php:111
45
+ #, php-format
46
+ #@ cpd
47
+ msgid "Database cleaned. %s rows deleted."
48
+ msgstr "Baza danych wyczyszczona. %s wpisów usuniętych."
49
+
50
+ #: counter-options.php:117
51
+ #@ cpd
52
+ msgid "Counter reseted."
53
+ msgstr "Licznik skasowany"
54
+
55
+ #: counter-options.php:121
56
+ #: counter-options.php:496
57
+ #@ cpd
58
+ msgid "UNINSTALL Count per Day"
59
+ msgstr "USUŃ Count per Day"
60
+
61
+ #: counter-options.php:126
62
+ #: counter-options.php:128
63
+ #: counter-options.php:130
64
+ #, php-format
65
+ #@ cpd
66
+ msgid "Table %s deleted"
67
+ msgstr "Tabela %s usunięta"
68
+
69
+ #: counter-options.php:132
70
+ #@ cpd
71
+ msgid "Options deleted"
72
+ msgstr "Opcje usunięte"
73
+
74
+ #: counter-options.php:156
75
+ #: counter-options.php:481
76
+ #@ cpd
77
+ msgid "Uninstall"
78
+ msgstr "Odinstalowanie"
79
+
80
+ #: counter-options.php:157
81
+ #@ cpd
82
+ msgid "Click here"
83
+ msgstr "Kliknij tutaj"
84
+
85
+ #: counter-options.php:157
86
+ #@ cpd
87
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
88
+ msgstr "aby zakończyć odinstalownie i deaktywować \"Count per Day\"."
89
+
90
+ #: counter-options.php:179
91
+ #@ cpd
92
+ msgid "Options"
93
+ msgstr "Opcje"
94
+
95
+ #: counter-options.php:190
96
+ #@ cpd
97
+ msgid "Online time"
98
+ msgstr "Czas bycia online"
99
+
100
+ #: counter-options.php:191
101
+ #@ cpd
102
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
103
+ msgstr "Sekund w liczniku czasu online. Używane dla \"Goście obecnie online\" na tablicy informacyjnej."
104
+
105
+ #: counter-options.php:194
106
+ #@ cpd
107
+ msgid "Logged on Users"
108
+ msgstr "Zalogowani użytkownicy"
109
+
110
+ #: counter-options.php:196
111
+ #@ cpd
112
+ msgid "count too"
113
+ msgstr "również liczyć"
114
+
115
+ #: counter-options.php:197
116
+ #@ cpd
117
+ msgid "until User Level"
118
+ msgstr "do poziomu użytkownika"
119
+
120
+ #: counter-options.php:208
121
+ #@ cpd
122
+ msgid "Auto counter"
123
+ msgstr "Licznik"
124
+
125
+ #: counter-options.php:209
126
+ #@ cpd
127
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
128
+ msgstr "Liczy automatycznie pojedyncze wpisy i strony, zmiany w szyblonie nie są potrzebne."
129
+
130
+ #: counter-options.php:212
131
+ #@ cpd
132
+ msgid "Bots to ignore"
133
+ msgstr "Boty do ignorowania"
134
+
135
+ #: counter-options.php:233
136
+ #@ default
137
+ msgid "Dashboard"
138
+ msgstr ""
139
+
140
+ #: counter-options.php:236
141
+ #: counter.php:1754
142
+ #@ cpd
143
+ msgid "Visitors per post"
144
+ msgstr "Gości na wpisie"
145
+
146
+ #: counter-options.php:237
147
+ #: counter-options.php:241
148
+ #@ cpd
149
+ msgid "How many posts do you want to see on dashboard page?"
150
+ msgstr "Ile wpisów chcesz widzieć na tablicy informacyjnej?"
151
+
152
+ #: counter-options.php:240
153
+ #@ cpd
154
+ msgid "Latest Counts - Posts"
155
+ msgstr "Ostatnie Odsłony - Wpisy"
156
+
157
+ #: counter-options.php:244
158
+ #@ cpd
159
+ msgid "Latest Counts - Days"
160
+ msgstr "Ostatnie Odsłony - Dni"
161
+
162
+ #: counter-options.php:245
163
+ #: counter-options.php:249
164
+ #: counter-options.php:275
165
+ #@ cpd
166
+ msgid "How many days do you want look back?"
167
+ msgstr "Ile dni chcesz patrzeć wstecz?"
168
+
169
+ #: counter-options.php:248
170
+ #@ cpd
171
+ msgid "Chart - Days"
172
+ msgstr "Wykres - Dni"
173
+
174
+ #: counter-options.php:252
175
+ #@ cpd
176
+ msgid "Chart - Height"
177
+ msgstr "Wykres - Wysokość"
178
+
179
+ #: counter-options.php:253
180
+ #@ cpd
181
+ msgid "Height of the biggest bar"
182
+ msgstr "Wysokość najwyższego słupka"
183
+
184
+ #: counter-options.php:261
185
+ #@ cpd
186
+ msgid "Countries"
187
+ msgstr "Państwa"
188
+
189
+ #: counter-options.php:262
190
+ #@ cpd
191
+ msgid "How many countries do you want to see on dashboard page?"
192
+ msgstr "Ile państw chcesz widzieć na tablicy informacyjnej?"
193
+
194
+ #: counter-options.php:290
195
+ #@ cpd
196
+ msgid "Show in lists"
197
+ msgstr "Pokaż na listach"
198
+
199
+ #: counter-options.php:291
200
+ #@ cpd
201
+ msgid "Show \"Reads per Post\" in a new column in post management views."
202
+ msgstr "Pokaż \"Odsłony wpisu\" w nowej kolumnie w przeglądzie wpisów."
203
+
204
+ #: counter-options.php:299
205
+ #@ cpd
206
+ msgid "Start Values"
207
+ msgstr "Startowe Wartości"
208
+
209
+ #: counter-options.php:303
210
+ #@ cpd
211
+ msgid "Here you can change the date of first count and add a start count."
212
+ msgstr "Tutaj możesz zmienić datę rozpoczęcia i stan początkowy licznika."
213
+
214
+ #: counter-options.php:307
215
+ #@ cpd
216
+ msgid "Start date"
217
+ msgstr "Data rozpoczęcia"
218
+
219
+ #: counter-options.php:308
220
+ #@ cpd
221
+ msgid "Your old Counter starts at?"
222
+ msgstr "Stary licznik zaczął w?"
223
+
224
+ #: counter-options.php:311
225
+ #: counter-options.php:315
226
+ #@ cpd
227
+ msgid "Start count"
228
+ msgstr "Stan początkowy licznika"
229
+
230
+ #: counter-options.php:312
231
+ #@ cpd
232
+ msgid "Add this value to \"Total visitors\"."
233
+ msgstr "Dodaj tą wartość do \"Gości razem\"."
234
+
235
+ #: counter-options.php:316
236
+ #@ cpd
237
+ msgid "Add this value to \"Total reads\"."
238
+ msgstr "Dodaj tą wartość do \"Odsłon razem\"."
239
+
240
+ #: counter-options.php:331
241
+ #@ cpd
242
+ msgid "Update options"
243
+ msgstr "Aktualizuj opcje"
244
+
245
+ #: counter-options.php:340
246
+ #@ cpd
247
+ msgid "GeoIP - Countries"
248
+ msgstr "GeoIP - Państwa"
249
+
250
+ #: counter-options.php:349
251
+ #@ cpd
252
+ msgid "Update old counter data"
253
+ msgstr "Aktualizuj stare dane licznika"
254
+
255
+ #: counter-options.php:362
256
+ #@ cpd
257
+ msgid "Update GeoIP database"
258
+ msgstr "Aktualizuj bazę danych GeoIP"
259
+
260
+ #: counter-options.php:365
261
+ #@ cpd
262
+ msgid "Download a new version of GeoIP.dat file."
263
+ msgstr "Pobierz nową wersję pliku GeoIP.dat."
264
+
265
+ #: counter-options.php:371
266
+ #@ cpd
267
+ msgid "More informations about GeoIP"
268
+ msgstr "Więcej informacji o GeoIP"
269
+
270
+ #: counter-options.php:386
271
+ #: massbots.php:33
272
+ #@ cpd
273
+ msgid "Mass Bots"
274
+ msgstr "Masowe boty"
275
+
276
+ #: counter-options.php:390
277
+ #, php-format
278
+ #@ cpd
279
+ msgid "Show all IPs with more than %s page views per day"
280
+ msgstr "Pokaż wszystkie adresy IP z więcej niż %s odsłon dziennie"
281
+
282
+ #: counter-options.php:391
283
+ #: notes.php:76
284
+ #: userperspan.php:43
285
+ #@ cpd
286
+ msgid "show"
287
+ msgstr "pokaż"
288
+
289
+ #: counter-options.php:399
290
+ #@ cpd
291
+ msgid "IP"
292
+ msgstr "IP"
293
+
294
+ #: counter-options.php:400
295
+ #: notes.php:80
296
+ #@ cpd
297
+ #@ default
298
+ msgid "Date"
299
+ msgstr "Data"
300
+
301
+ #: counter-options.php:401
302
+ #@ cpd
303
+ msgid "Client"
304
+ msgstr "Klient"
305
+
306
+ #: counter-options.php:402
307
+ #@ cpd
308
+ msgid "Views"
309
+ msgstr "Wyświetlenia"
310
+
311
+ #: counter-options.php:413
312
+ #: counter-options.php:435
313
+ #, php-format
314
+ #@ cpd
315
+ msgid "Delete these %s counts"
316
+ msgstr "Usuń te s% dane"
317
+
318
+ #: counter-options.php:445
319
+ #: counter-options.php:454
320
+ #@ cpd
321
+ msgid "Clean the database"
322
+ msgstr "Wyczyść bazę danych"
323
+
324
+ #: counter-options.php:448
325
+ #@ cpd
326
+ 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."
327
+ msgstr "Możesz wyczyścić tabelę licznika przez usunięcie spamu.<br />Jeśli dodasz nowe boty do powyższej listy, to spam pozostanie w bazie danych. <br />Wtedy możesz uruchomić filter i ponownie usunąć wizyty botów."
328
+
329
+ #: counter-options.php:463
330
+ #: counter-options.php:472
331
+ #@ cpd
332
+ msgid "Reset the counter"
333
+ msgstr "Skasuj licznik"
334
+
335
+ #: counter-options.php:466
336
+ #@ cpd
337
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
338
+ msgstr "Możesz wykasować licznik przez wyzerowanie tabeli. WSZYSTKIE do 0!<br />Jeśli potrzebujesz aktualne dane, zrób kopie!"
339
+
340
+ #: counter-options.php:484
341
+ #@ cpd
342
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
343
+ msgstr "Jeśli \"Count per Day\" jest tylko nieaktywny, tabele w bazie danych zostaną zachowane."
344
+
345
+ #: counter-options.php:485
346
+ #@ cpd
347
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
348
+ msgstr "Tutaj możesz usunąć tabele i wyłączyć \"Count per Day\"."
349
+
350
+ #: counter-options.php:488
351
+ #@ cpd
352
+ msgid "WARNING"
353
+ msgstr "UWAGA"
354
+
355
+ #: counter-options.php:489
356
+ #@ cpd
357
+ msgid "These tables (with ALL counter data) will be deleted."
358
+ msgstr "Te tabele (z WSZYSTKIMI danymi licznika) zostaną usunięte."
359
+
360
+ #: counter-options.php:491
361
+ #@ cpd
362
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
363
+ msgstr "Jeśli \"Count per Day\" będzie reinstalowany, licznik zacznie się od 0."
364
+
365
+ #: counter-options.php:495
366
+ #@ cpd
367
+ msgid "Yes"
368
+ msgstr "Tak"
369
+
370
+ #: counter-options.php:496
371
+ #@ cpd
372
+ msgid "You are sure to disable Count per Day and delete all data?"
373
+ msgstr "Jesteś pewny, że chcesz wyłączyć Count per Day i usunąć wszystkie dane?"
374
+
375
+ #: counter-options.php:504
376
+ #@ cpd
377
+ msgid "Support"
378
+ msgstr "Wsparcie"
379
+
380
+ #: counter.php:1716
381
+ #, php-format
382
+ #@ cpd
383
+ msgid "Time for Count per Day: <code>%s</code>."
384
+ msgstr "Czas u Count per Day: <code>%s</code>."
385
+
386
+ #: counter.php:1717
387
+ #@ cpd
388
+ msgid "Bug? Problem? Question? Hint? Praise?"
389
+ msgstr "Błąd? Problem? Pytanie? Podpowiedź? Pochwały?"
390
+
391
+ #: counter.php:1718
392
+ #, php-format
393
+ #@ cpd
394
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
395
+ msgstr "Napisz komentarz na <a href=\"%s\">stronie wtyczki</a>."
396
+
397
+ #: counter.php:524
398
+ #: counter.php:2219
399
+ #@ cpd
400
+ msgid "Total reads"
401
+ msgstr "Odsłon razem"
402
+
403
+ #: counter.php:525
404
+ #: counter.php:2220
405
+ #@ cpd
406
+ msgid "Reads today"
407
+ msgstr "Odsłon dzisiaj"
408
+
409
+ #: counter.php:526
410
+ #: counter.php:2221
411
+ #@ cpd
412
+ msgid "Reads yesterday"
413
+ msgstr "Odsłon wczoraj"
414
+
415
+ #: counter.php:529
416
+ #: counter.php:534
417
+ #: counter.php:1604
418
+ #: counter.php:1750
419
+ #: counter.php:2224
420
+ #@ cpd
421
+ msgid "Total visitors"
422
+ msgstr "Gości razem"
423
+
424
+ #: counter.php:530
425
+ #: counter.php:2230
426
+ #@ cpd
427
+ msgid "Visitors currently online"
428
+ msgstr "Goście obecnie online"
429
+
430
+ #: counter.php:531
431
+ #: counter.php:2225
432
+ #@ cpd
433
+ msgid "Visitors today"
434
+ msgstr "Gości dzisiaj"
435
+
436
+ #: counter.php:532
437
+ #: counter.php:2226
438
+ #@ cpd
439
+ msgid "Visitors yesterday"
440
+ msgstr "Gości wczoraj"
441
+
442
+ #: counter.php:533
443
+ #: counter.php:2227
444
+ #@ cpd
445
+ msgid "Visitors last week"
446
+ msgstr "Gości w preszłym tygodniu"
447
+
448
+ #: counter.php:535
449
+ #: counter.php:636
450
+ #: counter.php:1606
451
+ #: counter.php:1756
452
+ #: counter.php:1765
453
+ #: counter.php:2229
454
+ #: userperspan.php:33
455
+ #@ cpd
456
+ msgid "Visitors per day"
457
+ msgstr "Gości dziennie"
458
+
459
+ #: counter.php:536
460
+ #: counter.php:2231
461
+ #@ cpd
462
+ msgid "Counter starts on"
463
+ msgstr "Licznone od"
464
+
465
+ #: counter.php:819
466
+ #@ cpd
467
+ msgid "days"
468
+ msgstr "dni"
469
+
470
+ #: counter.php:822
471
+ #: counter.php:1376
472
+ #: notes.php:47
473
+ #: notes.php:81
474
+ #@ cpd
475
+ msgid "Notes"
476
+ msgstr "Notatka"
477
+
478
+ #: counter.php:845
479
+ #@ cpd
480
+ msgid "no reads at this time"
481
+ msgstr "bez odczytów w tym czasie"
482
+
483
+ #: counter.php:1257
484
+ #, php-format
485
+ #@ cpd
486
+ msgid "The %s most visited posts in last %s days:"
487
+ msgstr "%s najczęściej odwiedzanych wpisów w %s ostatnich dni:"
488
+
489
+ #: counter.php:1374
490
+ #@ default
491
+ msgid "Show"
492
+ msgstr ""
493
+
494
+ #: counter.php:1421
495
+ #@ cpd
496
+ msgid "Other"
497
+ msgstr "Inne"
498
+
499
+ #: counter.php:1505
500
+ #@ default
501
+ msgid "Edit Post"
502
+ msgstr ""
503
+
504
+ #: counter.php:1520
505
+ #: massbots.php:50
506
+ #: userperspan.php:63
507
+ #@ default
508
+ msgid "Front page displays"
509
+ msgstr ""
510
+
511
+ #: counter.php:1591
512
+ #@ default
513
+ msgid "Settings"
514
+ msgstr ""
515
+
516
+ #: counter-options.php:225
517
+ #: counter.php:528
518
+ #: counter.php:1661
519
+ #@ cpd
520
+ msgid "Reads"
521
+ msgstr "Odsłon"
522
+
523
+ #: counter.php:2218
524
+ #@ cpd
525
+ msgid "This post"
526
+ msgstr "Ten wpis"
527
+
528
+ #: counter.php:635
529
+ #: counter.php:1766
530
+ #@ cpd
531
+ msgid "Reads per day"
532
+ msgstr "Odsłon dziennie"
533
+
534
+ #: counter.php:1752
535
+ #: counter.php:2228
536
+ #@ cpd
537
+ msgid "Visitors per month"
538
+ msgstr "Gości miesięcznie"
539
+
540
+ #: counter-options.php:266
541
+ #: counter.php:1760
542
+ #@ cpd
543
+ msgid "Browsers"
544
+ msgstr "Przeglądarki"
545
+
546
+ #: counter.php:1755
547
+ #@ cpd
548
+ msgid "Latest Counts"
549
+ msgstr "Ostatnie Odsłony"
550
+
551
+ #: counter.php:1757
552
+ #@ default
553
+ msgid "Plugin"
554
+ msgstr ""
555
+
556
+ #: counter.php:1770
557
+ #@ cpd
558
+ msgid "Reads per Country"
559
+ msgstr "Odsłon na państwo"
560
+
561
+ #: counter.php:1786
562
+ #: counter.php:2147
563
+ #@ cpd
564
+ msgid "Statistics"
565
+ msgstr "Statystyki"
566
+
567
+ #: counter.php:900
568
+ #: counter.php:1856
569
+ #@ cpd
570
+ msgid "Map"
571
+ msgstr "Mapa"
572
+
573
+ #: geoip/geoip.php:108
574
+ #@ cpd
575
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
576
+ msgstr "Przepraszamy, niezbędne funkcje (zlib) nie są zainstalowane lub włączone w php.ini."
577
+
578
+ #: geoip/geoip.php:132
579
+ #@ cpd
580
+ msgid "New GeoIP database installed."
581
+ msgstr "Nowa GeoIP baza danych zainstalowana."
582
+
583
+ #: geoip/geoip.php:134
584
+ #@ cpd
585
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
586
+ msgstr "Przepraszamy, wystąpił błąd. Spróbuj ponownie lub sprawdzić prawa dostępu do katalogu \"geoip\", jest 777."
587
+
588
+ #: notes.php:81
589
+ #@ cpd
590
+ msgid "(1 per day)"
591
+ msgstr "(1 na dzień)"
592
+
593
+ #: notes.php:82
594
+ #@ default
595
+ msgid "Action"
596
+ msgstr ""
597
+
598
+ #: notes.php:87
599
+ #@ cpd
600
+ msgid "add"
601
+ msgstr "dodać"
602
+
603
+ #: notes.php:102
604
+ #@ cpd
605
+ msgid "save"
606
+ msgstr "zapisać"
607
+
608
+ #: notes.php:103
609
+ #@ cpd
610
+ msgid "delete"
611
+ msgstr "usunąć"
612
+
613
+ #: notes.php:114
614
+ #@ cpd
615
+ msgid "edit"
616
+ msgstr "edytować"
617
+
618
+ #: counter-options.php:216
619
+ #@ cpd
620
+ msgid "Anonymous IP"
621
+ msgstr "Anonimowy IP"
622
+
623
+ #: counter-options.php:220
624
+ #@ cpd
625
+ msgid "Cache"
626
+ msgstr "Cache"
627
+
628
+ #: counter-options.php:221
629
+ #@ cpd
630
+ msgid "I use a cache plugin. Count these visits with ajax."
631
+ msgstr "Używam cache plugin. Licz wizyty z AJAX."
632
+
633
+ #: counter-options.php:267
634
+ #@ cpd
635
+ msgid "Substring of the user agent, separated by comma"
636
+ msgstr "Identyfikatory przeglądarki (user agent), oddzielone przecinkiem"
637
+
638
+ #: counter-options.php:324
639
+ #@ cpd
640
+ msgid "Debug mode"
641
+ msgstr "Tryb debugowania"
642
+
643
+ #: counter-options.php:326
644
+ #@ cpd
645
+ msgid "Show debug informations at the bottom of all pages."
646
+ msgstr "Pokaż debug analizę na dole wszystkich stron."
647
+
648
+ #: counter.php:1771
649
+ #@ cpd
650
+ msgid "Visitors per Country"
651
+ msgstr "Gości na państwo"
652
+
653
+ #: userperspan.php:37
654
+ #@ cpd
655
+ msgid "Start"
656
+ msgstr "Start"
657
+
658
+ #: userperspan.php:39
659
+ #@ cpd
660
+ msgid "End"
661
+ msgstr "Koniec"
662
+
663
+ #: userperspan.php:41
664
+ #@ cpd
665
+ msgid "PostID"
666
+ msgstr "ID wpisu"
667
+
668
+ #: userperspan.php:49
669
+ #@ cpd
670
+ msgid "no data found"
671
+ msgstr "Nie znaleziono danych"
672
+
673
+ #: counter-options.php:352
674
+ #@ cpd
675
+ 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!"
676
+ msgstr "Możesz do wszystkich danych zapisać państwo. W tym celu IP będzie porównane z bazą danych GeoIP. To może trochę potrwać!"
677
+
678
+ #: counter-options.php:186
679
+ #@ cpd
680
+ msgid "Counter"
681
+ msgstr "Licznik"
682
+
683
+ #: counter-options.php:224
684
+ #@ cpd
685
+ msgid "Clients and referrers"
686
+ msgstr "Przeglądarka i referrer"
687
+
688
+ #: counter-options.php:225
689
+ #@ cpd
690
+ 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."
691
+ msgstr "Zapisz i pokazuj przeglądarki i referrer. <br /> Potrzebuje dużo miejsca w bazie danych, ale daje więcej szczegółowych informacji użytkowników."
692
+
693
+ #: counter-options.php:278
694
+ #@ cpd
695
+ msgid "Local URLs"
696
+ msgstr "Lokalne adresy URL"
697
+
698
+ #: counter-options.php:279
699
+ #@ cpd
700
+ msgid "Show local referrers too."
701
+ msgstr "Pokaż też lokalny referrer."
702
+
703
+ #: counter-options.php:287
704
+ #@ default
705
+ msgid "Posts"
706
+ msgstr ""
707
+
708
+ #: counter-options.php:287
709
+ #@ default
710
+ msgid "Pages"
711
+ msgstr ""
712
+
713
+ #: counter.php:527
714
+ #: counter.php:2222
715
+ #@ cpd
716
+ msgid "Reads last week"
717
+ msgstr "Odsłon w zeszłym tygodniu"
718
+
719
+ #: counter.php:1514
720
+ #@ default
721
+ msgid "Category"
722
+ msgstr ""
723
+
724
+ #: counter.php:1517
725
+ #@ default
726
+ msgid "Tag"
727
+ msgstr ""
728
+
729
+ #: counter.php:1719
730
+ #@ default
731
+ msgid "License"
732
+ msgstr ""
733
+
734
+ #: counter.php:1753
735
+ #: counter.php:2223
736
+ #@ cpd
737
+ msgid "Reads per month"
738
+ msgstr "Odsłon miesięcznie"
739
+
740
+ #: counter.php:1761
741
+ #@ cpd
742
+ msgid "Referrer"
743
+ msgstr "Referrer"
744
+
745
+ #: counter.php:2242
746
+ #@ default
747
+ msgid "Title"
748
+ msgstr ""
749
+
750
+ #: counter-options.php:256
751
+ #@ cpd
752
+ msgid "Old Charts"
753
+ msgstr ""
754
+
755
+ #: counter-options.php:257
756
+ #@ cpd
757
+ msgid "Show old bar charts."
758
+ msgstr ""
759
+
760
+ #: counter-options.php:270
761
+ #@ cpd
762
+ msgid "Referrers - Entries"
763
+ msgstr ""
764
+
765
+ #: counter-options.php:271
766
+ #@ cpd
767
+ msgid "How many referrers do you want to see on dashboard page?"
768
+ msgstr ""
769
+
770
+ #: counter-options.php:274
771
+ #@ cpd
772
+ msgid "Referrers - Days"
773
+ msgstr ""
774
+
775
+ #: counter.php:1449
776
+ #, php-format
777
+ #@ cpd
778
+ msgid "The %s referrers in last %s days:"
779
+ msgstr ""
780
+
781
+ #: counter.php:1751
782
+ #@ cpd
783
+ msgid "Visitors online"
784
+ msgstr ""
785
+
locale/cpd-pt_BR.mo ADDED
Binary file
locale/cpd-pt_BR.po ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count per Day\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-09-03 20:03+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Beto Ribeiro <beto.br@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: Portuguese\n"
14
+ "X-Poedit-Country: BRAZIL\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: P:/xampp/htdocs/levelbase_tribune/wp-content/plugins/count-per-day\n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: counter-options.php:46
23
+ #@ cpd
24
+ msgid "Options updated"
25
+ msgstr "Op&ccedil;&otilde;es atualizadas"
26
+
27
+ #: counter-options.php:111
28
+ #, php-format
29
+ #@ cpd
30
+ msgid "Database cleaned. %s rows deleted."
31
+ msgstr "Banco de dados limpo. %s linhas apagadas."
32
+
33
+ #: counter-options.php:121
34
+ #: counter-options.php:496
35
+ #@ cpd
36
+ msgid "UNINSTALL Count per Day"
37
+ msgstr "DESINSTALAR o Count per Day"
38
+
39
+ #: counter-options.php:126
40
+ #: counter-options.php:128
41
+ #: counter-options.php:130
42
+ #, php-format
43
+ #@ cpd
44
+ msgid "Table %s deleted"
45
+ msgstr "Tabela %s apagada"
46
+
47
+ #: counter-options.php:132
48
+ #@ cpd
49
+ msgid "Options deleted"
50
+ msgstr "Op&ccedil;&otilde;es apagadas"
51
+
52
+ #: counter-options.php:156
53
+ #: counter-options.php:481
54
+ #@ cpd
55
+ msgid "Uninstall"
56
+ msgstr "Desinstalar"
57
+
58
+ #: counter-options.php:157
59
+ #@ cpd
60
+ msgid "Click here"
61
+ msgstr "Clique aqui"
62
+
63
+ #: counter-options.php:157
64
+ #@ cpd
65
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
66
+ msgstr "Para terminar a desinstala&ccedil;&atilde;o e desativar o \"Count per Day\". "
67
+
68
+ #: counter-options.php:179
69
+ #@ cpd
70
+ msgid "Options"
71
+ msgstr "Op&ccedil;&otilde;es"
72
+
73
+ #: counter-options.php:190
74
+ #@ cpd
75
+ msgid "Online time"
76
+ msgstr "Per&iacute;odo online"
77
+
78
+ #: counter-options.php:191
79
+ #@ cpd
80
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
81
+ msgstr "Segundos para o contador on-line. Usado no \"Visitantes online\" na p&aacute;gina do painel."
82
+
83
+ #: counter-options.php:194
84
+ #@ cpd
85
+ msgid "Logged on Users"
86
+ msgstr "Usu&aacute;rios logados"
87
+
88
+ #: counter-options.php:196
89
+ #@ cpd
90
+ msgid "count too"
91
+ msgstr "contar tamb&eacute;m"
92
+
93
+ #: counter-options.php:208
94
+ #@ cpd
95
+ msgid "Auto counter"
96
+ msgstr "Autocontador"
97
+
98
+ #: counter-options.php:209
99
+ #@ cpd
100
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
101
+ msgstr "Conta automaticamente posts e p&aacute;ginas, sem a necessidade de altera&ccedil;&otilde;es em templates."
102
+
103
+ #: counter-options.php:212
104
+ #@ cpd
105
+ msgid "Bots to ignore"
106
+ msgstr "Bots a serem ignorados"
107
+
108
+ #: counter-options.php:331
109
+ #@ cpd
110
+ msgid "Update options"
111
+ msgstr "Atualizar op&ccedil;&otilde;es"
112
+
113
+ #: counter-options.php:445
114
+ #: counter-options.php:454
115
+ #@ cpd
116
+ msgid "Clean the database"
117
+ msgstr "Limpar o banco de dados"
118
+
119
+ #: counter-options.php:448
120
+ #@ cpd
121
+ 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."
122
+ msgstr "Voc&ecirc; pode limpar os \"dados de spam\" da tabela de contadores. <br />Caso voc&ecirc; adicione novos bots acima, os \"dados de spam\" deles continuar&atilde;o no banco de dados. <br />Para limpar as visitas desses bots, voc&ecirc; pode executar novamente o filtro de bot aqui."
123
+
124
+ #: counter-options.php:484
125
+ #@ cpd
126
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
127
+ msgstr "Se o plugin \"Count per Day\" for desativado apenas, as tabelas do banco de dados ser&atilde;o preservadas."
128
+
129
+ #: counter-options.php:485
130
+ #@ cpd
131
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
132
+ msgstr "A op&ccedil;&atilde;o a seguir permite apagar definitivamente as tabelas do banco de dados, al&eacute;m de desabilitar o plugin."
133
+
134
+ #: counter-options.php:488
135
+ #@ cpd
136
+ msgid "WARNING"
137
+ msgstr "ATEN&Ccedil;&Atilde;O"
138
+
139
+ #: counter-options.php:489
140
+ #@ cpd
141
+ msgid "These tables (with ALL counter data) will be deleted."
142
+ msgstr "As seguintes tabelas (incluindo TODOS os dados dos contadores) ser&atilde;o apagadas:"
143
+
144
+ #: counter-options.php:491
145
+ #@ cpd
146
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
147
+ msgstr "Se o \"Count per Day\" for reinstalado, os contadores reiniciar&atilde;o a partir do 0."
148
+
149
+ #: counter-options.php:495
150
+ #@ cpd
151
+ msgid "Yes"
152
+ msgstr "Sim, quero"
153
+
154
+ #: counter-options.php:496
155
+ #@ cpd
156
+ msgid "You are sure to disable Count per Day and delete all data?"
157
+ msgstr "Confirma a desativa&ccedil;&atilde;o do Count per Day e a exclus&atilde;o de todos os dados?"
158
+
159
+ #: counter.php:1786
160
+ #: counter.php:2147
161
+ #@ cpd
162
+ msgid "Statistics"
163
+ msgstr "Estat&iacute;sticas"
164
+
165
+ #: counter.php:529
166
+ #: counter.php:534
167
+ #: counter.php:1604
168
+ #: counter.php:1750
169
+ #: counter.php:2224
170
+ #@ cpd
171
+ msgid "Total visitors"
172
+ msgstr "Total de visitas"
173
+
174
+ #: counter.php:530
175
+ #: counter.php:2230
176
+ #@ cpd
177
+ msgid "Visitors currently online"
178
+ msgstr "Visitantes online"
179
+
180
+ #: counter.php:531
181
+ #: counter.php:2225
182
+ #@ cpd
183
+ msgid "Visitors today"
184
+ msgstr "Visitas hoje"
185
+
186
+ #: counter.php:532
187
+ #: counter.php:2226
188
+ #@ cpd
189
+ msgid "Visitors yesterday"
190
+ msgstr "Visitas ontem"
191
+
192
+ #: counter.php:533
193
+ #: counter.php:2227
194
+ #@ cpd
195
+ msgid "Visitors last week"
196
+ msgstr "Visitas semana passada"
197
+
198
+ #: counter.php:536
199
+ #: counter.php:2231
200
+ #@ cpd
201
+ msgid "Counter starts on"
202
+ msgstr "In&iacute;cio da contagem"
203
+
204
+ #: counter.php:535
205
+ #: counter.php:636
206
+ #: counter.php:1606
207
+ #: counter.php:1756
208
+ #: counter.php:1765
209
+ #: counter.php:2229
210
+ #: userperspan.php:33
211
+ #@ cpd
212
+ msgid "Visitors per day"
213
+ msgstr "(m&eacute;dia) de visitas por dia"
214
+
215
+ #: counter.php:1752
216
+ #: counter.php:2228
217
+ #@ cpd
218
+ msgid "Visitors per month"
219
+ msgstr "Visitas por m&ecirc;s"
220
+
221
+ #: counter-options.php:236
222
+ #: counter.php:1754
223
+ #@ cpd
224
+ msgid "Visitors per post"
225
+ msgstr "Visitas por post"
226
+
227
+ #: counter-options.php:57
228
+ #, php-format
229
+ #@ cpd
230
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
231
+ msgstr "Pa&iacute;ses atualizados. <b>%s</b> lan&ccedil;amentos em %s menos pa&iacute;ses faltando"
232
+
233
+ #: counter-options.php:62
234
+ #@ cpd
235
+ msgid "update next"
236
+ msgstr "Atualizar proximo"
237
+
238
+ #: counter-options.php:104
239
+ #, php-format
240
+ #@ cpd
241
+ msgid "Mass Bots cleaned. %s counts deleted."
242
+ msgstr "Mass Bots apagados. %s ocorr&ecirc;ncias deletadas."
243
+
244
+ #: counter-options.php:117
245
+ #@ cpd
246
+ msgid "Counter reseted."
247
+ msgstr "Contador reiniciado."
248
+
249
+ #: counter-options.php:233
250
+ #@ default
251
+ msgid "Dashboard"
252
+ msgstr "Painel"
253
+
254
+ #: counter-options.php:237
255
+ #: counter-options.php:241
256
+ #@ cpd
257
+ msgid "How many posts do you want to see on dashboard page?"
258
+ msgstr "Quantos posts voc&ecirc; deseja visualizar no Painel?"
259
+
260
+ #: counter-options.php:240
261
+ #@ cpd
262
+ msgid "Latest Counts - Posts"
263
+ msgstr "Contagens Recentes - Posts"
264
+
265
+ #: counter-options.php:244
266
+ #@ cpd
267
+ msgid "Latest Counts - Days"
268
+ msgstr "Contagens Recentes - Dias"
269
+
270
+ #: counter-options.php:245
271
+ #: counter-options.php:249
272
+ #: counter-options.php:275
273
+ #@ cpd
274
+ msgid "How many days do you want look back?"
275
+ msgstr "Quantos dias atr&aacute;s você quer ver?"
276
+
277
+ #: counter-options.php:248
278
+ #@ cpd
279
+ msgid "Chart - Days"
280
+ msgstr "Gr&aacute;fico - Dias"
281
+
282
+ #: counter-options.php:252
283
+ #@ cpd
284
+ msgid "Chart - Height"
285
+ msgstr "Gr&aacute;fico - Altura"
286
+
287
+ #: counter-options.php:253
288
+ #@ cpd
289
+ msgid "Height of the biggest bar"
290
+ msgstr "Altura da barra maior"
291
+
292
+ #: counter-options.php:261
293
+ #@ cpd
294
+ msgid "Countries"
295
+ msgstr "Pa&iacute;ses"
296
+
297
+ #: counter-options.php:262
298
+ #@ cpd
299
+ msgid "How many countries do you want to see on dashboard page?"
300
+ msgstr "Quantos pa&iacute;ses você quer visualizar no Painel?"
301
+
302
+ #: counter-options.php:290
303
+ #@ cpd
304
+ msgid "Show in lists"
305
+ msgstr "Exibir em listas"
306
+
307
+ #: counter-options.php:291
308
+ #@ cpd
309
+ msgid "Show \"Reads per Post\" in a new column in post management views."
310
+ msgstr "Exibir \"Leituras por Post\" em uma nova coluna no gerenciador de visualiza&ccedil;&atilde;o de posts."
311
+
312
+ #: counter-options.php:340
313
+ #@ cpd
314
+ msgid "GeoIP - Countries"
315
+ msgstr "GeoIP - Pa&iacute;ses"
316
+
317
+ #: counter-options.php:349
318
+ #@ cpd
319
+ msgid "Update old counter data"
320
+ msgstr "Atualizar dados de contadores antigos"
321
+
322
+ #: counter-options.php:362
323
+ #@ cpd
324
+ msgid "Update GeoIP database"
325
+ msgstr "Atualizar Base de Dados GeoIP"
326
+
327
+ #: counter-options.php:365
328
+ #@ cpd
329
+ msgid "Download a new version of GeoIP.dat file."
330
+ msgstr "Baixe uma nova vers&atilde;o do arquivo GeoIP.dat"
331
+
332
+ #: counter-options.php:371
333
+ #@ cpd
334
+ msgid "More informations about GeoIP"
335
+ msgstr "Mais informa&ccedil;&otilde;es sobre o GeoIP"
336
+
337
+ #: counter-options.php:386
338
+ #: massbots.php:33
339
+ #@ cpd
340
+ msgid "Mass Bots"
341
+ msgstr "Mass Bots"
342
+
343
+ #: counter-options.php:390
344
+ #, php-format
345
+ #@ cpd
346
+ msgid "Show all IPs with more than %s page views per day"
347
+ msgstr "Exibir todos os IPs com mais de %s p&aacute;ginas exibidas por dia"
348
+
349
+ #: counter-options.php:391
350
+ #: notes.php:76
351
+ #: userperspan.php:43
352
+ #@ cpd
353
+ msgid "show"
354
+ msgstr "exibir"
355
+
356
+ #: counter-options.php:399
357
+ #@ cpd
358
+ msgid "IP"
359
+ msgstr "IP"
360
+
361
+ #: counter-options.php:400
362
+ #: notes.php:80
363
+ #@ cpd
364
+ #@ default
365
+ msgid "Date"
366
+ msgstr "Data"
367
+
368
+ #: counter-options.php:401
369
+ #@ cpd
370
+ msgid "Client"
371
+ msgstr "Cliente"
372
+
373
+ #: counter-options.php:402
374
+ #@ cpd
375
+ msgid "Views"
376
+ msgstr "Exibi&ccedil;&otilde;es"
377
+
378
+ #: counter-options.php:413
379
+ #: counter-options.php:435
380
+ #, php-format
381
+ #@ cpd
382
+ msgid "Delete these %s counts"
383
+ msgstr "Deletar estes %s contadores"
384
+
385
+ #: counter-options.php:463
386
+ #: counter-options.php:472
387
+ #@ cpd
388
+ msgid "Reset the counter"
389
+ msgstr "Reiniciar o contador"
390
+
391
+ #: counter-options.php:466
392
+ #@ cpd
393
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
394
+ msgstr "Voc&ecirc; pode reinicar o contador por esvaziamento da tabela. TODOS PARA 0!<br />Faça um backup se voc&ecirc; precisar das informa&ccedil;&otilde;es atuais!"
395
+
396
+ #: counter.php:845
397
+ #@ cpd
398
+ msgid "no reads at this time"
399
+ msgstr "nenhuma leitura nesse momento"
400
+
401
+ #: counter.php:819
402
+ #@ cpd
403
+ msgid "days"
404
+ msgstr "dias"
405
+
406
+ #: counter.php:1257
407
+ #, php-format
408
+ #@ cpd
409
+ msgid "The %s most visited posts in last %s days:"
410
+ msgstr "Os %s posts mais visitados nos &uacute;ltimos %s dias:"
411
+
412
+ #: counter.php:1421
413
+ #@ cpd
414
+ msgid "Other"
415
+ msgstr "Outro"
416
+
417
+ #: counter.php:1520
418
+ #: massbots.php:50
419
+ #: userperspan.php:63
420
+ #@ default
421
+ msgid "Front page displays"
422
+ msgstr "Exibi&ccedil;&otilde;es da primeira página"
423
+
424
+ #: counter.php:1591
425
+ #@ default
426
+ msgid "Settings"
427
+ msgstr "Configura&ccedil;&otilde;es"
428
+
429
+ #: counter-options.php:225
430
+ #: counter.php:528
431
+ #: counter.php:1661
432
+ #@ cpd
433
+ msgid "Reads"
434
+ msgstr "Leituras"
435
+
436
+ #: counter.php:2218
437
+ #@ cpd
438
+ msgid "This post"
439
+ msgstr "Este post"
440
+
441
+ #: counter.php:635
442
+ #: counter.php:1766
443
+ #@ cpd
444
+ msgid "Reads per day"
445
+ msgstr "Leituras por dia"
446
+
447
+ #: counter-options.php:266
448
+ #: counter.php:1760
449
+ #@ cpd
450
+ msgid "Browsers"
451
+ msgstr "Navegadores"
452
+
453
+ #: counter.php:1755
454
+ #@ cpd
455
+ msgid "Latest Counts"
456
+ msgstr "Contagens Recentes"
457
+
458
+ #: counter.php:1770
459
+ #@ cpd
460
+ msgid "Reads per Country"
461
+ msgstr "Leituras por Pa&iacute;s"
462
+
463
+ #: geoip/geoip.php:108
464
+ #@ cpd
465
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
466
+ msgstr "Desculpe, fun&ccedil;&otilde;es necess&aacute;rias (zlib) n&atilde;o instaladas ou habilitadas no php.ini."
467
+
468
+ #: geoip/geoip.php:132
469
+ #@ cpd
470
+ msgid "New GeoIP database installed."
471
+ msgstr "Nova base de dados GeoIP instalada."
472
+
473
+ #: geoip/geoip.php:134
474
+ #@ cpd
475
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
476
+ msgstr "Desculpe, ocorreu um erro. Tente novamente ou verifique se as permiss&otilde;es do diretório \"geoip\" est&atilde;o setadas para 777."
477
+
478
+ #: counter-options.php:197
479
+ #@ cpd
480
+ msgid "until User Level"
481
+ msgstr "usuários do nível"
482
+
483
+ #: counter-options.php:299
484
+ #@ cpd
485
+ msgid "Start Values"
486
+ msgstr "Valor inicial"
487
+
488
+ #: counter-options.php:303
489
+ #@ cpd
490
+ msgid "Here you can change the date of first count and add a start count."
491
+ msgstr "Aqui você pode mudar a data de sua primeira contagem e adicionar uma contagem inicial."
492
+
493
+ #: counter-options.php:307
494
+ #@ cpd
495
+ msgid "Start date"
496
+ msgstr "Data inicial"
497
+
498
+ #: counter-options.php:308
499
+ #@ cpd
500
+ msgid "Your old Counter starts at?"
501
+ msgstr "Sua contagem antiga começa em?"
502
+
503
+ #: counter-options.php:311
504
+ #: counter-options.php:315
505
+ #@ cpd
506
+ msgid "Start count"
507
+ msgstr "Contagem inicial"
508
+
509
+ #: counter-options.php:312
510
+ #@ cpd
511
+ msgid "Add this value to \"Total visitors\"."
512
+ msgstr "Adicione este valor para \"Total visitors\"."
513
+
514
+ #: counter-options.php:504
515
+ #@ cpd
516
+ msgid "Support"
517
+ msgstr "Suporte"
518
+
519
+ #: counter.php:1717
520
+ #@ cpd
521
+ msgid "Bug? Problem? Question? Hint? Praise?"
522
+ msgstr "Erro? Problema? Dúvida? Sugestão? Elogio?"
523
+
524
+ #: counter.php:1718
525
+ #, php-format
526
+ #@ cpd
527
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
528
+ msgstr "Escreva um comentário na <a href=\"%s\">página do plugin</a>."
529
+
530
+ #: counter.php:1374
531
+ #@ default
532
+ msgid "Show"
533
+ msgstr "Mostrar"
534
+
535
+ #: counter.php:822
536
+ #: counter.php:1376
537
+ #: notes.php:47
538
+ #: notes.php:81
539
+ #@ cpd
540
+ msgid "Notes"
541
+ msgstr "Notas"
542
+
543
+ #: counter.php:1505
544
+ #@ default
545
+ msgid "Edit Post"
546
+ msgstr "Editar Post"
547
+
548
+ #: counter.php:1757
549
+ #@ default
550
+ msgid "Plugin"
551
+ msgstr "Plugin"
552
+
553
+ #: counter.php:1716
554
+ #, php-format
555
+ #@ cpd
556
+ msgid "Time for Count per Day: <code>%s</code>."
557
+ msgstr "Tempo para Contagem por Dia: <code>%s</code>."
558
+
559
+ #: notes.php:81
560
+ #@ cpd
561
+ msgid "(1 per day)"
562
+ msgstr "(1 por dia)"
563
+
564
+ #: notes.php:82
565
+ #@ default
566
+ msgid "Action"
567
+ msgstr "A&ccedil;&atilde;o"
568
+
569
+ #: notes.php:87
570
+ #@ cpd
571
+ msgid "add"
572
+ msgstr "Adicionar"
573
+
574
+ #: notes.php:102
575
+ #@ cpd
576
+ msgid "save"
577
+ msgstr "Salvar"
578
+
579
+ #: notes.php:103
580
+ #@ cpd
581
+ msgid "delete"
582
+ msgstr "Apagar"
583
+
584
+ #: notes.php:114
585
+ #@ cpd
586
+ msgid "edit"
587
+ msgstr "Editar"
588
+
589
+ #: counter-options.php:216
590
+ #@ cpd
591
+ msgid "Anonymous IP"
592
+ msgstr "IP An&ocirc;nimo"
593
+
594
+ #: counter-options.php:220
595
+ #@ cpd
596
+ msgid "Cache"
597
+ msgstr "Cache"
598
+
599
+ #: counter-options.php:221
600
+ #@ cpd
601
+ msgid "I use a cache plugin. Count these visits with ajax."
602
+ msgstr "Eu uso um Plugin de Cache. Contar essas visitas com Ajax."
603
+
604
+ #: counter-options.php:267
605
+ #@ cpd
606
+ msgid "Substring of the user agent, separated by comma"
607
+ msgstr "Substring do usu&aacute;rio agente, separado por v&iacute;rgula"
608
+
609
+ #: counter-options.php:316
610
+ #@ cpd
611
+ msgid "Add this value to \"Total reads\"."
612
+ msgstr "Adicione este valor ao \"Total de Leituras\"."
613
+
614
+ #: counter-options.php:324
615
+ #@ cpd
616
+ msgid "Debug mode"
617
+ msgstr "Modo de depura&ccedil;&atilde;o"
618
+
619
+ #: counter-options.php:326
620
+ #@ cpd
621
+ msgid "Show debug informations at the bottom of all pages."
622
+ msgstr "Mostrar informa&ccedil;&otilde;es de depura&ccedil;&atilde;o na base de todas as p&aacute;ginas."
623
+
624
+ #: counter.php:524
625
+ #: counter.php:2219
626
+ #@ cpd
627
+ msgid "Total reads"
628
+ msgstr "Total de Leituras"
629
+
630
+ #: counter.php:525
631
+ #: counter.php:2220
632
+ #@ cpd
633
+ msgid "Reads today"
634
+ msgstr "Leituras Hoje"
635
+
636
+ #: counter.php:526
637
+ #: counter.php:2221
638
+ #@ cpd
639
+ msgid "Reads yesterday"
640
+ msgstr "Leituras Ontem"
641
+
642
+ #: counter.php:1771
643
+ #@ cpd
644
+ msgid "Visitors per Country"
645
+ msgstr "Visitantes por Pa&iacute;is"
646
+
647
+ #: counter.php:900
648
+ #: counter.php:1856
649
+ #@ cpd
650
+ msgid "Map"
651
+ msgstr "Mapa"
652
+
653
+ #: userperspan.php:37
654
+ #@ cpd
655
+ msgid "Start"
656
+ msgstr "Iniciar"
657
+
658
+ #: userperspan.php:39
659
+ #@ cpd
660
+ msgid "End"
661
+ msgstr "Fim"
662
+
663
+ #: userperspan.php:41
664
+ #@ cpd
665
+ msgid "PostID"
666
+ msgstr "PostID"
667
+
668
+ #: userperspan.php:49
669
+ #@ cpd
670
+ msgid "no data found"
671
+ msgstr "N&atilde;o foram encontrados dados"
672
+
673
+ #: counter-options.php:352
674
+ #@ cpd
675
+ 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!"
676
+ msgstr "Voc&ecirc; pode obter os dados dos pa&iacute;ses para todas as entradas no banco de dados checando novamente os endere&ccedil;os IP na base de dados GeoIP. Isto pode demorar um pouco!"
677
+
678
+ #: counter-options.php:186
679
+ #@ cpd
680
+ msgid "Counter"
681
+ msgstr ""
682
+
683
+ #: counter-options.php:224
684
+ #@ cpd
685
+ msgid "Clients and referrers"
686
+ msgstr ""
687
+
688
+ #: counter-options.php:225
689
+ #@ cpd
690
+ 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."
691
+ msgstr ""
692
+
693
+ #: counter-options.php:278
694
+ #@ cpd
695
+ msgid "Local URLs"
696
+ msgstr ""
697
+
698
+ #: counter-options.php:279
699
+ #@ cpd
700
+ msgid "Show local referrers too."
701
+ msgstr ""
702
+
703
+ #: counter-options.php:287
704
+ #@ default
705
+ msgid "Posts"
706
+ msgstr ""
707
+
708
+ #: counter-options.php:287
709
+ #@ default
710
+ msgid "Pages"
711
+ msgstr ""
712
+
713
+ #: counter.php:527
714
+ #: counter.php:2222
715
+ #@ cpd
716
+ msgid "Reads last week"
717
+ msgstr ""
718
+
719
+ #: counter.php:1514
720
+ #@ default
721
+ msgid "Category"
722
+ msgstr ""
723
+
724
+ #: counter.php:1517
725
+ #@ default
726
+ msgid "Tag"
727
+ msgstr ""
728
+
729
+ #: counter.php:1719
730
+ #@ default
731
+ msgid "License"
732
+ msgstr ""
733
+
734
+ #: counter.php:1753
735
+ #: counter.php:2223
736
+ #@ cpd
737
+ msgid "Reads per month"
738
+ msgstr ""
739
+
740
+ #: counter.php:1761
741
+ #@ cpd
742
+ msgid "Referrer"
743
+ msgstr ""
744
+
745
+ #: counter.php:2242
746
+ #@ default
747
+ msgid "Title"
748
+ msgstr ""
749
+
750
+ #: counter-options.php:256
751
+ #@ cpd
752
+ msgid "Old Charts"
753
+ msgstr ""
754
+
755
+ #: counter-options.php:257
756
+ #@ cpd
757
+ msgid "Show old bar charts."
758
+ msgstr ""
759
+
760
+ #: counter-options.php:270
761
+ #@ cpd
762
+ msgid "Referrers - Entries"
763
+ msgstr ""
764
+
765
+ #: counter-options.php:271
766
+ #@ cpd
767
+ msgid "How many referrers do you want to see on dashboard page?"
768
+ msgstr ""
769
+
770
+ #: counter-options.php:274
771
+ #@ cpd
772
+ msgid "Referrers - Days"
773
+ msgstr ""
774
+
775
+ #: counter.php:1449
776
+ #, php-format
777
+ #@ cpd
778
+ msgid "The %s referrers in last %s days:"
779
+ msgstr ""
780
+
781
+ #: counter.php:1751
782
+ #@ cpd
783
+ msgid "Visitors online"
784
+ msgstr ""
785
+
locale/cpd-ru_RU.mo ADDED
Binary file
locale/cpd-ru_RU.po ADDED
@@ -0,0 +1,784 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count per Day\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-11-02 12:13+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Ilya Pshenichny\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: German\n"
14
+ "X-Poedit-Country: GERMANY\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: P:/xampp/htdocs/wp/wp-content/plugins/count-per-day\n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: counter-options.php:46
23
+ #@ cpd
24
+ msgid "Options updated"
25
+ msgstr "Настройки сохранены"
26
+
27
+ #: counter-options.php:111
28
+ #, php-format
29
+ #@ cpd
30
+ msgid "Database cleaned. %s rows deleted."
31
+ msgstr "База данных очищена. %s строчек удалено."
32
+
33
+ #: counter-options.php:121
34
+ #: counter-options.php:496
35
+ #@ cpd
36
+ msgid "UNINSTALL Count per Day"
37
+ msgstr "УДАЛИТЬ \"Ежедневный счетчик\". "
38
+
39
+ #: counter-options.php:126
40
+ #: counter-options.php:128
41
+ #: counter-options.php:130
42
+ #, php-format
43
+ #@ cpd
44
+ msgid "Table %s deleted"
45
+ msgstr "Таблица %s удалена"
46
+
47
+ #: counter-options.php:132
48
+ #@ cpd
49
+ msgid "Options deleted"
50
+ msgstr "Настройки удалены"
51
+
52
+ #: counter-options.php:156
53
+ #: counter-options.php:481
54
+ #@ cpd
55
+ msgid "Uninstall"
56
+ msgstr "Деинсталяция"
57
+
58
+ #: counter-options.php:157
59
+ #@ cpd
60
+ msgid "Click here"
61
+ msgstr "Нажмите сюда"
62
+
63
+ #: counter-options.php:157
64
+ #@ cpd
65
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
66
+ msgstr "Для завершения деинсталяции и отключения \"Ежедневного счетчика\". "
67
+
68
+ #: counter-options.php:179
69
+ #@ cpd
70
+ msgid "Options"
71
+ msgstr "Настройки"
72
+
73
+ #: counter-options.php:190
74
+ #@ cpd
75
+ msgid "Online time"
76
+ msgstr "Время онлайн"
77
+
78
+ #: counter-options.php:191
79
+ #@ cpd
80
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
81
+ msgstr "Секунд для онлайн счетчика. Используется для \"Посетителей онлайн \" на \"Панели инструментов\"."
82
+
83
+ #: counter-options.php:194
84
+ #@ cpd
85
+ msgid "Logged on Users"
86
+ msgstr "Вошедших пользователей"
87
+
88
+ #: counter-options.php:196
89
+ #@ cpd
90
+ msgid "count too"
91
+ msgstr "также считать"
92
+
93
+ #: counter-options.php:208
94
+ #@ cpd
95
+ msgid "Auto counter"
96
+ msgstr "Автоматический счетчик"
97
+
98
+ #: counter-options.php:209
99
+ #@ cpd
100
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
101
+ msgstr "Считает автоматически отдельные публикации и страницы, никаких изменений в шаблон не потребуется. "
102
+
103
+ #: counter-options.php:212
104
+ #@ cpd
105
+ msgid "Bots to ignore"
106
+ msgstr "Игнорировать ботов"
107
+
108
+ #: counter-options.php:331
109
+ #@ cpd
110
+ msgid "Update options"
111
+ msgstr "Сохранить настройки"
112
+
113
+ #: counter-options.php:445
114
+ #: counter-options.php:454
115
+ #@ cpd
116
+ msgid "Clean the database"
117
+ msgstr "Очистить базу данных"
118
+
119
+ #: counter-options.php:448
120
+ #@ cpd
121
+ 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."
122
+ msgstr "Вы можете очистить счетчик удалив \"Спам \". <br /> Если вы добавите новых ботов поверх \"Спама \", вы сохраните базу данных. <br /> Здесь вы можете запустить бот-фильтр снова и удалить посещения ботов."
123
+
124
+ #: counter-options.php:484
125
+ #@ cpd
126
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
127
+ msgstr "Если \"Ежедневный счетчик\" активирован, таблицы в базах данных будут сохранены :)."
128
+
129
+ #: counter-options.php:485
130
+ #@ cpd
131
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
132
+ msgstr "Тут вы можете удалить таблицы и отключить \"Ежедневный счетчик\"."
133
+
134
+ #: counter-options.php:488
135
+ #@ cpd
136
+ msgid "WARNING"
137
+ msgstr "ВНИМАНИЕ"
138
+
139
+ #: counter-options.php:489
140
+ #@ cpd
141
+ msgid "These tables (with ALL counter data) will be deleted."
142
+ msgstr "Эти таблицы (со ВСЕМИ данными счетчика), будут удалены."
143
+
144
+ #: counter-options.php:491
145
+ #@ cpd
146
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
147
+ msgstr "Когда \"Ежедневный счетчик\" переинсталлирован, счетчик начинается с 0."
148
+
149
+ #: counter-options.php:495
150
+ #@ cpd
151
+ msgid "Yes"
152
+ msgstr "Да"
153
+
154
+ #: counter-options.php:496
155
+ #@ cpd
156
+ msgid "You are sure to disable Count per Day and delete all data?"
157
+ msgstr "Вы уверены, что хотите отключить \"Ежедневный счетчик\" и удалить все данные?"
158
+
159
+ #: counter.php:1786
160
+ #: counter.php:2147
161
+ #@ cpd
162
+ msgid "Statistics"
163
+ msgstr "Статистика"
164
+
165
+ #: counter.php:529
166
+ #: counter.php:534
167
+ #: counter.php:1604
168
+ #: counter.php:1750
169
+ #: counter.php:2224
170
+ #@ cpd
171
+ msgid "Total visitors"
172
+ msgstr "Всего посетителей"
173
+
174
+ #: counter.php:530
175
+ #: counter.php:2230
176
+ #@ cpd
177
+ msgid "Visitors currently online"
178
+ msgstr "Посетителей сейчас на сайте"
179
+
180
+ #: counter.php:531
181
+ #: counter.php:2225
182
+ #@ cpd
183
+ msgid "Visitors today"
184
+ msgstr "Посетителей сегодня"
185
+
186
+ #: counter.php:532
187
+ #: counter.php:2226
188
+ #@ cpd
189
+ msgid "Visitors yesterday"
190
+ msgstr "Посетителей вчера"
191
+
192
+ #: counter.php:533
193
+ #: counter.php:2227
194
+ #@ cpd
195
+ msgid "Visitors last week"
196
+ msgstr "Посетителей на прошлой неделе"
197
+
198
+ #: counter.php:536
199
+ #: counter.php:2231
200
+ #@ cpd
201
+ msgid "Counter starts on"
202
+ msgstr "Счетчик начинается с"
203
+
204
+ #: counter.php:535
205
+ #: counter.php:636
206
+ #: counter.php:1606
207
+ #: counter.php:1756
208
+ #: counter.php:1765
209
+ #: counter.php:2229
210
+ #: userperspan.php:33
211
+ #@ cpd
212
+ msgid "Visitors per day"
213
+ msgstr "Посетителей в день"
214
+
215
+ #: counter.php:1752
216
+ #: counter.php:2228
217
+ #@ cpd
218
+ msgid "Visitors per month"
219
+ msgstr "Посетителей в месяц"
220
+
221
+ #: counter-options.php:236
222
+ #: counter.php:1754
223
+ #@ cpd
224
+ msgid "Visitors per post"
225
+ msgstr "Посетителей записи"
226
+
227
+ #: counter-options.php:117
228
+ #@ cpd
229
+ msgid "Counter reseted."
230
+ msgstr "Счетчик обнулен"
231
+
232
+ #: counter-options.php:233
233
+ #@ default
234
+ msgid "Dashboard"
235
+ msgstr "Консоль"
236
+
237
+ #: counter-options.php:237
238
+ #: counter-options.php:241
239
+ #@ cpd
240
+ msgid "How many posts do you want to see on dashboard page?"
241
+ msgstr "Сколько записей вы хотите видеть на странице консоли?"
242
+
243
+ #: counter-options.php:240
244
+ #@ cpd
245
+ msgid "Latest Counts - Posts"
246
+ msgstr "Последние счетчики - Записи"
247
+
248
+ #: counter-options.php:244
249
+ #@ cpd
250
+ msgid "Latest Counts - Days"
251
+ msgstr "Последние счетчики - Дни"
252
+
253
+ #: counter-options.php:245
254
+ #: counter-options.php:249
255
+ #: counter-options.php:275
256
+ #@ cpd
257
+ msgid "How many days do you want look back?"
258
+ msgstr "Насколько дней назад вы хотите видеть статистику?"
259
+
260
+ #: counter-options.php:248
261
+ #@ cpd
262
+ msgid "Chart - Days"
263
+ msgstr "Таблица - Дни"
264
+
265
+ #: counter-options.php:252
266
+ #@ cpd
267
+ msgid "Chart - Height"
268
+ msgstr "Таблица - Высота"
269
+
270
+ #: counter-options.php:253
271
+ #@ cpd
272
+ msgid "Height of the biggest bar"
273
+ msgstr "Высота самого большого столбика"
274
+
275
+ #: counter-options.php:290
276
+ #@ cpd
277
+ msgid "Show in lists"
278
+ msgstr "Показать в списках"
279
+
280
+ #: counter-options.php:291
281
+ #@ cpd
282
+ msgid "Show \"Reads per Post\" in a new column in post management views."
283
+ msgstr "Показать \"Прочтения сообщений\" в новой колонке в управлении записями"
284
+
285
+ #: counter-options.php:463
286
+ #: counter-options.php:472
287
+ #@ cpd
288
+ msgid "Reset the counter"
289
+ msgstr "Обнулить счетчик"
290
+
291
+ #: counter-options.php:466
292
+ #@ cpd
293
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
294
+ msgstr "Вы можете обнулить счетчик путем очистки таблицы. ВСЁ В 0!<br />Сохраните резервную копию если вам необходимы текущие данные"
295
+
296
+ #: counter.php:845
297
+ #@ cpd
298
+ msgid "no reads at this time"
299
+ msgstr "нет прочтений к этому времени"
300
+
301
+ #: counter.php:819
302
+ #@ cpd
303
+ msgid "days"
304
+ msgstr "дней"
305
+
306
+ #: counter.php:1257
307
+ #, php-format
308
+ #@ cpd
309
+ msgid "The %s most visited posts in last %s days:"
310
+ msgstr "Самое %s посещаемые записи за последние %s дней:"
311
+
312
+ #: counter.php:1591
313
+ #@ default
314
+ msgid "Settings"
315
+ msgstr "Настройки"
316
+
317
+ #: counter.php:635
318
+ #: counter.php:1766
319
+ #@ cpd
320
+ msgid "Reads per day"
321
+ msgstr "Прочтений в день"
322
+
323
+ #: counter-options.php:225
324
+ #: counter.php:528
325
+ #: counter.php:1661
326
+ #@ cpd
327
+ msgid "Reads"
328
+ msgstr "Прочтений"
329
+
330
+ #: counter.php:2218
331
+ #@ cpd
332
+ msgid "This post"
333
+ msgstr "Эта запись"
334
+
335
+ #: counter-options.php:57
336
+ #, php-format
337
+ #@ cpd
338
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
339
+ msgstr "Страны обновлены. <b>%s</b> записей в %s осталось без стран "
340
+
341
+ #: counter-options.php:62
342
+ #@ cpd
343
+ msgid "update next"
344
+ msgstr "обновить следующий"
345
+
346
+ #: counter-options.php:104
347
+ #, php-format
348
+ #@ cpd
349
+ msgid "Mass Bots cleaned. %s counts deleted."
350
+ msgstr "Таблица ботов очищена. %s записей удалено"
351
+
352
+ #: counter-options.php:197
353
+ #@ cpd
354
+ msgid "until User Level"
355
+ msgstr "до уровня пользователя"
356
+
357
+ #: counter-options.php:216
358
+ #@ cpd
359
+ msgid "Anonymous IP"
360
+ msgstr "Анонимный IP"
361
+
362
+ #: counter-options.php:261
363
+ #@ cpd
364
+ msgid "Countries"
365
+ msgstr "Страны"
366
+
367
+ #: counter-options.php:262
368
+ #@ cpd
369
+ msgid "How many countries do you want to see on dashboard page?"
370
+ msgstr "Сколько стран вы хотите видеть в списке?"
371
+
372
+ #: counter-options.php:299
373
+ #@ cpd
374
+ msgid "Start Values"
375
+ msgstr "Начальные данные"
376
+
377
+ #: counter-options.php:303
378
+ #@ cpd
379
+ msgid "Here you can change the date of first count and add a start count."
380
+ msgstr "Здесь вы можете поменять дату начала отсчета и добавить начальный счетчик"
381
+
382
+ #: counter-options.php:307
383
+ #@ cpd
384
+ msgid "Start date"
385
+ msgstr "Дата начала"
386
+
387
+ #: counter-options.php:308
388
+ #@ cpd
389
+ msgid "Your old Counter starts at?"
390
+ msgstr "Ваш старый Счетчик начинался с"
391
+
392
+ #: counter-options.php:311
393
+ #: counter-options.php:315
394
+ #@ cpd
395
+ msgid "Start count"
396
+ msgstr "Начало отсчета"
397
+
398
+ #: counter-options.php:312
399
+ #@ cpd
400
+ msgid "Add this value to \"Total visitors\"."
401
+ msgstr "Добавить значение к \"Всего посетителей\"."
402
+
403
+ #: counter-options.php:340
404
+ #@ cpd
405
+ msgid "GeoIP - Countries"
406
+ msgstr "GeoIP - Страны"
407
+
408
+ #: counter-options.php:349
409
+ #@ cpd
410
+ msgid "Update old counter data"
411
+ msgstr "Обновить данные старого счетчика"
412
+
413
+ #: counter-options.php:362
414
+ #@ cpd
415
+ msgid "Update GeoIP database"
416
+ msgstr "Обновить базу данных GeoIP"
417
+
418
+ #: counter-options.php:365
419
+ #@ cpd
420
+ msgid "Download a new version of GeoIP.dat file."
421
+ msgstr "Скачать новую версию файла GeoIP.dat."
422
+
423
+ #: counter-options.php:371
424
+ #@ cpd
425
+ msgid "More informations about GeoIP"
426
+ msgstr "Больше информации про GeoIP"
427
+
428
+ #: counter-options.php:386
429
+ #: massbots.php:33
430
+ #@ cpd
431
+ msgid "Mass Bots"
432
+ msgstr "Вероятные боты"
433
+
434
+ #: counter-options.php:390
435
+ #, php-format
436
+ #@ cpd
437
+ msgid "Show all IPs with more than %s page views per day"
438
+ msgstr "Показать все IP с более чем %s просмотров в сутки"
439
+
440
+ #: counter-options.php:391
441
+ #: notes.php:76
442
+ #: userperspan.php:43
443
+ #@ cpd
444
+ msgid "show"
445
+ msgstr "показать"
446
+
447
+ #: counter-options.php:399
448
+ #@ cpd
449
+ msgid "IP"
450
+ msgstr "IP"
451
+
452
+ #: counter-options.php:400
453
+ #: notes.php:80
454
+ #@ cpd
455
+ #@ default
456
+ msgid "Date"
457
+ msgstr "Дата"
458
+
459
+ #: counter-options.php:401
460
+ #@ cpd
461
+ msgid "Client"
462
+ msgstr "Клиент"
463
+
464
+ #: counter-options.php:402
465
+ #@ cpd
466
+ msgid "Views"
467
+ msgstr "Просмотров"
468
+
469
+ #: counter-options.php:413
470
+ #: counter-options.php:435
471
+ #, php-format
472
+ #@ cpd
473
+ msgid "Delete these %s counts"
474
+ msgstr "Удалить эти %s счетчиков"
475
+
476
+ #: counter-options.php:504
477
+ #@ cpd
478
+ msgid "Support"
479
+ msgstr "Поддержка"
480
+
481
+ #: counter.php:1716
482
+ #, php-format
483
+ #@ cpd
484
+ msgid "Time for Count per Day: <code>%s</code>."
485
+ msgstr "Время для Count per Day: <code>%s</code>"
486
+
487
+ #: counter.php:1717
488
+ #@ cpd
489
+ msgid "Bug? Problem? Question? Hint? Praise?"
490
+ msgstr "Ошибка? Проблема? Вопрос? Совет? Хвала?"
491
+
492
+ #: counter.php:1718
493
+ #, php-format
494
+ #@ cpd
495
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
496
+ msgstr "Напишите комментарий на <a href=\"%s\">странице плагина</a>"
497
+
498
+ #: counter.php:524
499
+ #: counter.php:2219
500
+ #@ cpd
501
+ msgid "Total reads"
502
+ msgstr "Всего прочтений"
503
+
504
+ #: counter.php:525
505
+ #: counter.php:2220
506
+ #@ cpd
507
+ msgid "Reads today"
508
+ msgstr "Прочтений сегодня"
509
+
510
+ #: counter.php:526
511
+ #: counter.php:2221
512
+ #@ cpd
513
+ msgid "Reads yesterday"
514
+ msgstr "Прочтений вчера"
515
+
516
+ #: counter.php:822
517
+ #: counter.php:1376
518
+ #: notes.php:47
519
+ #: notes.php:81
520
+ #@ cpd
521
+ msgid "Notes"
522
+ msgstr "Заметки"
523
+
524
+ #: counter.php:1374
525
+ #@ default
526
+ msgid "Show"
527
+ msgstr "Показать"
528
+
529
+ #: counter.php:1421
530
+ #@ cpd
531
+ msgid "Other"
532
+ msgstr "Другие"
533
+
534
+ #: counter.php:1505
535
+ #@ default
536
+ msgid "Edit Post"
537
+ msgstr "Редактировать запись"
538
+
539
+ #: counter.php:1520
540
+ #: massbots.php:50
541
+ #: userperspan.php:63
542
+ #@ default
543
+ msgid "Front page displays"
544
+ msgstr "Отображений главной страницы"
545
+
546
+ #: counter-options.php:266
547
+ #: counter.php:1760
548
+ #@ cpd
549
+ msgid "Browsers"
550
+ msgstr "Браузеры"
551
+
552
+ #: counter.php:1755
553
+ #@ cpd
554
+ msgid "Latest Counts"
555
+ msgstr "Недавние подсчеты"
556
+
557
+ #: counter.php:1757
558
+ #@ default
559
+ msgid "Plugin"
560
+ msgstr "Плагин"
561
+
562
+ #: counter.php:1770
563
+ #@ cpd
564
+ msgid "Reads per Country"
565
+ msgstr "Прочтений по странам"
566
+
567
+ #: counter.php:900
568
+ #: counter.php:1856
569
+ #@ cpd
570
+ msgid "Map"
571
+ msgstr "Карта"
572
+
573
+ #: geoip/geoip.php:108
574
+ #@ cpd
575
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
576
+ msgstr "Приносим извинения, необходимые функции (zlib) не установлена или не включена в php.ini."
577
+
578
+ #: geoip/geoip.php:132
579
+ #@ cpd
580
+ msgid "New GeoIP database installed."
581
+ msgstr "Новая база данных GeoIP установлена."
582
+
583
+ #: geoip/geoip.php:134
584
+ #@ cpd
585
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
586
+ msgstr "Приносим извинения, произошла ошибка. Попробуйте снова или проверьте что права доступа к папке \"geoip\" - 777"
587
+
588
+ #: notes.php:81
589
+ #@ cpd
590
+ msgid "(1 per day)"
591
+ msgstr "(1 на сутки)"
592
+
593
+ #: notes.php:82
594
+ #@ default
595
+ msgid "Action"
596
+ msgstr "Действие"
597
+
598
+ #: notes.php:87
599
+ #@ cpd
600
+ msgid "add"
601
+ msgstr "добавить"
602
+
603
+ #: notes.php:102
604
+ #@ cpd
605
+ msgid "save"
606
+ msgstr "сохранить"
607
+
608
+ #: notes.php:103
609
+ #@ cpd
610
+ msgid "delete"
611
+ msgstr "удалить"
612
+
613
+ #: notes.php:114
614
+ #@ cpd
615
+ msgid "edit"
616
+ msgstr "редактировать"
617
+
618
+ #: counter-options.php:220
619
+ #@ cpd
620
+ msgid "Cache"
621
+ msgstr "Кэш"
622
+
623
+ #: counter-options.php:221
624
+ #@ cpd
625
+ msgid "I use a cache plugin. Count these visits with ajax."
626
+ msgstr "Я использую кэшированый плагин. Считать эти посещения при помощи ajax"
627
+
628
+ #: counter-options.php:267
629
+ #@ cpd
630
+ msgid "Substring of the user agent, separated by comma"
631
+ msgstr "Подстрока агента пользователя разделенный запятой"
632
+
633
+ #: counter-options.php:324
634
+ #@ cpd
635
+ msgid "Debug mode"
636
+ msgstr "Режим отладки"
637
+
638
+ #: counter-options.php:326
639
+ #@ cpd
640
+ msgid "Show debug informations at the bottom of all pages."
641
+ msgstr "Добавить отладочную информацию внизу каждой страницы."
642
+
643
+ #: counter.php:1771
644
+ #@ cpd
645
+ msgid "Visitors per Country"
646
+ msgstr "Посетителей по странам"
647
+
648
+ #: userperspan.php:37
649
+ #@ cpd
650
+ msgid "Start"
651
+ msgstr "Начало"
652
+
653
+ #: userperspan.php:39
654
+ #@ cpd
655
+ msgid "End"
656
+ msgstr "Конец"
657
+
658
+ #: userperspan.php:41
659
+ #@ cpd
660
+ msgid "PostID"
661
+ msgstr "ID сообщения"
662
+
663
+ #: counter-options.php:316
664
+ #@ cpd
665
+ msgid "Add this value to \"Total reads\"."
666
+ msgstr "Добавить значение к \"Всего прочтений\"."
667
+
668
+ #: counter-options.php:352
669
+ #@ cpd
670
+ 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!"
671
+ msgstr "Вы можете получить данные стран для всех записей проверив IP адреса заново. Может занять некоторое время!"
672
+
673
+ #: userperspan.php:49
674
+ #@ cpd
675
+ msgid "no data found"
676
+ msgstr "ничего не найдено"
677
+
678
+ #: counter-options.php:186
679
+ #@ cpd
680
+ msgid "Counter"
681
+ msgstr "Счетчик"
682
+
683
+ #: counter-options.php:224
684
+ #@ cpd
685
+ msgid "Clients and referrers"
686
+ msgstr "Клиенты и ссылающиеся сайты"
687
+
688
+ #: counter-options.php:225
689
+ #@ cpd
690
+ 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."
691
+ msgstr "Сохранить и показать клиентов и ссылающиеся сайты.<br />Требует много дискового пространства в базе данных, но предоставляет более детальную информацию о ваших посетителях."
692
+
693
+ #: counter-options.php:278
694
+ #@ cpd
695
+ msgid "Local URLs"
696
+ msgstr "Локальные URL"
697
+
698
+ #: counter-options.php:279
699
+ #@ cpd
700
+ msgid "Show local referrers too."
701
+ msgstr "Показывать локальные переходы тоже."
702
+
703
+ #: counter-options.php:287
704
+ #@ default
705
+ msgid "Posts"
706
+ msgstr "Записи"
707
+
708
+ #: counter-options.php:287
709
+ #@ default
710
+ msgid "Pages"
711
+ msgstr "Страницы"
712
+
713
+ #: counter.php:527
714
+ #: counter.php:2222
715
+ #@ cpd
716
+ msgid "Reads last week"
717
+ msgstr "Прочтений на прошлой неделе"
718
+
719
+ #: counter.php:1514
720
+ #@ default
721
+ msgid "Category"
722
+ msgstr "Категория"
723
+
724
+ #: counter.php:1517
725
+ #@ default
726
+ msgid "Tag"
727
+ msgstr "Тег"
728
+
729
+ #: counter.php:1719
730
+ #@ default
731
+ msgid "License"
732
+ msgstr "Лицензия"
733
+
734
+ #: counter.php:1753
735
+ #: counter.php:2223
736
+ #@ cpd
737
+ msgid "Reads per month"
738
+ msgstr "Прочтений за месяц"
739
+
740
+ #: counter.php:1761
741
+ #@ cpd
742
+ msgid "Referrer"
743
+ msgstr "Ссылающийся сайт"
744
+
745
+ #: counter-options.php:256
746
+ #@ cpd
747
+ msgid "Old Charts"
748
+ msgstr "Старые таблицы"
749
+
750
+ #: counter-options.php:257
751
+ #@ cpd
752
+ msgid "Show old bar charts."
753
+ msgstr "Отображать в таблицу столбиками"
754
+
755
+ #: counter-options.php:270
756
+ #@ cpd
757
+ msgid "Referrers - Entries"
758
+ msgstr "Ссылающиеся сайты - Вхождения"
759
+
760
+ #: counter-options.php:271
761
+ #@ cpd
762
+ msgid "How many referrers do you want to see on dashboard page?"
763
+ msgstr "Сколько ссылающихся сайтов вы хотите увидеть на странице статистики?"
764
+
765
+ #: counter-options.php:274
766
+ #@ cpd
767
+ msgid "Referrers - Days"
768
+ msgstr "Ссылающиеся сайты - Дни"
769
+
770
+ #: counter.php:1449
771
+ #, php-format
772
+ #@ cpd
773
+ msgid "The %s referrers in last %s days:"
774
+ msgstr "%s ссылающихся сайтов за последние %s дней:"
775
+
776
+ #: counter.php:1751
777
+ #@ cpd
778
+ msgid "Visitors online"
779
+ msgstr "Посетителей на сайте"
780
+
781
+ #: counter.php:2242
782
+ #@ default
783
+ msgid "Title"
784
+ msgstr "Заголовок"
locale/cpd-sv_SE.mo ADDED
Binary file
locale/cpd-sv_SE.po ADDED
@@ -0,0 +1,784 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Count per Day på svenska\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-02-20 10:51+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Magnus Suther <magnus.suther@gmail.com>\n"
8
+ "Language-Team: http://www.magnussuther.se <magnus.suther@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-Poedit-Language: Swedish\n"
14
+ "X-Poedit-Country: SWEDEN\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
+ "X-Poedit-Basepath: ../\n"
18
+ "X-Textdomain-Support: yes\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ # @ cpd
22
+ #: counter.php:524
23
+ #: counter.php:2210
24
+ msgid "Total reads"
25
+ msgstr "Antal läsningar totalt"
26
+
27
+ # @ cpd
28
+ #: counter.php:525
29
+ #: counter.php:2211
30
+ msgid "Reads today"
31
+ msgstr "Läsningar idag"
32
+
33
+ # @ cpd
34
+ #: counter.php:526
35
+ #: counter.php:2212
36
+ msgid "Reads yesterday"
37
+ msgstr "Läsningar igår"
38
+
39
+ # @ cpd
40
+ #: counter.php:527
41
+ #: counter.php:2213
42
+ msgid "Reads last week"
43
+ msgstr "Läsningar förra veckan"
44
+
45
+ # @ cpd
46
+ #: counter.php:528
47
+ #: counter.php:1653
48
+ #: counter-options.php:225
49
+ msgid "Reads"
50
+ msgstr "Visningar"
51
+
52
+ # @ cpd
53
+ #: counter.php:529
54
+ #: counter.php:534
55
+ #: counter.php:1596
56
+ #: counter.php:1741
57
+ #: counter.php:2215
58
+ msgid "Total visitors"
59
+ msgstr "Antal besökare totalt"
60
+
61
+ # @ cpd
62
+ #: counter.php:530
63
+ #: counter.php:2221
64
+ msgid "Visitors currently online"
65
+ msgstr "Besökare online nu"
66
+
67
+ # @ cpd
68
+ #: counter.php:531
69
+ #: counter.php:2216
70
+ msgid "Visitors today"
71
+ msgstr "Besökare idag"
72
+
73
+ # @ cpd
74
+ #: counter.php:532
75
+ #: counter.php:2217
76
+ msgid "Visitors yesterday"
77
+ msgstr "Besökare igår"
78
+
79
+ # @ cpd
80
+ #: counter.php:533
81
+ #: counter.php:2218
82
+ msgid "Visitors last week"
83
+ msgstr "Besökare förra veckan"
84
+
85
+ # @ cpd
86
+ #: counter.php:535
87
+ #: counter.php:636
88
+ #: counter.php:1598
89
+ #: counter.php:1747
90
+ #: counter.php:1756
91
+ #: counter.php:2220
92
+ #: userperspan.php:33
93
+ msgid "Visitors per day"
94
+ msgstr "Besök per dag"
95
+
96
+ # @ cpd
97
+ #: counter.php:536
98
+ #: counter.php:2222
99
+ msgid "Counter starts on"
100
+ msgstr "Räknaren startar den"
101
+
102
+ # @ cpd
103
+ #: counter.php:635
104
+ #: counter.php:1757
105
+ msgid "Reads per day"
106
+ msgstr "Läsningar per dag"
107
+
108
+ # @ cpd
109
+ #: counter.php:819
110
+ msgid "days"
111
+ msgstr "dagar"
112
+
113
+ # @ cpd
114
+ #: counter.php:822
115
+ #: counter.php:1376
116
+ #: notes.php:47
117
+ #: notes.php:81
118
+ msgid "Notes"
119
+ msgstr "Anteckningar"
120
+
121
+ # @ cpd
122
+ #: counter.php:845
123
+ msgid "no reads at this time"
124
+ msgstr "inga läsningar vid denna tidpunkt"
125
+
126
+ # @ cpd
127
+ #: counter.php:900
128
+ #: counter.php:1846
129
+ msgid "Map"
130
+ msgstr "Karta"
131
+
132
+ # @ cpd
133
+ #: counter.php:1257
134
+ #, php-format
135
+ msgid "The %s most visited posts in last %s days:"
136
+ msgstr "De %s mest visade inläggen de senaste %s dagarna:"
137
+
138
+ # @ default
139
+ #: counter.php:1374
140
+ msgid "Show"
141
+ msgstr "Visa"
142
+
143
+ # @ cpd
144
+ #: counter.php:1415
145
+ msgid "Other"
146
+ msgstr "Övriga"
147
+
148
+ # @ cpd
149
+ #: counter.php:1440
150
+ #, php-format
151
+ msgid "The %s referrers in last %s days:"
152
+ msgstr "De %s senaste hänvisningarna de senaste %s dagarna:"
153
+
154
+ # @ default
155
+ #: counter.php:1497
156
+ msgid "Edit Post"
157
+ msgstr "Redigera inlägg"
158
+
159
+ # @ default
160
+ #: counter.php:1506
161
+ msgid "Category"
162
+ msgstr "Kategori"
163
+
164
+ # @ default
165
+ #: counter.php:1509
166
+ msgid "Tag"
167
+ msgstr "Tag"
168
+
169
+ # @ default
170
+ #: counter.php:1512
171
+ #: massbots.php:50
172
+ #: userperspan.php:63
173
+ msgid "Front page displays"
174
+ msgstr "Visningar av framsidan"
175
+
176
+ # @ default
177
+ #: counter.php:1583
178
+ msgid "Settings"
179
+ msgstr "Inställningar"
180
+
181
+ # @ cpd
182
+ #: counter.php:1708
183
+ #, php-format
184
+ msgid "Time for Count per Day: <code>%s</code>."
185
+ msgstr "Tid för Count per Day: <code>%s</code>."
186
+
187
+ # @ cpd
188
+ #: counter.php:1709
189
+ msgid "Bug? Problem? Question? Hint? Praise?"
190
+ msgstr "Bugg? Problem? Fråga? Tips? Beröm?"
191
+
192
+ # @ cpd
193
+ #: counter.php:1710
194
+ #, php-format
195
+ msgid "Write a comment on the <a href=\"%s\">plugin page</a>."
196
+ msgstr "Skriv en kommentar på <a href=\"%s\">pluginsidan</a>."
197
+
198
+ # @ default
199
+ #: counter.php:1711
200
+ msgid "License"
201
+ msgstr "Licens"
202
+
203
+ # @ cpd
204
+ #: counter.php:1742
205
+ msgid "Visitors online"
206
+ msgstr "Besökare online"
207
+
208
+ # @ cpd
209
+ #: counter.php:1743
210
+ #: counter.php:2219
211
+ msgid "Visitors per month"
212
+ msgstr "Besökare per månad"
213
+
214
+ # @ cpd
215
+ #: counter.php:1744
216
+ #: counter.php:2214
217
+ msgid "Reads per month"
218
+ msgstr "Läsningar per månad"
219
+
220
+ # @ cpd
221
+ #: counter.php:1745
222
+ #: counter-options.php:236
223
+ msgid "Visitors per post"
224
+ msgstr "Besökare per inlägg"
225
+
226
+ # @ cpd
227
+ #: counter.php:1746
228
+ msgid "Latest Counts"
229
+ msgstr "Senaste besöken"
230
+
231
+ # @ default
232
+ #: counter.php:1748
233
+ msgid "Plugin"
234
+ msgstr "Plugin"
235
+
236
+ # @ cpd
237
+ #: counter.php:1751
238
+ #: counter-options.php:266
239
+ msgid "Browsers"
240
+ msgstr "Webbläsare"
241
+
242
+ # @ cpd
243
+ #: counter.php:1752
244
+ msgid "Referrer"
245
+ msgstr "Hänvisare"
246
+
247
+ # @ cpd
248
+ #: counter.php:1761
249
+ msgid "Reads per Country"
250
+ msgstr "Visningar per land"
251
+
252
+ # @ cpd
253
+ #: counter.php:1762
254
+ msgid "Visitors per Country"
255
+ msgstr "Besökare per land"
256
+
257
+ # @ cpd
258
+ #: counter.php:1777
259
+ #: counter.php:2138
260
+ msgid "Statistics"
261
+ msgstr "Statistik"
262
+
263
+ # @ cpd
264
+ #: counter.php:2209
265
+ msgid "This post"
266
+ msgstr "Det här inlägget"
267
+
268
+ # @ default
269
+ #: counter.php:2233
270
+ msgid "Title"
271
+ msgstr "Titel"
272
+
273
+ # @ cpd
274
+ #: notes.php:76
275
+ #: userperspan.php:43
276
+ #: counter-options.php:391
277
+ msgid "show"
278
+ msgstr "visa"
279
+
280
+ # @ cpd
281
+ # @ default
282
+ #: notes.php:80
283
+ #: counter-options.php:400
284
+ msgid "Date"
285
+ msgstr "Datum"
286
+
287
+ # @ cpd
288
+ #: notes.php:81
289
+ msgid "(1 per day)"
290
+ msgstr "(1 per dag)"
291
+
292
+ # @ default
293
+ #: notes.php:82
294
+ msgid "Action"
295
+ msgstr "Åtgärd"
296
+
297
+ # @ cpd
298
+ #: notes.php:87
299
+ msgid "add"
300
+ msgstr "lägg till"
301
+
302
+ # @ cpd
303
+ #: notes.php:102
304
+ msgid "save"
305
+ msgstr "spara"
306
+
307
+ # @ cpd
308
+ #: notes.php:103
309
+ msgid "delete"
310
+ msgstr "ta bort"
311
+
312
+ # @ cpd
313
+ #: notes.php:114
314
+ msgid "edit"
315
+ msgstr "redigera"
316
+
317
+ # @ cpd
318
+ #: massbots.php:33
319
+ #: counter-options.php:386
320
+ msgid "Mass Bots"
321
+ msgstr "Massbotar"
322
+
323
+ # @ cpd
324
+ #: userperspan.php:37
325
+ msgid "Start"
326
+ msgstr "Start"
327
+
328
+ # @ cpd
329
+ #: userperspan.php:39
330
+ msgid "End"
331
+ msgstr "Slut"
332
+
333
+ # @ cpd
334
+ #: userperspan.php:41
335
+ msgid "PostID"
336
+ msgstr "PostID"
337
+
338
+ # @ cpd
339
+ #: userperspan.php:49
340
+ msgid "no data found"
341
+ msgstr "ingen information hittades"
342
+
343
+ # @ cpd
344
+ #: counter-options.php:46
345
+ msgid "Options updated"
346
+ msgstr "Inställningarna är uppdaterade"
347
+
348
+ # @ cpd
349
+ #: counter-options.php:57
350
+ #, php-format
351
+ msgid "Countries updated. <b>%s</b> entries in %s without country left"
352
+ msgstr "Länder uppdaterade. <b>%s</b> inlägg i %s utan länder kvar"
353
+
354
+ # @ cpd
355
+ #: counter-options.php:62
356
+ msgid "update next"
357
+ msgstr "uppdatera nästa"
358
+
359
+ # @ cpd
360
+ #: counter-options.php:104
361
+ #, php-format
362
+ msgid "Mass Bots cleaned. %s counts deleted."
363
+ msgstr "Massbotar rensades. %s stycken togs bort."
364
+
365
+ # @ cpd
366
+ #: counter-options.php:111
367
+ #, php-format
368
+ msgid "Database cleaned. %s rows deleted."
369
+ msgstr "Databasen städades. %s rader togs bort."
370
+
371
+ # @ cpd
372
+ #: counter-options.php:117
373
+ msgid "Counter reseted."
374
+ msgstr "Räknaren återställdes."
375
+
376
+ # @ cpd
377
+ #: counter-options.php:121
378
+ #: counter-options.php:496
379
+ msgid "UNINSTALL Count per Day"
380
+ msgstr "AVINSTALLERA Count per Day"
381
+
382
+ # @ cpd
383
+ #: counter-options.php:126
384
+ #: counter-options.php:128
385
+ #: counter-options.php:130
386
+ #, php-format
387
+ msgid "Table %s deleted"
388
+ msgstr "Tabellen %s raderades"
389
+
390
+ # @ cpd
391
+ #: counter-options.php:132
392
+ msgid "Options deleted"
393
+ msgstr "Inställningarna togs bort"
394
+
395
+ # @ cpd
396
+ #: counter-options.php:156
397
+ #: counter-options.php:481
398
+ msgid "Uninstall"
399
+ msgstr "Avinstallera"
400
+
401
+ # @ cpd
402
+ #: counter-options.php:157
403
+ msgid "Click here"
404
+ msgstr "Klicka här"
405
+
406
+ # @ cpd
407
+ #: counter-options.php:157
408
+ msgid "to finish the uninstall and to deactivate \"Count per Day\"."
409
+ msgstr "för att avinstallera och avaktivera \"Count per Day\"."
410
+
411
+ # @ cpd
412
+ #: counter-options.php:179
413
+ msgid "Options"
414
+ msgstr "Inställningar"
415
+
416
+ # @ cpd
417
+ #: counter-options.php:186
418
+ msgid "Counter"
419
+ msgstr "Räknare"
420
+
421
+ # @ cpd
422
+ #: counter-options.php:190
423
+ msgid "Online time"
424
+ msgstr "Tid online"
425
+
426
+ # @ cpd
427
+ #: counter-options.php:191
428
+ msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
429
+ msgstr "Sekunder för onlineräknare. Används för \"Besökare online\" på panelsidan."
430
+
431
+ # @ cpd
432
+ #: counter-options.php:194
433
+ msgid "Logged on Users"
434
+ msgstr "Inloggade användare"
435
+
436
+ # @ cpd
437
+ #: counter-options.php:196
438
+ msgid "count too"
439
+ msgstr "räkna med"
440
+
441
+ # @ cpd
442
+ #: counter-options.php:197
443
+ msgid "until User Level"
444
+ msgstr "upp till användarbehörighet"
445
+
446
+ # @ cpd
447
+ #: counter-options.php:208
448
+ msgid "Auto counter"
449
+ msgstr "Automatisk räknare"
450
+
451
+ # @ cpd
452
+ #: counter-options.php:209
453
+ msgid "Counts automatically single-posts and pages, no changes on template needed."
454
+ msgstr "Räknar automatiskt enstaka inlägg och sidor, inga ändringar i mall behövs."
455
+
456
+ # @ cpd
457
+ #: counter-options.php:212
458
+ msgid "Bots to ignore"
459
+ msgstr "Bots att ignorera"
460
+
461
+ # @ cpd
462
+ #: counter-options.php:216
463
+ msgid "Anonymous IP"
464
+ msgstr "Anonym IP-adress"
465
+
466
+ # @ cpd
467
+ #: counter-options.php:220
468
+ msgid "Cache"
469
+ msgstr "Cache"
470
+
471
+ # @ cpd
472
+ #: counter-options.php:221
473
+ msgid "I use a cache plugin. Count these visits with ajax."
474
+ msgstr "Jag använder ett plugin för cache. Räkna dessa besök med hjälp av ajax."
475
+
476
+ # @ cpd
477
+ #: counter-options.php:224
478
+ msgid "Clients and referrers"
479
+ msgstr "Klienter och hänvisare"
480
+
481
+ # @ cpd
482
+ #: counter-options.php:225
483
+ 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."
484
+ msgstr "Spara och visa klienter och hänvisare.<br />Kräver stor plats i databasen, men ger dig mer information om dina besökare."
485
+
486
+ # @ default
487
+ #: counter-options.php:233
488
+ msgid "Dashboard"
489
+ msgstr "Panel"
490
+
491
+ # @ cpd
492
+ #: counter-options.php:237
493
+ #: counter-options.php:241
494
+ msgid "How many posts do you want to see on dashboard page?"
495
+ msgstr "Hur många inlägg vill du se på panelsidan?"
496
+
497
+ # @ cpd
498
+ #: counter-options.php:240
499
+ msgid "Latest Counts - Posts"
500
+ msgstr "Senaste träffar - Inlägg"
501
+
502
+ # @ cpd
503
+ #: counter-options.php:244
504
+ msgid "Latest Counts - Days"
505
+ msgstr "Senaste träffar - Dagar"
506
+
507
+ # @ cpd
508
+ #: counter-options.php:245
509
+ #: counter-options.php:249
510
+ #: counter-options.php:275
511
+ msgid "How many days do you want look back?"
512
+ msgstr "Hur många dagar bakåt vill du se?"
513
+
514
+ # @ cpd
515
+ #: counter-options.php:248
516
+ msgid "Chart - Days"
517
+ msgstr "Diagram - Dagar"
518
+
519
+ # @ cpd
520
+ #: counter-options.php:252
521
+ msgid "Chart - Height"
522
+ msgstr "Diagram - Höjd"
523
+
524
+ # @ cpd
525
+ #: counter-options.php:253
526
+ msgid "Height of the biggest bar"
527
+ msgstr "Den högsta stapelns höjd"
528
+
529
+ # @ cpd
530
+ #: counter-options.php:256
531
+ msgid "Old Charts"
532
+ msgstr "Gamla diagram"
533
+
534
+ # @ cpd
535
+ #: counter-options.php:257
536
+ msgid "Show old bar charts."
537
+ msgstr "Visa gamla stapeldiagram."
538
+
539
+ # @ cpd
540
+ #: counter-options.php:261
541
+ msgid "Countries"
542
+ msgstr "Länder"
543
+
544
+ # @ cpd
545
+ #: counter-options.php:262
546
+ msgid "How many countries do you want to see on dashboard page?"
547
+ msgstr "Hur många länder vill du visa på Panelen?"
548
+
549
+ # @ cpd
550
+ #: counter-options.php:267
551
+ msgid "Substring of the user agent, separated by comma"
552
+ msgstr "Delsträng av \"user agent\", separerad med kommatecken"
553
+
554
+ # @ cpd
555
+ #: counter-options.php:270
556
+ msgid "Referrers - Entries"
557
+ msgstr "Hänvisare - Inlägg"
558
+
559
+ # @ cpd
560
+ #: counter-options.php:271
561
+ msgid "How many referrers do you want to see on dashboard page?"
562
+ msgstr "Hur många hänvisare vill du se på panelsidan?"
563
+
564
+ # @ cpd
565
+ #: counter-options.php:274
566
+ msgid "Referrers - Days"
567
+ msgstr "Hänvisare - Dagar"
568
+
569
+ # @ cpd
570
+ #: counter-options.php:278
571
+ msgid "Local URLs"
572
+ msgstr "Lokala URL:er"
573
+
574
+ # @ cpd
575
+ #: counter-options.php:279
576
+ msgid "Show local referrers too."
577
+ msgstr "Visa även lokala hänvisare."
578
+
579
+ # @ default
580
+ #: counter-options.php:287
581
+ msgid "Posts"
582
+ msgstr "Inlägg"
583
+
584
+ # @ default
585
+ #: counter-options.php:287
586
+ msgid "Pages"
587
+ msgstr "Sidor"
588
+
589
+ # @ cpd
590
+ #: counter-options.php:290
591
+ msgid "Show in lists"
592
+ msgstr "Visa i listor"
593
+
594
+ # @ cpd
595
+ #: counter-options.php:291
596
+ msgid "Show \"Reads per Post\" in a new column in post management views."
597
+ msgstr "Visa \"Visningar per inlägg\" i en ny kolumn när du redigerar ett inlägg."
598
+
599
+ # @ cpd
600
+ #: counter-options.php:299
601
+ msgid "Start Values"
602
+ msgstr "Startvärden"
603
+
604
+ # @ cpd
605
+ #: counter-options.php:303
606
+ msgid "Here you can change the date of first count and add a start count."
607
+ msgstr "Här kan du ändra startdatum och lägga till ett startvärde för räknaren."
608
+
609
+ # @ cpd
610
+ #: counter-options.php:307
611
+ msgid "Start date"
612
+ msgstr "Startdatum"
613
+
614
+ # @ cpd
615
+ #: counter-options.php:308
616
+ msgid "Your old Counter starts at?"
617
+ msgstr "Din gamla räknare startar den?"
618
+
619
+ # @ cpd
620
+ #: counter-options.php:311
621
+ #: counter-options.php:315
622
+ msgid "Start count"
623
+ msgstr "Starta räknaren"
624
+
625
+ # @ cpd
626
+ #: counter-options.php:312
627
+ msgid "Add this value to \"Total visitors\"."
628
+ msgstr "Lägg till det här värdet till \"Besökare totalt\"."
629
+
630
+ # @ cpd
631
+ #: counter-options.php:316
632
+ msgid "Add this value to \"Total reads\"."
633
+ msgstr "Lägg till det här värdet till \"Läsningar totalt\"."
634
+
635
+ # @ cpd
636
+ #: counter-options.php:324
637
+ msgid "Debug mode"
638
+ msgstr "Felsökningsläge"
639
+
640
+ # @ cpd
641
+ #: counter-options.php:326
642
+ msgid "Show debug informations at the bottom of all pages."
643
+ msgstr "Visa felsökningsinformation längst ner på alla sidor."
644
+
645
+ # @ cpd
646
+ #: counter-options.php:331
647
+ msgid "Update options"
648
+ msgstr "Uppdatera inställningarna"
649
+
650
+ # @ cpd
651
+ #: counter-options.php:340
652
+ msgid "GeoIP - Countries"
653
+ msgstr "GeoIP - Länder"
654
+
655
+ # @ cpd
656
+ #: counter-options.php:349
657
+ msgid "Update old counter data"
658
+ msgstr "Uppdatera gammal räknardata"
659
+
660
+ # @ cpd
661
+ #: counter-options.php:352
662
+ 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!"
663
+ msgstr "Du kan få information om land för alla poster i databasen genom att kolla IP-adresserna mot GeoIP-databasen. Räkna med att det kan ta ett tag!"
664
+
665
+ # @ cpd
666
+ #: counter-options.php:362
667
+ msgid "Update GeoIP database"
668
+ msgstr "Uppdatera GeoIP-databasen"
669
+
670
+ # @ cpd
671
+ #: counter-options.php:365
672
+ msgid "Download a new version of GeoIP.dat file."
673
+ msgstr "Ladda ner en ny version av filen GeoIP.dat."
674
+
675
+ # @ cpd
676
+ #: counter-options.php:371
677
+ msgid "More informations about GeoIP"
678
+ msgstr "Mer information om GeoIP"
679
+
680
+ # @ cpd
681
+ #: counter-options.php:390
682
+ #, php-format
683
+ msgid "Show all IPs with more than %s page views per day"
684
+ msgstr "Visa alla IP-adresser med mer än %s sidvisningar per dag"
685
+
686
+ # @ cpd
687
+ #: counter-options.php:399
688
+ msgid "IP"
689
+ msgstr "IP"
690
+
691
+ # @ cpd
692
+ #: counter-options.php:401
693
+ msgid "Client"
694
+ msgstr "Klient"
695
+
696
+ # @ cpd
697
+ #: counter-options.php:402
698
+ msgid "Views"
699
+ msgstr "Visningar"
700
+
701
+ # @ cpd
702
+ #: counter-options.php:413
703
+ #: counter-options.php:435
704
+ #, php-format
705
+ msgid "Delete these %s counts"
706
+ msgstr "Ta bort bort %s stycken"
707
+
708
+ # @ cpd
709
+ #: counter-options.php:445
710
+ #: counter-options.php:454
711
+ msgid "Clean the database"
712
+ msgstr "Städa databasen"
713
+
714
+ # @ cpd
715
+ #: counter-options.php:448
716
+ 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."
717
+ msgstr "Du kan rensa räknartabellen genom att ta bort \"spamdata\".<br />Om du lägger till nya botar ovan, behålls den gamla \"spamdatan\" i databasen.<br />Här kan du köra botfiltret igen och ta bort botarnas besök."
718
+
719
+ # @ cpd
720
+ #: counter-options.php:463
721
+ #: counter-options.php:472
722
+ msgid "Reset the counter"
723
+ msgstr "Nollställ räknaren"
724
+
725
+ # @ cpd
726
+ #: counter-options.php:466
727
+ msgid "You can reset the counter by empty the table. ALL TO 0!<br />Make a backup if you need the current data!"
728
+ msgstr "Du kan nollställa räknaren genom att tömma tabellen. ALLA TILL 0!<br />Ta backup om du vill spara nuvarande data!"
729
+
730
+ # @ cpd
731
+ #: counter-options.php:484
732
+ msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
733
+ msgstr "Om du endast avaktiverar \"Count per Day\" behålls tabellerna i databasen."
734
+
735
+ # @ cpd
736
+ #: counter-options.php:485
737
+ msgid "Here you can delete the tables and disable \"Count per Day\"."
738
+ msgstr "Här kan du ta bort tabellerna och avaktivera \"Count per Day\"."
739
+
740
+ # @ cpd
741
+ #: counter-options.php:488
742
+ msgid "WARNING"
743
+ msgstr "VARNING"
744
+
745
+ # @ cpd
746
+ #: counter-options.php:489
747
+ msgid "These tables (with ALL counter data) will be deleted."
748
+ msgstr "Följande tabeller (inklusive all data tillhörande räknaren) kommer att tas bort."
749
+
750
+ # @ cpd
751
+ #: counter-options.php:491
752
+ msgid "If \"Count per Day\" re-installed, the counter starts at 0."
753
+ msgstr "Om du ominstallerar \"Count per Day\", kommer räknaren att starta på 0."
754
+
755
+ # @ cpd
756
+ #: counter-options.php:495
757
+ msgid "Yes"
758
+ msgstr "Ja"
759
+
760
+ # @ cpd
761
+ #: counter-options.php:496
762
+ msgid "You are sure to disable Count per Day and delete all data?"
763
+ msgstr "Är du säker på att du vill avaktivera Count per Day och radera all data?"
764
+
765
+ # @ cpd
766
+ #: counter-options.php:504
767
+ msgid "Support"
768
+ msgstr "Support"
769
+
770
+ # @ cpd
771
+ #: geoip/geoip.php:108
772
+ msgid "Sorry, necessary functions (zlib) not installed or enabled in php.ini."
773
+ msgstr "Tyvärr, nödvändiga funktioner (zlib) är inte installerade/aktiverade i php.ini."
774
+
775
+ # @ cpd
776
+ #: geoip/geoip.php:132
777
+ msgid "New GeoIP database installed."
778
+ msgstr "Ny GeoIP-databas installerades."
779
+
780
+ # @ cpd
781
+ #: geoip/geoip.php:134
782
+ msgid "Sorry, an error occurred. Try again or check the access rights of directory \"geoip\" is 777."
783
+ msgstr "Ett fel uppstod. Prova igen eller kolla så att rättigheterna på mappen \"geoip\" är 777."
784
+
locale/de_DE.mo DELETED
Binary file
locale/de_DE.po DELETED
@@ -1,177 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Count per Day\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-11-02 12:13+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Tom Braider <post@tomsdimension.de>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-Language: German\n"
13
- "X-Poedit-Country: GERMANY\n"
14
- "X-Poedit-KeywordsList: __;_e\n"
15
- "X-Poedit-Basepath: P:\\xampp\\htdocs\\wp\\wp-content\\plugins\\count-per-day\n"
16
- "X-Poedit-SearchPath-0: .\n"
17
-
18
- #: counter-options.php:20
19
- msgid "Options updated"
20
- msgstr "Einstellungen aktualisiert"
21
-
22
- #: counter-options.php:25
23
- #, php-format
24
- msgid "Database cleaned. %s rows deleted."
25
- msgstr "Datenbank aufger&auml;umt. %s Datens&auml;tze gel&ouml;scht."
26
-
27
- #: counter-options.php:28
28
- #: counter-options.php:129
29
- msgid "UNINSTALL Count per Day"
30
- msgstr "DEINSTALLIERE Count per Day"
31
-
32
- #: counter-options.php:40
33
- #: counter-options.php:42
34
- #, php-format
35
- msgid "Table %s deleted"
36
- msgstr "Tabelle %s gel&ouml;scht"
37
-
38
- #: counter-options.php:44
39
- msgid "Options deleted"
40
- msgstr "Einstellungen gel&ouml;scht"
41
-
42
- #: counter-options.php:60
43
- #: counter-options.php:114
44
- msgid "Uninstall"
45
- msgstr "Deinstallation"
46
-
47
- #: counter-options.php:61
48
- msgid "Click here"
49
- msgstr "Klick hier"
50
-
51
- #: counter-options.php:61
52
- msgid "to finish the uninstall and to deactivate \"Count per Day\"."
53
- msgstr "um die Deinstallation zu beenden und \"Count per Day\" zu deaktivieren."
54
-
55
- #: counter-options.php:68
56
- msgid "Options"
57
- msgstr "Einstellungen"
58
-
59
- #: counter-options.php:73
60
- msgid "Online time"
61
- msgstr "Onlinezeit"
62
-
63
- #: counter-options.php:74
64
- msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
65
- msgstr "Sekunden f&uuml;r Onlinecounter. Wird f&uuml;r die Anzeige der \"Besucher momentan online\" im Dashboard verwendet."
66
-
67
- #: counter-options.php:76
68
- msgid "Loged on Users"
69
- msgstr "Angemeldete Benutzer"
70
-
71
- #: counter-options.php:77
72
- msgid "count too"
73
- msgstr "auch mit z&auml;hlen"
74
-
75
- #: counter-options.php:79
76
- msgid "Auto counter"
77
- msgstr "Auto-Counter"
78
-
79
- #: counter-options.php:80
80
- msgid "Counts automatically single-posts and pages, no changes on template needed."
81
- msgstr "Z&auml;hlt automatisch Besuche auf Single-Posts und Seiten ohne &Auml;nderungen am Template."
82
-
83
- #: counter-options.php:82
84
- msgid "Bots to ignore"
85
- msgstr "Bots ignorieren"
86
-
87
- #: counter-options.php:88
88
- msgid "Update options"
89
- msgstr "Einstellungen aktualisieren"
90
-
91
- #: counter-options.php:96
92
- #: counter-options.php:105
93
- msgid "Clean the database"
94
- msgstr "Datenbank aufr&auml;umen"
95
-
96
- #: counter-options.php:99
97
- 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."
98
- 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."
99
-
100
- #: counter-options.php:116
101
- msgid "Since WP 2.7 you can delete the plugin directly after deactivation on the plugins page."
102
- msgstr "Ab WP 2.7 kannst du das Plugin direkt nach der Deaktivierung auf der Pluginseite löschen."
103
-
104
- #: counter-options.php:117
105
- msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
106
- msgstr "Wenn \"Count per Day\" nur deaktiviert wird, bleiben die Tabellen in der Datenbank erhalten."
107
-
108
- #: counter-options.php:118
109
- msgid "Here you can delete the tables and disable \"Count per Day\"."
110
- msgstr "Hier kannst du \"Count per Day\" deinstallieren und die Tabellen l&ouml;schen."
111
-
112
- #: counter-options.php:121
113
- msgid "WARNING"
114
- msgstr "WARNUNG"
115
-
116
- #: counter-options.php:122
117
- msgid "These tables (with ALL counter data) will be deleted."
118
- msgstr "Diese Tabellen werden mit ALLEN Z&auml;hlerdaten gel&ouml;scht."
119
-
120
- #: counter-options.php:124
121
- msgid "If \"Count per Day\" re-installed, the counter starts at 0."
122
- msgstr "Wenn \"Count per Day\" erneut installiert wird, beginnt der Z&auml;hler bei 0."
123
-
124
- #: counter-options.php:128
125
- msgid "Yes"
126
- msgstr "Ja, los!"
127
-
128
- #: counter-options.php:129
129
- msgid "You are sure to disable Count per Day and delete all data?"
130
- msgstr "Bist du sicher, dass du Count per Day deaktivieren und alle Daten l&ouml;schen willst?"
131
-
132
- #: counter.php:165
133
- msgid "Statistics"
134
- msgstr "Statistiken"
135
-
136
- #: counter.php:170
137
- #: counter.php:172
138
- msgid "Reads at all"
139
- msgstr "Besucher gesamt"
140
-
141
- #: counter.php:173
142
- msgid "Visitors currently online"
143
- msgstr "Besucher momentan online"
144
-
145
- #: counter.php:174
146
- msgid "Reads today"
147
- msgstr "Besucher heute"
148
-
149
- #: counter.php:175
150
- msgid "Reads yesterday"
151
- msgstr "Besucher gestern"
152
-
153
- #: counter.php:176
154
- msgid "Reads last week"
155
- msgstr "Besucher letzte Woche"
156
-
157
- #: counter.php:177
158
- msgid "Counter starts at"
159
- msgstr "gez&auml;hlt ab"
160
-
161
- #: counter.php:178
162
- msgid "Reads per day"
163
- msgstr "Besucher pro Tag"
164
-
165
- #: counter.php:183
166
- msgid "Reads per month"
167
- msgstr "Besucher pro Monat"
168
-
169
- #: counter.php:186
170
- msgid "Reads per post"
171
- msgstr "Besucher pro Artikel"
172
-
173
- #~ msgid "Seconds for online counter"
174
- #~ msgstr "Sekunden f&uuml;r Onlinecounter"
175
- #~ msgid "Table"
176
- #~ msgstr "Tabelle"
177
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
locale/it_IT.mo DELETED
Binary file
locale/it_IT.po DELETED
@@ -1,169 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Count per Day in italiano\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-09-03 20:08+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Tom Braider <post@tomsdimension.de>\n"
8
- "Language-Team: Gianni Diurno | http://gidibao.net <gidibao@gmail.com>\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-Language: Italian\n"
13
- "X-Poedit-Country: ITALY\n"
14
- "X-Poedit-KeywordsList: __;_e\n"
15
- "X-Poedit-Basepath: P:\\xampp\\htdocs\\wp\\wp-content\\plugins\\count-per-day\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
-
19
- #: counter-options.php:20
20
- msgid "Options updated"
21
- msgstr "Le opzioni sono state aggiornate"
22
-
23
- #: counter-options.php:25
24
- #, php-format
25
- msgid "Database cleaned. %s rows deleted."
26
- msgstr "Database svuotato. %s record cancellato."
27
-
28
- #: counter-options.php:28
29
- #: counter-options.php:128
30
- msgid "UNINSTALL Count per Day"
31
- msgstr "DISINSTALLA Count per Day"
32
-
33
- #: counter-options.php:40
34
- #: counter-options.php:42
35
- #, php-format
36
- msgid "Table %s deleted"
37
- msgstr "La tabella %s &eacute; stata cancellata"
38
-
39
- #: counter-options.php:44
40
- msgid "Options deleted"
41
- msgstr "Le opzioni sono state cancellate"
42
-
43
- #: counter-options.php:60
44
- #: counter-options.php:114
45
- msgid "Uninstall"
46
- msgstr "Disinstalla"
47
-
48
- #: counter-options.php:61
49
- msgid "Click here"
50
- msgstr "Clicca qui"
51
-
52
- #: counter-options.php:61
53
- msgid "to finish the uninstall and to deactivate \"Count per Day\"."
54
- msgstr "per completare la disinstallazione e disattivare \"Count per Day\"."
55
-
56
- #: counter-options.php:68
57
- msgid "Options"
58
- msgstr "Opzioni"
59
-
60
- #: counter-options.php:73
61
- msgid "Online time"
62
- msgstr "Durata del collegamento"
63
-
64
- #: counter-options.php:74
65
- msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
66
- msgstr "Secondi per il counter online. In uso per \"Visitors online\" nella Bacheca."
67
-
68
- #: counter-options.php:76
69
- msgid "Loged on Users"
70
- msgstr "Utenti accreditati"
71
-
72
- #: counter-options.php:77
73
- msgid "count too"
74
- msgstr "conteggia anche loro"
75
-
76
- #: counter-options.php:79
77
- msgid "Auto counter"
78
- msgstr "Contatore-automatico"
79
-
80
- #: counter-options.php:80
81
- msgid "Counts automatically single-posts and pages, no changes on template needed."
82
- msgstr "Conta in automatico i singoli articoli e le pagine. Non &eacute; necessaria alcuna modifica del template."
83
-
84
- #: counter-options.php:82
85
- msgid "Bots to ignore"
86
- msgstr "Bots da ignorare"
87
-
88
- #: counter-options.php:88
89
- msgid "Update options"
90
- msgstr "Aggiorna le opzioni"
91
-
92
- #: counter-options.php:96
93
- #: counter-options.php:105
94
- msgid "Clean the database"
95
- msgstr "Svuota il database"
96
-
97
- #: counter-options.php:99
98
- 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."
99
- msgstr "Puoi svuotare la tabella del contatore dai \"dati spam\".<br />Aggiungendo dei nuovi bots sopra ai vecchi \"dati spam\" conservati nel database.<br />Qui tu puoi avviare nuovamente il filtro per i bot e cancellare le visite dei bots."
100
-
101
- #: counter-options.php:116
102
- msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
103
- msgstr "La disattivazione in s&egrave; di \"Count per Day\" non canceller&agrave; le tabelle del database."
104
-
105
- #: counter-options.php:117
106
- msgid "Here you can delete the tables and disable \"Count per Day\"."
107
- msgstr "Qui potrai cancellare le tabelle e disattivare \"Count per Day\"."
108
-
109
- #: counter-options.php:120
110
- msgid "WARNING"
111
- msgstr "ATTENZIONE"
112
-
113
- #: counter-options.php:121
114
- msgid "These tables (with ALL counter data) will be deleted."
115
- msgstr "Queste tabelle (compresi TUTTI i dati) saranno cancellate."
116
-
117
- #: counter-options.php:123
118
- msgid "If \"Count per Day\" re-installed, the counter starts at 0."
119
- msgstr "Qualora desiderassi re-installare \"Count per Day\", ricordati che il contatore ripartir&agrave; da 0."
120
-
121
- #: counter-options.php:127
122
- msgid "Yes"
123
- msgstr "S&igrave;"
124
-
125
- #: counter-options.php:128
126
- msgid "You are sure to disable Count per Day and delete all data?"
127
- msgstr "Sei certo di volere disattivare Count per Day e cancellare tutti i dati?"
128
-
129
- #: counter.php:167
130
- msgid "Statistics"
131
- msgstr "Satistiche"
132
-
133
- #: counter.php:172
134
- #: counter.php:174
135
- msgid "Reads at all"
136
- msgstr "generali"
137
-
138
- #: counter.php:175
139
- msgid "Visitors currently online"
140
- msgstr "Utenti attualmente in linea"
141
-
142
- #: counter.php:176
143
- msgid "Reads today"
144
- msgstr "Oggi"
145
-
146
- #: counter.php:177
147
- msgid "Reads yesterday"
148
- msgstr "Ieri"
149
-
150
- #: counter.php:178
151
- msgid "Reads last week"
152
- msgstr "La scorsa settimana"
153
-
154
- #: counter.php:179
155
- msgid "Counter starts at"
156
- msgstr "Il contatore parte dal"
157
-
158
- #: counter.php:180
159
- msgid "Reads per day"
160
- msgstr "per giorno"
161
-
162
- #: counter.php:185
163
- msgid "Reads per month"
164
- msgstr "per mese"
165
-
166
- #: counter.php:188
167
- msgid "Reads per post"
168
- msgstr "per articolo"
169
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
locale/pt_BR.mo DELETED
Binary file
locale/pt_BR.po DELETED
@@ -1,175 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Count per Day\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-09-03 20:03+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Tom Braider <post@tomsdimension.de>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-Language: Portuguese\n"
13
- "X-Poedit-Country: BRAZIL\n"
14
- "X-Poedit-KeywordsList: __;_e\n"
15
- "X-Poedit-Basepath: P:\\xampp\\htdocs\\levelbase_tribune\\wp-content\\plugins\\count-per-day\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
-
19
- #: counter-options.php:20
20
- msgid "Options updated"
21
- msgstr "Op&ccedil;&otilde;es atualizadas"
22
-
23
- #: counter-options.php:25
24
- #, php-format
25
- msgid "Database cleaned. %s rows deleted."
26
- msgstr "Banco de dados limpo. %s linhas apagadas."
27
-
28
- #: counter-options.php:28
29
- #: counter-options.php:128
30
- msgid "UNINSTALL Count per Day"
31
- msgstr "DESINSTALAR o Count per Day"
32
-
33
- #: counter-options.php:40
34
- #: counter-options.php:42
35
- #, php-format
36
- msgid "Table %s deleted"
37
- msgstr "Tabela %s apagada"
38
-
39
- #: counter-options.php:44
40
- msgid "Options deleted"
41
- msgstr "Op&ccedil;&otilde;es apagadas"
42
-
43
- #: counter-options.php:60
44
- #: counter-options.php:114
45
- msgid "Uninstall"
46
- msgstr "Desinstalar"
47
-
48
- #: counter-options.php:61
49
- msgid "Click here"
50
- msgstr "Clique aqui"
51
-
52
- #: counter-options.php:61
53
- msgid "to finish the uninstall and to deactivate \"Count per Day\"."
54
- msgstr "Para terminar a desinstala&ccedil;&atilde;o e desativar o \"Count per Day\". "
55
-
56
- #: counter-options.php:68
57
- msgid "Options"
58
- msgstr "Op&ccedil;&otilde;es"
59
-
60
- #: counter-options.php:73
61
- msgid "Online time"
62
- msgstr "Per&iacute;odo online"
63
-
64
- #: counter-options.php:74
65
- msgid "Seconds for online counter. Used for \"Visitors online\" on dashboard page."
66
- msgstr "Seconds for online counter. Usado no \"Visitantes online\" na p&aacute;gina do painel."
67
-
68
- #: counter-options.php:76
69
- msgid "Loged on Users"
70
- msgstr "Usu&aacute;rios logados"
71
-
72
- #: counter-options.php:77
73
- msgid "count too"
74
- msgstr "contar tamb&eacute;m"
75
-
76
- #: counter-options.php:79
77
- msgid "Auto counter"
78
- msgstr "Autocontador"
79
-
80
- #: counter-options.php:80
81
- msgid "Counts automatically single-posts and pages, no changes on template needed."
82
- msgstr "Conta automaticamente posts e p&aacute;ginas, sem a necessidade de altera&ccedil;&otilde;es em templates."
83
-
84
- #: counter-options.php:82
85
- msgid "Bots to ignore"
86
- msgstr "Bots a serem ignorados"
87
-
88
- #: counter-options.php:88
89
- msgid "Update options"
90
- msgstr "Atualizar op&ccedil;&otilde;es"
91
-
92
- #: counter-options.php:96
93
- #: counter-options.php:105
94
- msgid "Clean the database"
95
- msgstr "Limpar o banco de dados"
96
-
97
- #: counter-options.php:99
98
- 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."
99
- msgstr "Voc&ecirc; pode limpar os \"dados de spam\" da tabela de contadores. <br />Caso voc&ecirc; adicione novos bots acima, os \"dados de spam\" deles continuar&atilde;o no banco de dados. <br />Para limpar as visitas desses bots, voc&ecirc; pode executar novamente o filtro de bot aqui."
100
-
101
- #: counter-options.php:116
102
- msgid "If \"Count per Day\" only disabled the tables in the database will be preserved."
103
- msgstr "Se o plugin \"Count per Day\" for desativado apenas, as tabelas do banco de dados ser&atilde;o preservadas."
104
-
105
- #: counter-options.php:117
106
- msgid "Here you can delete the tables and disable \"Count per Day\"."
107
- msgstr "A op&ccedil;&atilde;o a seguir permite apagar definitivamente as tabelas do banco de dados, al&eacute;m de desabilitar o plugin."
108
-
109
- #: counter-options.php:120
110
- msgid "WARNING"
111
- msgstr "ATEN&Ccedil;&Atilde;O"
112
-
113
- #: counter-options.php:121
114
- msgid "These tables (with ALL counter data) will be deleted."
115
- msgstr "As seguintes tabelas (incluindo TODOS os dados dos contadores) ser&atilde;o apagadas:"
116
-
117
- #: counter-options.php:123
118
- msgid "If \"Count per Day\" re-installed, the counter starts at 0."
119
- msgstr "Se o \"Count per Day\" for reinstalado, os contadores reiniciar&atilde;o a partir do 0."
120
-
121
- #: counter-options.php:127
122
- msgid "Yes"
123
- msgstr "Sim, quero"
124
-
125
- #: counter-options.php:128
126
- msgid "You are sure to disable Count per Day and delete all data?"
127
- msgstr "Confirma a desativa&ccedil;&atilde;o do Count per Day e a exclus&atilde;o de todos os dados?"
128
-
129
- #: counter.php:167
130
- msgid "Statistics"
131
- msgstr "Estat&iacute;sticas"
132
-
133
- #: counter.php:172
134
- #: counter.php:174
135
- msgid "Reads at all"
136
- msgstr "Total de visitas"
137
-
138
- #: counter.php:175
139
- #, fuzzy
140
- msgid "Visitors currently online"
141
- msgstr "Visitantes online"
142
-
143
- #: counter.php:176
144
- msgid "Reads today"
145
- msgstr "Visitas hoje"
146
-
147
- #: counter.php:177
148
- msgid "Reads yesterday"
149
- msgstr "Visitas ontem"
150
-
151
- #: counter.php:178
152
- msgid "Reads last week"
153
- msgstr "Visitas semana passada"
154
-
155
- #: counter.php:179
156
- msgid "Counter starts at"
157
- msgstr "In&iacute;cio da contagem"
158
-
159
- #: counter.php:180
160
- msgid "Reads per day"
161
- msgstr "(m&eacute;dia) de visitas por dia"
162
-
163
- #: counter.php:185
164
- msgid "Reads per month"
165
- msgstr "Visitas por m&ecirc;s"
166
-
167
- #: counter.php:188
168
- msgid "Reads per post"
169
- msgstr "Visitas por post"
170
-
171
- #~ msgid "Seconds for online counter"
172
- #~ msgstr "Segundos desde a visita para ser considerado online"
173
- #~ msgid "Table"
174
- #~ msgstr "Tabelle"
175
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
map/ammap.swf ADDED
Binary file
map/data.xml.php ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!session_id()) session_start();
3
+ require_once($_SESSION['cpd_wp'].'wp-load.php');
4
+ require_once($cpd_path.'/geoip/geoip.php');
5
+ $geoip = new GeoIPCpD();
6
+ $data = array();
7
+
8
+ $what = (empty($_GET['map'])) ? 'reads' : $_GET['map'];
9
+
10
+ if ( $what == 'visitors online' )
11
+ {
12
+ $gi = cpd_geoip_open($cpd_path.'geoip/GeoIP.dat', GEOIP_STANDARD);
13
+
14
+ $res = $count_per_day->getQuery("SELECT INET_NTOA(ip) AS ip FROM ".CPD_CO_TABLE, 'getUserOnline');
15
+ if ( @mysql_num_rows($res) )
16
+ {
17
+ $vo = array();
18
+ while ( $r = mysql_fetch_array($res) )
19
+ {
20
+ $country = cpd_geoip_country_code_by_addr($gi, $r['ip']);
21
+ $id = $geoip->GEOIP_COUNTRY_CODE_TO_NUMBER[$country];
22
+ if ( !empty($id) )
23
+ {
24
+ $name = $geoip->GEOIP_COUNTRY_NAMES[$id];
25
+ $count = (isset($vo[$country])) ? $vo[$country][1] + 1 : 1;
26
+ $vo[$country] = array($name, $count);
27
+ }
28
+ }
29
+ foreach ( $vo as $k => $v )
30
+ $data[] = array($v[0], $k ,$v[1]);
31
+ }
32
+ }
33
+ else
34
+ {
35
+ if ( $what == 'visitors' )
36
+ $res = $count_per_day->getQuery("
37
+ SELECT country, COUNT(*) c
38
+ FROM ( SELECT country, ip, COUNT(*) c
39
+ FROM ".CPD_C_TABLE."
40
+ WHERE ip > 0
41
+ GROUP BY country, ip ) AS t
42
+ GROUP BY country", 'getCountriesMap');
43
+ else
44
+ $res = $count_per_day->getQuery("SELECT country, COUNT(*) c FROM ".CPD_C_TABLE." WHERE country > '' GROUP BY country", 'getCountriesMap');
45
+
46
+ while ( $r = mysql_fetch_array($res) )
47
+ {
48
+ $country = strtoupper($r['country']);
49
+ $name = $geoip->GEOIP_COUNTRY_NAMES[ $geoip->GEOIP_COUNTRY_CODE_TO_NUMBER[$country] ];
50
+ if ( !empty($name) )
51
+ $data[] = array($name, $country ,$r['c']);
52
+ }
53
+ }
54
+
55
+ header("content-type: text/xml; charset=utf-8");
56
+ echo '<?xml version="1.0" encoding="UTF-8"?>';
57
+ ?>
58
+
59
+ <map map_file="world.swf" tl_long="-168.49" tl_lat="83.63" br_long="190.3" br_lat="-55.58" zoom_x="10%" zoom_y="6%" zoom="85%">
60
+ <areas>
61
+
62
+ <?php
63
+ foreach ( $data as $d )
64
+ echo '<area title="'.$d[0].'" mc_name="'.$d[1].'" value="'.$d[2].'"></area>
65
+ ';
66
+ ?>
67
+
68
+ <area title="borders" mc_name="borders" color="#AAAAAA" balloon="false"></area>
69
+ </areas>
70
+
71
+ <labels>
72
+ <label x="0" y="0" width="100%" align="center" text_size="16" color="#000000">
73
+ <text><![CDATA[<b>Your Visitors all over the World</b>]]></text>
74
+ </label>
75
+ </labels>
76
+
77
+ <movies>
78
+ <movie long="13" lat="53.4" file="target" width="10" height="10" color="#000000" fixed_size="true" title="Home of your best friend: Tom, the plugin author ;)"></movie>
79
+ </movies>
80
+
81
+ </map>
map/map.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $what = (empty($_GET['map'])) ? 'reads' : $_GET['map']; ?>
2
+
3
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="de-DE">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
+ <title>CountPerDay</title>
8
+ <link rel="stylesheet" type="text/css" href="../counter.css" />
9
+ <script type="text/javascript" src="swfobject.js"></script>
10
+ </head>
11
+ <body style="overflow:hidden; padding:0; margin:0; background:#4499FF;">
12
+ <div id="flashcontent">
13
+ <strong>You need to upgrade your Flash Player</strong>
14
+ </div>
15
+ <script type="text/javascript">
16
+ // <![CDATA[
17
+ var so = new SWFObject("ammap.swf", "ammap", "630", "412", "8", "#4499FF");
18
+ so.addVariable("path", "");
19
+ so.addVariable("settings_file", escape("settings.xml.php?map=<?php echo $what ?>"));
20
+ so.addVariable("data_file", escape("data.xml.php?map=<?php echo $what ?>"));
21
+ so.write("flashcontent");
22
+ // ]]>
23
+ </script>
24
+ </body>
25
+ </html>
map/settings.xml.php ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $what = (empty($_GET['map'])) ? 'Reads' : ucfirst($_GET['map']);
3
+
4
+ header("content-type: text/xml; charset=utf-8");
5
+ echo '<?xml version="1.0" encoding="UTF-8"?>';
6
+ ?>
7
+
8
+ <settings>
9
+ <projection>mercator</projection>
10
+ <always_hand>true</always_hand>
11
+
12
+ <small_map>
13
+ <enabled>false</enabled>
14
+ </small_map>
15
+
16
+ <area>
17
+ <balloon_text><![CDATA[{title}<br/><b>{value}</b> <?php echo $what ?>]]></balloon_text>
18
+ <color_solid>#CC0000</color_solid>
19
+ <color_light>#FFFFFF</color_light>
20
+ <color_hover>#FFFF00</color_hover>
21
+ <color_unlisted>#3388EE</color_unlisted>
22
+ <disable_when_clicked>true</disable_when_clicked>
23
+ </area>
24
+
25
+ <movie>
26
+ <balloon_text><![CDATA[{title}]]></balloon_text>
27
+ <color_hover>#0000ff</color_hover>
28
+ </movie>
29
+
30
+ <balloon>
31
+ <color>#FFFFFF</color>
32
+ <alpha>85</alpha>
33
+ <text_color>#000000</text_color>
34
+ <border_color>#CC0000</border_color>
35
+ <border_alpha>90</border_alpha>
36
+ <border_width>2</border_width>
37
+ <corner_radius>7</corner_radius>
38
+ </balloon>
39
+
40
+ <zoom>
41
+ <x>5</x>
42
+ <y>27</y>
43
+ <min>85</min>
44
+ </zoom>
45
+
46
+ <legend>
47
+ <x>5</x>
48
+ <y>!32</y>
49
+ <margins>5</margins>
50
+ <key>
51
+ <border_color>#AAAAAA</border_color>
52
+ </key>
53
+ <entries>
54
+ <entry color="#3388EE">no <?php echo $what ?></entry>
55
+ <entry color="#FFFFFF">least <?php echo $what ?></entry>
56
+ <entry color="#CC0000">most <?php echo $what ?></entry>
57
+ </entries>
58
+ </legend>
59
+
60
+ </settings>
map/swfobject.js ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ /**
2
+ * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
3
+ *
4
+ * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
5
+ * http://www.opensource.org/licenses/mit-license.php
6
+ *
7
+ */
8
+ if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();if(!(navigator.plugins && navigator.mimeTypes.length)) window[this.getAttribute('id')] = document.getElementById(this.getAttribute('id'));return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
map/world.swf ADDED
Binary file
massbots.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!session_id()) session_start();
3
+ require_once($_SESSION['cpd_wp'].'wp-load.php');
4
+
5
+ if ( isset($_GET['dmbip']) && isset($_GET['dmbdate']) )
6
+ {
7
+ $sql = 'SELECT c.page post_id, p.post_title post,
8
+ t.name tag_cat_name,
9
+ t.slug tag_cat_slug,
10
+ x.taxonomy tax
11
+ FROM '.CPD_C_TABLE.' c
12
+ LEFT JOIN '.$wpdb->posts.' p
13
+ ON p.ID = c.page
14
+ LEFT JOIN '.$wpdb->terms.' t
15
+ ON t.term_id = 0 - c.page
16
+ LEFT JOIN '.$wpdb->term_taxonomy.' x
17
+ ON x.term_id = t.term_id
18
+ WHERE c.ip = '.$_GET['dmbip'].'
19
+ AND c.date = \''.$_GET['dmbdate'].'\'
20
+ ORDER BY p.ID';
21
+ $massbots = $count_per_day->getQuery($sql, 'showMassbotPosts');
22
+ }
23
+ ?>
24
+
25
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
26
+ <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="de-DE">
27
+ <head>
28
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
29
+ <title>Count per Day</title>
30
+ <link rel="stylesheet" type="text/css" href="counter.css" />
31
+ </head>
32
+ <body class="cpd-thickbox">
33
+ <h2><?php _e('Mass Bots', 'cpd') ?></h2>
34
+ <ol>
35
+ <?php
36
+ while ( $row = mysql_fetch_array($massbots) )
37
+ {
38
+ if ( $row['post_id'] < 0 && $row['tax'] == 'category' )
39
+ {
40
+ $name = '- '.$row['tag_cat_name'].' -';
41
+ $link = get_bloginfo('url').'?cat='.abs($row['post_id']);
42
+ }
43
+ else if ( $row['post_id'] < 0 )
44
+ {
45
+ $name = '- '.$row['tag_cat_name'].' -';
46
+ $link = get_bloginfo('url').'?tag='.$row['tag_cat_slug'];
47
+ }
48
+ else if ( $row['post_id'] == 0 )
49
+ {
50
+ $name = '- '.__('Front page displays').' -';
51
+ $link = get_bloginfo('url');
52
+ }
53
+ else
54
+ {
55
+ $postname = $row['post'];
56
+ if ( empty($postname) )
57
+ $postname = '---';
58
+ $name = $postname;
59
+ $link = get_permalink($row['post_id']);
60
+ }
61
+ echo '<li><a href="'.$link.'" target="_blank">'.$name.'</a></li>';
62
+ }
63
+ ?>
64
+ </ol>
65
+ <?php if ($count_per_day->options['debug']) $count_per_day->showQueries(); ?>
66
+ </body>
67
+ </html>
notes.php ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!session_id()) session_start();
3
+ require_once($_SESSION['cpd_wp'].'wp-load.php');
4
+
5
+ // set default values
6
+ if ( isset($_POST['month']) )
7
+ $month = $_POST['month'];
8
+ else if ( isset($_GET['month']) )
9
+ $month = $_GET['month'];
10
+ else
11
+ $month = date_i18n('m');
12
+
13
+ if ( isset($_POST['month']) )
14
+ $year = $_POST['year'];
15
+ else if ( isset($_GET['year']) )
16
+ $year = $_GET['year'];
17
+ else
18
+ $year = date_i18n('Y');
19
+
20
+ // save changes
21
+ if ( isset($_POST['new']) )
22
+ $sql = "INSERT INTO ".$table_prefix."cpd_notes (date, note) VALUES ('".$_POST['date']."', '".$_POST['note']."')";
23
+ else if ( isset($_POST['edit']) )
24
+ $sql = "UPDATE ".$table_prefix."cpd_notes SET date = '".$_POST['date']."', note = '".$_POST['note']."' WHERE id = ".$_POST['id'];
25
+ else if ( isset($_POST['delete']) )
26
+ $sql = "DELETE FROM ".$table_prefix."cpd_notes WHERE id = ".$_POST['id'];
27
+ if ( !empty($sql) )
28
+ $wpdb->query($wpdb->prepare($sql));
29
+
30
+ // load notes
31
+ $where = '';
32
+ if ( $month )
33
+ $where .= " AND MONTH(date) = $month ";
34
+ if ( $year )
35
+ $where .= " AND YEAR(date) = $year ";
36
+ $notes = $wpdb->get_results('SELECT * FROM '.$table_prefix.'cpd_notes WHERE 1 '.$where.' ORDER BY date DESC', ARRAY_A);
37
+ ?>
38
+
39
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
40
+ <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="de-DE">
41
+ <head>
42
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
43
+ <title>CountPerDay</title>
44
+ <link rel="stylesheet" type="text/css" href="counter.css" />
45
+ </head>
46
+ <body class="cpd-thickbox">
47
+ <h2><?php _e('Notes', 'cpd') ?></h2>
48
+ <form name="cpd_notes_form1" action="" method="post">
49
+ <table class="cpd-notes">
50
+ <tr>
51
+ <td colspan="3" style="background:#ddd; padding:3px;">
52
+ <select name="month">
53
+ <option value="0">-</option>
54
+ <?php
55
+ for ( $m = 1; $m <= 12; $m++ )
56
+ {
57
+ echo '<option value="'.$m.'" ';
58
+ if ( $m == $month )
59
+ echo 'selected="selected"';
60
+ echo '>'.mysql2date('F', '2000-'.$m.'-01').'</option>';
61
+ }
62
+ ?>
63
+ </select>
64
+ <select name="year">
65
+ <option value="0">-</option>
66
+ <?php
67
+ for ( $y = 2010; $y <= date_i18n('Y'); $y++ )
68
+ {
69
+ echo '<option value="'.$y.'" ';
70
+ if ( $y == $year )
71
+ echo 'selected="selected"';
72
+ echo '>'.$y.'</option>';
73
+ }
74
+ ?>
75
+ </select>
76
+ <input type="button" name="showmonth" onclick="submit()" value="<?php _e('show', 'cpd') ?>" style="width:auto;" />
77
+ </td>
78
+ </tr>
79
+ <tr>
80
+ <th style="width:15%"><?php _e('Date') ?></th>
81
+ <th style="width:75%"><?php _e('Notes', 'cpd') ?> <?php _e('(1 per day)', 'cpd') ?></th>
82
+ <th style="width:10%"><?php _e('Action') ?></th>
83
+ </tr>
84
+ <tr>
85
+ <td><input name="date" value="<?php echo date_i18n('Y-m-d') ?>" /></td>
86
+ <td><input name="note" maxlength="250" /></td>
87
+ <td><input type="submit" name="new" value="+" title="<?php _e('add', 'cpd') ?>" class="green" /></td>
88
+ </tr>
89
+ <?php
90
+ if ( $notes )
91
+ {
92
+ foreach ( $notes as $row )
93
+ {
94
+ if ( isset($_POST['edit_'.$row['id']]) || isset($_POST['edit_'.$row['id'].'_x']) )
95
+ {
96
+ ?>
97
+ <tr style="background: #ccc">
98
+ <td><input name="date" value="<?php echo $row['date'] ?>" /></td>
99
+ <td><input name="note" value="<?php echo $row['note'] ?>" maxlength="250" /></td>
100
+ <td class="nowrap">
101
+ <input type="hidden" name="id" value="<?php echo $row['id'] ?>" />
102
+ <input type="submit" name="edit" value="V" title="<?php _e('save', 'cpd') ?>" class="green" style="width:45%;" />
103
+ <input type="submit" name="delete" value="X"title="<?php _e('delete', 'cpd') ?>" class="red" style="width:45%;" />
104
+ </td>
105
+ </tr>
106
+ <?php
107
+ }
108
+ else
109
+ {
110
+ ?>
111
+ <tr>
112
+ <td><?php echo $row['date'] ?></td>
113
+ <td><?php echo $row['note'] ?></td>
114
+ <td><input type="image" src="cpd_pen.png" name="edit_<?php echo $row['id'] ?>" title="<?php _e('edit', 'cpd') ?>" style="width:auto;" /></td>
115
+ </tr>
116
+ <?php
117
+ }
118
+ }
119
+ }
120
+ ?>
121
+ </table>
122
+ </form>
123
+ <?php if ($count_per_day->options['debug']) $count_per_day->showQueries(); ?>
124
+ </body>
125
+ </html>
readme.txt CHANGED
@@ -1,10 +1,11 @@
1
  === Count per Day ===
2
  Contributors: Tom Braider
3
- Donate link: http://www.unicef.org
4
- Tags: counter, count, posts, visits, reads
5
  Requires at least: 2.7
6
- Tested up to: 2.7
7
- Stable tag: 1.5
 
 
8
 
9
  Visit Counter, shows reads per page, visitors today, yesterday, last week, last months and other statistics.
10
 
@@ -13,162 +14,424 @@ Visit Counter, shows reads per page, visitors today, yesterday, last week, last
13
  * count reads and visitors
14
  * shows reads per page
15
  * shows visitors today, yesterday, last week, last months and other statistics on dashboard
16
- * you can show these statistics on frontend (e.g. on sidebar) too
17
- * if you use Wordpress < 2.7 please use Count-per-Day v1.4
 
 
18
 
19
- It counts 1 visit per IP per day. So any reload of the page don't increment the counter.
20
 
21
- Languages: english, german, italian, portuguese
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
  == Installation ==
24
 
25
  1. unzip plugin directory into the '/wp-content/plugins/' directory
26
  1. activate the plugin through the 'Plugins' menu in WordPress
 
 
27
 
28
- First activation will create the 2 tables wp _ cpd _ counter and wp _ cpd _ counter _ useronline.
29
 
30
  **Configuration**
31
 
32
- See the Options Page. It's easy. :)
33
-
34
- If "Auto counter" is on reads on single-posts and pages will count without any changes on template.<br>
35
 
36
- * place functions within post-loop (e.g. in single.php)<br/>
37
- '&lt;?php if(function_exists("cpdShow")) { cpdShow(); } ?&gt;'
38
- * for more informations see "Other Notes"
39
 
40
  == Frequently Asked Questions ==
41
 
42
  = Need Help? Find Bug? =
43
- read and write comments on <a href="http://www.tomsdimension.de/wp-plugins/count-per-day">plugin page</a>
44
 
45
  == Screenshots ==
46
 
47
- 1. Statistics on Count-per-Day Dashboard (german)
48
- 2. Options (german)
 
49
 
50
  == Arbitrary section ==
51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  **Functions**
53
 
54
- You can place these functions in your template.
 
 
55
 
56
- 'cpdShow( $before, $after, $show, $count )'
57
 
58
- * $before = text before number e.g. '&lt;p&gt;' (standard "")
59
- * $after = text after number e.g. 'reads&lt;/p&gt;' (standard " reads")
60
- * $show = true/false, "echo" complete string or "return" number only (standard true)
61
- * $count = true/false, false will not count the reads (standard true)
 
62
 
63
- 'cpdCount()'
64
 
65
  * only count reads, without any output
66
  * cpdShow call it
67
 
68
- 'cpdGetFirstCount()'
69
 
70
  * shows date of first count
 
71
 
72
- 'cpdGetUserPerDay()'
73
 
74
- * shows average number of visitors per day
 
 
75
 
76
- 'cpdGetUserAll()'
77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  * shows number of total visitors
 
79
 
80
- 'cpdGetUserOnline()'
81
 
82
  * shows number of visitors just online
 
 
83
 
84
- 'cpdGetUserToday()'
85
 
86
  * shows number of visitors today
 
87
 
88
- 'cpdGetUserYesterday()'
89
 
90
  * shows number of visitors yesterday
 
91
 
92
- 'cpdGetUserLastWeek()'
93
 
94
  * shows number of visitors last week (7 days)
 
95
 
96
- 'cpdGetUserPerMonth()'
97
-
98
- * lists number of visitors per month
99
-
100
- 'cpdGetUserPerPost( $limit = 0 )'
101
-
102
- * lists _$limit_ posts with number of visits
103
-
104
- **Filelist**
105
-
106
- * counter.php
107
- * counter-options.php
108
- * counter.css
109
- * locale/de_DE.mo
110
- * locale/de_DE.po
111
- * locale/it_IT.mo
112
- * locale/it_IT.po
113
- * locale/pt_BR.mo
114
- * locale/pt_BR.po
115
 
116
- **Changelog**
 
117
 
118
- _Version 1.5_
119
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  + WP 2.7 optimized, for WP<2.7 please use CPD 1.4
121
 
122
- _Version 1.4_
123
-
124
- + NEW: uninstall function of WP 2.7 implemented
125
  + litle changes on layout to be suitable for WP 2.7
126
 
127
- _Version 1.3_
128
-
129
  + New: you can delete old data if you add a new bot string
130
  + Bugfix: Bot check was case-sensitive
131
  + New language: Portuguese, thanks to Filipe
132
 
133
- _Version 1.2.3_
134
-
135
  + Bugfix: autocount endless looping
136
 
137
- _Version 1.2.2_
138
-
139
- + New language: Italian, thanks to Gianni Diurno http://gidibao.net/index.php/portfolio/
140
-
141
- _Version 1.2.1_
142
 
 
143
  + Bugfix: Error 404 "Page not found" with "auto count"
144
 
145
- _Version 1.2_
146
-
147
  + Bugfix: tables in DB were not be created every time (seen on mysql < 5)
148
  + New: "auto count" can count visits without changes on template
149
 
150
- _Version 1.1_
151
-
152
  + Languages: english, german
153
- + HTTP _ USER _ AGENT will be saved, identification of new search bots
154
  + Stylesheet in file counter.css
155
 
156
- Functions:
157
-
158
- + cpdShow (updated)
159
- + cpdGetUserPerPost
160
- + cpdGetFirstCount
161
- + cpdGetUserPerDay
162
- + cpdGetUserAll
163
-
164
- _Version 1.0_
165
-
166
- Functions:
167
-
168
- + cpdShow
169
- + cpdCount
170
- + cpdGetUserOnline
171
- + cpdGetUserToday
172
- + cpdGetUserYesterday
173
- + cpdGetUserLastWeek
174
- + cpdGetUserPerMonth
1
  === Count per Day ===
2
  Contributors: Tom Braider
3
+ Tags: counter, count, posts, visits, reads, dashboard, widget, shortcode
 
4
  Requires at least: 2.7
5
+ Tested up to: 3.1
6
+ Stable tag: 2.16
7
+ License: Postcardware
8
+ Donate link: http://www.tomsdimension.de/postcards
9
 
10
  Visit Counter, shows reads per page, visitors today, yesterday, last week, last months and other statistics.
11
 
14
  * count reads and visitors
15
  * shows reads per page
16
  * shows visitors today, yesterday, last week, last months and other statistics on dashboard
17
+ * shows country of your visitors
18
+ * you can show these statistics on frontend per widget or shortcodes too
19
+ * Plugin: http://www.tomsdimension.de/wp-plugins/count-per-day
20
+ * Donate: http://www.tomsdimension.de/postcards
21
 
22
+ "Count per Day" counts 1 visit per IP per day. So any reload of the page do not increment the counter.
23
 
24
+ = Languages, Translators =
25
+
26
+ - Dansk - 100% - Jonas Thomsen - http://jonasthomsen.com
27
+ - Dutch NL - 100% - Rene - http://wpwebshop.com
28
+ - France - 100% - Bjork - http://www.habbzone.fr
29
+ - German - 100% - I, Tom - http://www.tomsdimension.de
30
+ - Greek - 100% - Essetai_Imar - http://www.elliniki-grothia.com
31
+ - Italian - 100% - Gianni Diurno - http://gidibao.net
32
+ - Russian - 100% - Ilya Pshenichny - http://iluhis.com
33
+ - Swedish - 100% - Magnus Suther - http://www.magnussuther.se
34
+
35
+ - Polish - 95% - LeXuS - http://intrakardial.de
36
+ - Bulgarian - 90% - joro - http://www.joro711.com
37
+ - Espanol - 90% - Juan Carlos del R&iacute;o -
38
+ - Portuguese BR - 90% - Beto Ribeiro - http://www.sevenarts.com.br
39
 
40
  == Installation ==
41
 
42
  1. unzip plugin directory into the '/wp-content/plugins/' directory
43
  1. activate the plugin through the 'Plugins' menu in WordPress
44
+ 1. after every update you have to deactivate and reactivate the plugin to update some settings!
45
+ 1. if you want to use the GeoIP function you have to download the GeoIP-database on options page
46
 
47
+ The activation will create or update 3 tables wp_cpd_counter, wp_cpd_counter_useronline and wp_cpd_notes.
48
 
49
  **Configuration**
50
 
51
+ See the Options Page and check the default values. It's easy. :)
52
+ Install optional GeoIP database to show countries of your visitors.
 
53
 
54
+ If "Auto counter" is on reads will count without any changes on template.
 
 
55
 
56
  == Frequently Asked Questions ==
57
 
58
  = Need Help? Find Bug? =
59
+ read and write comments on http://www.tomsdimension.de/wp-plugins/count-per-day
60
 
61
  == Screenshots ==
62
 
63
+ 1. Statistics on Count-per-Day Dashboard
64
+ 2. Options
65
+ 3. Widget sample
66
 
67
  == Arbitrary section ==
68
 
69
+ **Shortcodes**
70
+
71
+ You can use these shortcodes in the content while writing you posts to show a number or list.
72
+
73
+ [CPD_READS_THIS]
74
+ [CPD_READS_TOTAL]
75
+ [CPD_READS_TODAY]
76
+ [CPD_READS_YESTERDAY]
77
+ [CPD_READS_LAST_WEEK]
78
+ [CPD_READS_THIS_MONTH]
79
+ [CPD_READS_PER_MONTH]
80
+ [CPD_READS_CHART]
81
+ [CPD_VISITORS_TOTAL]
82
+ [CPD_VISITORS_ONLINE]
83
+ [CPD_VISITORS_TODAY]
84
+ [CPD_VISITORS_YESTERDAY]
85
+ [CPD_VISITORS_LAST_WEEK]
86
+ [CPD_VISITORS_THIS_MONTH]
87
+ [CPD_VISITORS_PER_MONTH]
88
+ [CPD_VISITORS_PER_DAY]
89
+ [CPD_VISITORS_PER_POST]
90
+ [CPD_VISITORS_CHART]
91
+ [CPD_FIRST_COUNT]
92
+ [CPD_MOST_VISITED_POSTS]
93
+ [CPD_POSTS_ON_DAY]
94
+ [CPD_CLIENTS]
95
+ [CPD_COUNTRIES]
96
+ [CPD_REFERERS]
97
+ [CPD_POSTS_ON_DAY date="2010-10-06" limit="3"]
98
+ - date (optional), format: year-month-day, default = today
99
+ - limit (optional): max records to show, default = all
100
+
101
  **Functions**
102
 
103
+ You can place these functions in your template.<br/>
104
+ Place functions within post-loop (e.g. in single.php)<br/>
105
+ Use '&lt;?php if(method_exists($count_per_day, "show")) $count_per_day->show(); ?&gt;' to check if plugin is activated.
106
 
107
+ 'show( $before, $after, $show, $count, $page )'
108
 
109
+ * $before = text before number e.g. '&lt;p&gt;' (default "")
110
+ * $after = text after number e.g. 'reads&lt;/p&gt;' (default " reads")
111
+ * $show = true/false, "echo" complete string or "return" number only (default true)
112
+ * $count = true/false, false will not count the reads (default true)
113
+ * $page (optional) PostID
114
 
115
+ 'count()'
116
 
117
  * only count reads, without any output
118
  * cpdShow call it
119
 
120
+ 'getFirstCount( $frontend )'
121
 
122
  * shows date of first count
123
+ * $frontend: 0 echo, 1 return output
124
 
125
+ 'getUserPerDay( $days, $frontend )'
126
 
127
+ * shows average number of visitors per day of the last _$days_ days
128
+ * default on dashboard (see it with mouse over number) = "Latest Counts - Days" in options
129
+ * $frontend: 0 echo, 1 return output
130
 
131
+ 'getReadsAll( $frontend )'
132
 
133
+ * shows number of total reads
134
+ * $frontend: 0 echo, 1 return output
135
+
136
+ 'getReadsToday( $frontend )'
137
+
138
+ * shows number of reads today
139
+ * $frontend: 0 echo, 1 return output
140
+
141
+ 'getReadsYesterday( $frontend )'
142
+
143
+ * shows number of reads yesterday
144
+ * $frontend: 0 echo, 1 return output
145
+
146
+ 'getReadsLastWeek( $frontend )'
147
+
148
+ * shows number of reads last week (7 days)
149
+ * $frontend: 0 echo, 1 return output
150
+
151
+ 'getReadsThisMonth( $frontend )'
152
+
153
+ * shows number of reads current month
154
+ * $frontend: 0 echo, 1 return output
155
+
156
+ 'getReadsPerMonth( $frontend )'
157
+
158
+ * lists number of reads per month
159
+ * $frontend: 0 echo, 1 return output
160
+
161
+ 'getUserAll( $frontend )'
162
+
163
  * shows number of total visitors
164
+ * $frontend: 0 echo, 1 return output
165
 
166
+ 'getUserOnline( $frontend, $country )'
167
 
168
  * shows number of visitors just online
169
+ * $frontend: 0 echo, 1 return output
170
+ * $country: 0 number, 1 country list
171
 
172
+ 'getUserToday( $frontend )'
173
 
174
  * shows number of visitors today
175
+ * $frontend: 0 echo, 1 return output
176
 
177
+ 'getUserYesterday( $frontend )'
178
 
179
  * shows number of visitors yesterday
180
+ * $frontend: 0 echo, 1 return output
181
 
182
+ 'getUserLastWeek( $frontend )'
183
 
184
  * shows number of visitors last week (7 days)
185
+ * $frontend: 0 echo, 1 return output
186
 
187
+ 'getUserThisMonth( $frontend )'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
 
189
+ * shows number of visitors current month
190
+ * $frontend: 0 echo, 1 return output
191
 
192
+ 'getUserPerMonth( $frontend )'
193
 
194
+ * lists number of visitors per month
195
+ * $frontend: 0 echo, 1 return output
196
+
197
+ 'getUserPerPost( $limit = 0, $frontend )'
198
+
199
+ * lists _$limit_ number of posts, -1: all, 0: get option from DB, x: number
200
+ * $frontend: 0 echo, 1 return output
201
+
202
+ 'getMostVisitedPosts( $days, $limits, $frontend )'
203
+
204
+ * shows a list with the most visited posts in the last days
205
+ * $days = days to calc (last days), 0: get option from DB
206
+ * $limit = count of posts (last posts), 0: get option from DB
207
+ * $frontend: 0 echo, 1 return output
208
+
209
+ 'getVisitedPostsOnDay( $date = 0, $limit = 0, $show_form, $show_notes )'
210
+
211
+ * shows visited pages at given day
212
+ * $date day in MySQL date format yyyy-mm-dd, 0 today
213
+ * $limit count of posts
214
+ * $show_form show form for date selection, default on, in frontend set it to 0
215
+ * $show_notes show button to add notes in form, default on, in frontend set it to 0
216
+
217
+ 'getClients( $frontend )'
218
+
219
+ * shows visits per client/browser in percent
220
+ * $frontend: 0 echo, 1 return output
221
+
222
+ 'getReferers( $limit = 0, $frontend )'
223
+
224
+ * lists top _$limit_ referrers, 0: get option from DB, x: number
225
+ * $frontend: 0 echo, 1 return output
226
+
227
+ 'getMostVisitedPostIDs( $days, $limit, $cats, $return_array )'
228
+
229
+ * $days last x days, default = 100
230
+ * $limit return max. x posts
231
+ * $cats IDs of categories to filter, array or number
232
+ * $return_array true returns an array with Post-ID, title and count, false returns comma separated list of Post-IDs
233
+
234
+ **GeoIP**
235
+
236
+ * With GeoIP you can associate your visitors to an country using the ip address.
237
+ * In the database a new column 'country' will be insert on plugin activation.
238
+ * 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.
239
+ * If the rest remains greater than 0 the IP address is not in GeoIP database (accuracy 99.5%).
240
+ * 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).
241
+ * If the automatically update don't work download <a href="http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz">GeoIP.dat.gz</a> and extract it to the "geoip" directory.
242
+ * More information about GeoIP on http://www.maxmind.com/app/geoip_country
243
+
244
+ == Changelog ==
245
+
246
+ = 2.16 =
247
+ + New: more modern charts (jQuery flot plugin)
248
+ + New: widgets now sortable
249
+ + New: GeoIP database included, non extra download after plugin update necessary
250
+ + New: list "Visitors online" per country
251
+ + New: option to limit the referrers list
252
+ + New: option to not load stylesheet in frontend
253
+ + New: function 'getMostVisitedPostIDs', can create a "related posts" list
254
+ + Bugfix: GeoIP functions renamed, conflicts with other plugins
255
+ + New Language: Greek, thanks to Essetai_Imar
256
+
257
+ = 2.15.1 =
258
+ + Bugifx: error in "Visitors per month" counter
259
+
260
+ = 2.15 =
261
+ + New: functions and shortcodes [CPD_READS_THIS_MONTH] [CPD_VISITORS_THIS_MONTH]
262
+ + New: reads last week, reads this month and visitors this month in widget
263
+ + Bugfix: Ajax counter for cached pages is now multi widget compatible
264
+ + Language updates: Polish, Russia
265
+
266
+ = 2.14 =
267
+ + New: multi widget compatible, place the widget several times with individual settings
268
+ + New: WordPress Multisite compatible, networkwide activation creates tables in all blogs
269
+ + New: list reads per month
270
+ + New: functions and shortcodes [CPD_POSTS_ON_DAY] [CPD_READS_PER_MONTH] [CPD_READS_LAST_WEEK]
271
+ + New: show/hide local referrers
272
+ + New: optional deactivation of saving clients and referrers to save space in the database
273
+ + New: debug mode per URL parameter (?debug=1)
274
+ + Bugfix: GeoIP database update, problem with local IP adresses
275
+ + Bugfix: Userlevel/Capabilities
276
+ + Bugfix: yesterday reads and visitors (timezone)
277
+ + Bugfix: links on mass bots page
278
+ + little cosmetics
279
+ + Language update: Italian
280
+
281
+ = 2.13.1 =
282
+ + New Language: Espanol, thanks to Juan Carlos del R&iacute;o
283
+ + Bugfix: problems with MySQL 4.x
284
+ + Bugfix: changed error handling
285
+
286
+ = 2.13 =
287
+ + New: Top referrers
288
+ + Bugfix: Thickbox only in backend needed, RTL on he_IL was broken
289
+ + Bugfix: startpage was not counted everywhere
290
+ + Language update: Portuguese (Brazil)
291
+
292
+ = 2.12 =
293
+ + New: Flags images as sprite included
294
+ + New: improved "Browsers" management, set your own favorites
295
+ + New: improved "Mass Bots" management, more infos
296
+ + New: "Visitors per country" list
297
+ + New: "Visitors per day" list/chart
298
+ + New: works now in cached pages too (optional, BETA)
299
+ + New: easier switch to debug mode on settings
300
+ + Language update: Dansk, Dutch, France, German, Italian, Russian, Swedish
301
+ + Bugfix: CleanDB delete by IP function changed
302
+ + Bugfix: because windows symlink problem plugin dir is hardcoded as 'count-per-day' now
303
+ + Code updated (deprecated functions)
304
+
305
+ = 2.11 =
306
+ + Bugfix: GeoIP, update old data used wrong IP format
307
+ + Bugfix: CleanDB deletes to many entries (index, categories, tags)
308
+ + Bugfix: date/timezone problem
309
+ + New: anonymous IP addresses (last bit, optional)
310
+ + New: simple scroll function in charts
311
+ + New language: Polish, thanks to LeXuS
312
+
313
+ = 2.10.1 =
314
+ + New language: Dutch, thanks to Rene http://wpwebshop.com
315
+
316
+ = 2.10 =
317
+ + New language: French, thanks to Bjork http://www.habbzone.fr
318
+ + New: Worldmap to visualize visitors per country
319
+ + New: Shortcodes to add lists and charts to posts and pages, check counter.css too
320
+ + Bugfix: mysql_fetch_assoc() error, non existing options
321
+ + Post edit links in lists for editors only (user_level >= 7)
322
+
323
+ = 2.9 =
324
+ + New: little note system to mark special days
325
+ + New: functions to get reads/page views total, today and yesterday
326
+ + Language update: Italian, thanks to Gianni Diurno
327
+ + Language update: Portuguese (Brazil), thanks to Lucato
328
+ + Language update: Swedish, thanks to Magnus Suther
329
+ + Language update: Dansk, thanks to Jonas Thomsen
330
+ + Language update: German
331
+
332
+ = 2.8 =
333
+ + New: set user level until CpD will count logged users
334
+ + New: link to plugin page on Count per Day dashboard
335
+ + New: click on a bar in the charts reload the page with given date for 'Visitors per day' metabox
336
+ + New language: Swedish, thanks to Magnus
337
+ + New language: Dansk, thanks to GeorgeWP
338
+
339
+ = 2.7 =
340
+ + Bugfix: date/timezone problem
341
+ + New: change start date and start count on option page
342
+ + New: "edit post" links on lists
343
+ + New: new list shows visitors per post on user defined date
344
+ + New: link to plugin page
345
+
346
+ = 2.6 =
347
+ + languages files now compatible with Wordpress 2.9
348
+ + New: improved CSS support for RTL blogs (e.g. arabic)
349
+
350
+ = 2.5 =
351
+ + BACKUP YOUR COUNTER DATABASE BEFORE UPDATE!
352
+ + Change: some big changes on database and functions to speed up mysql queries. This will take a while on activation!
353
+ + New: "Mass Bot Detector" shows and deletes clients that view more than x pages per day
354
+ + New: see count and time of queries if CPD_DEBUG is true (on top of counter.php)
355
+ + Bugfix: cleanDB by IP now works
356
+ + Language update: Portuguese (Brazil), thanks to Beto Ribeiro
357
+
358
+ = 2.4.2 =
359
+ + Bugfix: mysql systax error
360
+ + Bugfix: no country data was stored (GeoIP), use "Update old counter data" on options page
361
+
362
+ = 2.4 =
363
+ + Bugfix: works with PHP 4.x again (error line 169)
364
+ + Change: some functions now faster
365
+ + New: GeoIP included. You have to load GeoIP.dat file on option page before you can use it.
366
+ + Language updates: Italian (Gianni Diurno) and German
367
+
368
+ = 2.3.1 =
369
+ + Bugfix: counter do not work without GeoIP Addon (nonexisting row 'country' in table)
370
+
371
+ = 2.3 =
372
+ + New: chart "visitors per day"
373
+ + New: counts index pages: homepage, categories, tags (if autocount is on)
374
+ + New: visits per client/browser in percent
375
+ + New: added some parameters to functions to overwrite default values
376
+ + New language: Usbek, thanks to Alisher
377
+
378
+ = 2.2 =
379
+ + Change: USER_AGENT must have > 20 chars, otherwise we call it "bot"
380
+ + New: optional GeoIP addon to show page views per country - see Section "GeoIP addon"
381
+
382
+ = 2.1 =
383
+ + New: custom names on widget
384
+ + New: function "first count" on widget
385
+ + little changes on german translation
386
+
387
+ = 2.0 =
388
+ + New: sidebar widget
389
+ + New: reset button to set all counter to 0
390
+ + New: custom number of "reads per post" on dashboard page
391
+ + New: little chart of "reads per day" on dashboard page
392
+ + New: reads in post and page lists (optional)
393
+ + New: most visited posts in last days on dashboard page
394
+ + New: recognize bots by IP address
395
+ + New: movable metaboxes on dashboard page
396
+ + New: clean function now deletes counter of deleted pages too
397
+ + Bugfix: updates online counter on every load
398
+ + Bugfix: now empty user agents/clients will not be count
399
+ + change options to array
400
+ + create class, update/clean up/rename functions
401
+
402
+ = 1.5.1 =
403
+ + New language: Belorussian, thanks to Marcis Gasuns
404
+
405
+ = 1.5 =
406
+ + New: Dashboard Widget
407
  + WP 2.7 optimized, for WP<2.7 please use CPD 1.4
408
 
409
+ = 1.4 =
410
+ + New: uninstall function of WP 2.7 implemented
 
411
  + litle changes on layout to be suitable for WP 2.7
412
 
413
+ = 1.3 =
 
414
  + New: you can delete old data if you add a new bot string
415
  + Bugfix: Bot check was case-sensitive
416
  + New language: Portuguese, thanks to Filipe
417
 
418
+ = 1.2.3 =
 
419
  + Bugfix: autocount endless looping
420
 
421
+ = 1.2.2 =
422
+ + New language: Italian, thanks to Gianni Diurno
 
 
 
423
 
424
+ = 1.2.1 =
425
  + Bugfix: Error 404 "Page not found" with "auto count"
426
 
427
+ = 1.2 =
 
428
  + Bugfix: tables in DB were not be created every time (seen on mysql < 5)
429
  + New: "auto count" can count visits without changes on template
430
 
431
+ = 1.1 =
 
432
  + Languages: english, german
433
+ + HTTP_USER_AGENT will be saved, identification of new search bots
434
  + Stylesheet in file counter.css
435
 
436
+ = 1.0 =
437
+ + first release
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png ADDED
Binary file
userperspan.php ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!session_id()) session_start();
3
+ require_once($_SESSION['cpd_wp'].'wp-load.php');
4
+
5
+ $cpd_datemin = ( !empty($_REQUEST['datemin']) ) ? $_REQUEST['datemin'] : date_i18n('Y-m-d', time() - 86400 * 14); // 14 days
6
+ $cpd_datemax = ( !empty($_REQUEST['datemax']) ) ? $_REQUEST['datemax'] : date_i18n('Y-m-d');
7
+ $cpd_page = ( isset($_REQUEST['page']) ) ? $_REQUEST['page'] : 0;
8
+
9
+ $sql = "SELECT p.post_title,
10
+ COUNT(*) AS count,
11
+ c.page,
12
+ c.date
13
+ FROM ".CPD_C_TABLE." c
14
+ LEFT JOIN ".$wpdb->posts." p
15
+ ON p.ID = c.page
16
+ WHERE c.page = '$cpd_page'
17
+ AND c.date >= '$cpd_datemin'
18
+ AND c.date <= '$cpd_datemax'
19
+ GROUP BY c.date
20
+ ORDER BY c.date desc";
21
+ $cpd_visits = $count_per_day->getQuery($sql, 'getUserPerPostSpan');
22
+ ?>
23
+
24
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
25
+ <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="de-DE">
26
+ <head>
27
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
28
+ <title>Count per Day</title>
29
+ <link rel="stylesheet" type="text/css" href="counter.css" />
30
+ </head>
31
+ <body class="cpd-thickbox">
32
+
33
+ <h2><?php _e('Visitors per day', 'cpd') ?></h2>
34
+
35
+ <form action="" method="post">
36
+ <p style="background:#ddd; padding:3px;">
37
+ <?php _e('Start', 'cpd'); ?>:
38
+ <input type="text" name="datemin" value="<?php echo $cpd_datemin; ?>" size="10" />
39
+ <?php _e('End', 'cpd'); ?>:
40
+ <input type="text" name="datemax" value="<?php echo $cpd_datemax; ?>" size="10" />
41
+ <?php _e('PostID', 'cpd'); ?>:
42
+ <input type="text" name="page" value="<?php echo $cpd_page; ?>" size="5" />
43
+ <input type="submit" value="<?php _e('show', 'cpd') ?>" />
44
+ </p>
45
+ </form>
46
+
47
+ <?php
48
+ if ( @mysql_num_rows($cpd_visits) == 0 )
49
+ _e('no data found', 'cpd');
50
+ else
51
+ {
52
+ $cpd_maxcount = 1;
53
+ while ( $r = mysql_fetch_array($cpd_visits) )
54
+ $cpd_maxcount = max( array( $cpd_maxcount, intval($r['count']) ) );
55
+ mysql_data_seek($cpd_visits, 0);
56
+ $cpd_faktor = 300 / $cpd_maxcount;
57
+
58
+ while ( $r = mysql_fetch_array($cpd_visits) )
59
+ {
60
+ if ( !isset($cpd_new) )
61
+ {
62
+ if ( $cpd_page == 0 )
63
+ echo '<h2>'.__('Front page displays').'</h2';
64
+ else
65
+ echo '<h2>'.$r['post_title'].'</h2>';
66
+ echo '<ol class="cpd-dashboard" style="padding: 0;">';
67
+ }
68
+ else
69
+ {
70
+ if ( $cpd_new < $r['count'] )
71
+ $cpd_style = 'style="color:#b00;"';
72
+ else if ( $cpd_new > $r['count'] )
73
+ $cpd_style = 'style="color:#0a0;"';
74
+ else
75
+ $cpd_style = '';
76
+
77
+ $cpd_bar = $cpd_new * $cpd_faktor;
78
+ $cpd_trans = 300 - $cpd_bar;
79
+ $cpd_imgbar = '<img src="'.$count_per_day->getResource('cpd_rot.png').'" alt="" style="width:'.$cpd_bar.'px;height:23px;padding-left:10px;" />';
80
+ $cpd_imgtrans = '<img src="'.$count_per_day->getResource('cpd_trans.png').'" alt="" style="width:'.$cpd_trans.'px;height:10px;padding-right:10px;" />';
81
+
82
+ echo '<li>';
83
+ echo '<b>'.$cpd_imgbar.$cpd_imgtrans.'</b>';
84
+ echo '<b '.$cpd_style.'>'.$cpd_new.'</b>';
85
+ echo $cpd_date_str.'</li>';
86
+ }
87
+ $cpd_date_str = mysql2date(get_option('date_format'), $r['date']);
88
+ $cpd_new = intval($r['count']);
89
+ }
90
+
91
+ $cpd_bar = $cpd_new * $cpd_faktor;
92
+ $cpd_trans = 300 - $cpd_bar;
93
+ $cpd_imgbar = '<img src="'.$count_per_day->getResource('cpd_rot.png').'" alt="" style="width:'.$cpd_bar.'px;height:23px;padding-left:10px;" />';
94
+ $cpd_imgtrans = '<img src="'.$count_per_day->getResource('cpd_trans.png').'" alt="" style="width:'.$cpd_trans.'px;height:10px;padding-right:10px;" />';
95
+
96
+ echo '<li>';
97
+ echo '<b>'.$cpd_imgbar.$cpd_imgtrans.'</b>';
98
+ echo '<b>'.$cpd_new.'</b>';
99
+ echo $cpd_date_str.'</li>';
100
+ }
101
+ echo '</ol>';
102
+ if ($count_per_day->options['debug']) $count_per_day->showQueries();
103
+ ?>
104
+ </body>
105
+ </html>