Changeset 2407002
- Timestamp:
- 10/26/2020 07:36:10 PM (5 years ago)
- Location:
- zestatix
- Files:
-
- 31 added
- 2 edited
-
tags/1.0.5.1 (added)
-
tags/1.0.5.1/LICENSE.txt (added)
-
tags/1.0.5.1/frameworks (added)
-
tags/1.0.5.1/frameworks/bootstrap (added)
-
tags/1.0.5.1/frameworks/bootstrap/bootstrap.min.css (added)
-
tags/1.0.5.1/frameworks/bootstrap/bootstrap.min.js (added)
-
tags/1.0.5.1/frameworks/readme.txt (added)
-
tags/1.0.5.1/img (added)
-
tags/1.0.5.1/img/description (added)
-
tags/1.0.5.1/img/description/card-element-1.jpg (added)
-
tags/1.0.5.1/img/description/card-element-2.jpg (added)
-
tags/1.0.5.1/img/description/card-element-3.jpg (added)
-
tags/1.0.5.1/img/description/main-settings-1.jpg (added)
-
tags/1.0.5.1/img/description/main-settings-2.jpg (added)
-
tags/1.0.5.1/img/description/select-element-1.jpg (added)
-
tags/1.0.5.1/img/logo.png (added)
-
tags/1.0.5.1/img/toggle.png (added)
-
tags/1.0.5.1/includes (added)
-
tags/1.0.5.1/includes/class_AddEvent_zeStatix.php (added)
-
tags/1.0.5.1/includes/class_AddScriptFrontEnd_zeStatix.php (added)
-
tags/1.0.5.1/includes/class_Customizer_zeStatix.php (added)
-
tags/1.0.5.1/includes/class_RequestsDB_zeStatix.php (added)
-
tags/1.0.5.1/includes/customizer_panel.js (added)
-
tags/1.0.5.1/includes/db_upgrade.php (added)
-
tags/1.0.5.1/includes/install_uninstall.php (added)
-
tags/1.0.5.1/includes/setting_page.php (added)
-
tags/1.0.5.1/lang (added)
-
tags/1.0.5.1/lang/zestatix-ru_RU.mo (added)
-
tags/1.0.5.1/lang/zestatix-ru_RU.po (added)
-
tags/1.0.5.1/readme.txt (added)
-
tags/1.0.5.1/zestatix.php (added)
-
trunk/includes/class_RequestsDB_zeStatix.php (modified) (1 diff)
-
trunk/includes/setting_page.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
zestatix/trunk/includes/class_RequestsDB_zeStatix.php
r2406964 r2407002 53 53 54 54 $return_details = self::get_loaded(); 55 56 if ( $return_details ) $return_details = []; 55 57 56 58 $details_click = $wpdb->get_results( -
zestatix/trunk/includes/setting_page.php
r2406964 r2407002 1553 1553 var length_unique_ip = ( typeof obj_details[selector]['clicks'] != 'undefined' ) ? count_unique( obj_details[selector]['clicks'] ) : '0', 1554 1554 1555 length_click = ( typeof obj_details[selector]['clicks'] != 'undefined' ) ? obj_details[selector]['clicks'].length : '0'; 1555 length_click = ( typeof obj_details[selector]['clicks'] != 'undefined' ) ? obj_details[selector]['clicks'].length : '0', 1556 1557 unique_url = ( typeof obj_details[selector]['unique_url'] != 'undefined' ) ? obj_details[selector]['unique_url'].length : '0', 1558 1559 unique_user = ( typeof obj_details[selector]['unique_user'] != 'undefined' ) ? obj_details[selector]['unique_user'].length : '0', 1560 1561 count_loaded = ( typeof obj_details[selector]['count_loaded'] != 'undefined' ) ? obj_details[selector]['count_loaded'] : '0'; 1556 1562 1557 1563 if ( obj_details && typeof obj_details[selector] != 'undefined' ) { 1558 var html = '<div class="details-zestatix"><table class="table table-striped table-details"><tr scope="row"><td>' + '<?php esc_html_e( 'status', 'zestatix' ) ?>' + ':</td><td class="status-element-zestatix"></td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'date of creation', 'zestatix' ) ?>' + ':</td><td>' + obj_details[selector]['created'] + '</td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'element loaded', 'zestatix' ) ?>' + ':</td><td>' + obj_details[selector]['count_loaded'] + ' <?php esc_html_e( 'times', 'zestatix' ) ?>' + '</td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'loaded on', 'zestatix' ) ?>' + ':</td><td>' + obj_details[selector]['unique_url'].length + ' <?php esc_html_e( 'pages', 'zestatix' ) ?>' + '</td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'watched', 'zestatix' ) ?>' + ':</td><td>' + obj_details[selector]['unique_user'].length+ ' <?php esc_html_e( 'unique visitors', 'zestatix' ) ?>' + '</td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'clicks', 'zestatix' ) ?>' + ':</td><td>' + length_click + '</td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'unique clicks', 'zestatix' ) ?>' + ':</td><td>' + length_unique_ip + '</td></tr><tr scope="row" class="table-control-history-zestatix"><td colspan="2" class="control-history-zestatix"><div class="div-control-history-zestatix"><button type="button" class="btn btn-outline-secondary btn-details-zestatix"><span>' + '<?php esc_html_e( 'CLICKS DETAILS', 'zestatix' ) ?>' + '</span></button><button type="button" class="btn btn-outline-secondary btn-c-h-zestatix">' + '<?php esc_html_e( 'CLEAR HISTORY', 'zestatix' ) ?>' + '</button></div></td></tr></table></div>'1564 var html = '<div class="details-zestatix"><table class="table table-striped table-details"><tr scope="row"><td>' + '<?php esc_html_e( 'status', 'zestatix' ) ?>' + ':</td><td class="status-element-zestatix"></td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'date of creation', 'zestatix' ) ?>' + ':</td><td>' + obj_details[selector]['created'] + '</td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'element loaded', 'zestatix' ) ?>' + ':</td><td>' + count_loaded + ' <?php esc_html_e( 'times', 'zestatix' ) ?>' + '</td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'loaded on', 'zestatix' ) ?>' + ':</td><td>' + unique_url + ' <?php esc_html_e( 'pages', 'zestatix' ) ?>' + '</td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'watched', 'zestatix' ) ?>' + ':</td><td>' + unique_user + ' <?php esc_html_e( 'unique visitors', 'zestatix' ) ?>' + '</td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'clicks', 'zestatix' ) ?>' + ':</td><td>' + length_click + '</td></tr><tr scope="row"><td>' + '<?php esc_html_e( 'unique clicks', 'zestatix' ) ?>' + ':</td><td>' + length_unique_ip + '</td></tr><tr scope="row" class="table-control-history-zestatix"><td colspan="2" class="control-history-zestatix"><div class="div-control-history-zestatix"><button type="button" class="btn btn-outline-secondary btn-details-zestatix"><span>' + '<?php esc_html_e( 'CLICKS DETAILS', 'zestatix' ) ?>' + '</span></button><button type="button" class="btn btn-outline-secondary btn-c-h-zestatix">' + '<?php esc_html_e( 'CLEAR HISTORY', 'zestatix' ) ?>' + '</button></div></td></tr></table></div>' 1559 1565 } 1560 1566
Note: See TracChangeset
for help on using the changeset viewer.