PluginProbe
Wp-Insert / 1.5.1
Wp-Insert v1.5.1
trunk 1.0 1.1 1.2 1.2.1 1.2.2 1.3.0 1.3.1 1.3.3 1.4 1.5.0 1.5.1 1.5.2 1.5.3 1.6.0 1.6.1 1.6.2 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 2.0 All 63 releases
wp-insert / includes / adsenseperformance.php

adsenseperformance.php in Wp-Insert 1.5.1, at includes/adsenseperformance.php

40 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 require_once (dirname(__FILE__) . '/adsense.php');
3
4 function wp_insert_adsense_page() {
5 global $screen_layout_columns;
6
7 add_meta_box('wp_insert_adsense_login_credentials', 'Adsense Username and Password', 'wp_insert_adsense_login_credentials_HTML', 'col_1');
8 add_meta_box('wp_insert_adsense_sincelastpayment', 'Adsense : Total Since Last Payment', 'wp_insert_adsense_sincelastpayment_HTML', 'col_1');
9 /*add_meta_box('wp_insert_adsense_today', 'Adsense : Today', 'wp_insert_adsense_today_HTML', 'col_1');
10 add_meta_box('wp_insert_adsense_yesterday', 'Adsense : Yesterday', 'wp_insert_adsense_yesterday_HTML', 'col_1');
11 add_meta_box('wp_insert_adsense_last7days', 'Adsense : Last 7 Days', 'wwp_insert_adsense_last7days', 'col_1');
12 add_meta_box('wp_insert_adsense_lastmonth', 'Adsense : Last Month', 'wp_insert_adsense_lastmonth_HTML', 'col_1');
13 add_meta_box('wp_insert_adsense_thismonth', 'Adsense : This Month', 'wp_insert_adsense_thismonth_HTML', 'col_1');*/
14
15 $parameters = 'wp_insert_adsense_username, wp_insert_adsense_password';
16 wp_insert_settings_page_layout($parameters, 'WP-INSERT : Monitor Adsense', 'adsense');
17 }
18
19 function wp_insert_adsense_login_credentials_HTML() { ?>
20 <div>
21 <p>
22 <label for="wp_insert_adsense_username">Adsense Username :</label>
23 <input id="wp_insert_adsense_username" class="widefat" type="text" value="<?php echo get_option('wp_insert_adsense_username'); ?>" name="wp_insert_adsense_username"/>
24 </p>
25 <p>
26 <label for="wp_insert_adsense_password">Adsense Password:</label>
27 <input id="wp_insert_adsense_password" class="widefat" type="password" value="<?php echo get_option('wp_insert_adsense_password'); ?>" name="wp_insert_adsense_password"/>
28 </p>
29 <p>
30 <small>Data Retrieval Based on <a href="http://www.webtoolkit.info/php-adsense-account-monitor.html">PHP AdSense account monitor class</a></small>
31 </p>
32 </div>
33 <?php }
34
35 function wp_insert_adsense_sincelastpayment_HTML() { ?>
36 <div>
37
38 </div>
39 <?php }
40 ?>