"; } /* Register the link on the left sidebar in the administration interface */ function websitez_configuration_menu(){ add_menu_page( __( WEBSITEZ_PLUGIN_NAME, 'Websitez' ), __( ''.__(WEBSITEZ_PLUGIN_NAME).'', 'Websitez' ), 8, 'websitez_config', 'websitez_configuration_page',plugin_dir_url(__FILE__).'images/phone_icon_16x16.png'); add_submenu_page( 'websitez_config', __('Settings', 'Websitez'), __('Settings', 'Websitez'), 8, 'websitez_config', 'websitez_configuration_page' ); add_submenu_page( 'websitez_config', __('Stats', 'Websitez'), __('Stats', 'Websitez'), 8, 'websitez_stats', 'websitez_stats_page' ); add_submenu_page( 'websitez_config', __('Mobile Themes', 'Websitez'), __('Mobile Themes', 'Websitez'), 8, 'websitez_themes', 'websitez_themes_page' ); } function websitez_stats_page(){ global $wpdb, $websitez_plugin_description, $table_prefix, $websitez_free_version; ?>
|
||||||
| '.count($v['visits']).'') ?> | '.date("Y-m-d H:i:s", strtotime($v['visits'][(count($v['visits'])-1)])).'') ?> | '.$v['data']['REMOTE_ADDR'].'') ?> | '.$v['data']['HTTP_USER_AGENT'].'') ?> |
| Basic Mobile Device The WP Mobile Detector will remove all images and advanced HTML from being displayed on basic devices. ') ?> |
|
| Advanced Mobile Device The WP Mobile Detector will resize images that are too large to display on advanced mobile devices. ') ?> |
Settings saved.
Error saving settings.
'.$error_message.'
Settings saved.
Error saving settings.
Settings saved.
Error saving settings.