<p> Easy Social Share Buttons for WordPress Version <strong><?php echo ESSB3_VERSION; ?> </strong>. <strong><a href="http://fb.creoworx.com/essb/change-log/" target="_blank">See what's new in this version</a></strong> <strong><a href="http://codecanyon.net/item/easy-social-share-buttons-for-wordpress/6394476?ref=appscreo" target="_blank">Easy Social Share Buttons plugin homepage</a></strong> </p> </div> <div class="essb-clear"></div> <?php EasySocialMetricsUpdater::printQueueLength(); ?> <div class="essb-clear"></div> <div class="essb-title-panel"> <form id="easy-social-metrics-lite" method="get" action="admin.php?page=easy-social-metrics-lite"> <input type="hidden" name="page" value="<?php echo $_REQUEST['page']; ?> " /> <?php $range = isset($_GET['range']) ? $_GET['range'] : 0; ?> <label for="range">Show only:</label> <select name="range">
function esml_render_dashboard_view($options) { //Create an instance of our package class... $testListTable = new EasySocialMetricsLiteResultTable(); $testListTable->options = $options; //Fetch, prepare, sort, and filter our data... $testListTable->prepare_items(); ?> <style type="text/css"> .column-post_title { width: 30%; } .column-total { font-weight: bold; } </style> <div class="wrap"> <h2>Easy Social Metrics Lite Dashboard</h2> <div style="clear:both;"></div> <div class="welcome-panel"> <div class="welcome-panel-content"> <div class="welcome-panel-column-container"> <div class="welcome-panel-column" style="width: 49%;"> <h4>Social Networks Presentation</h4> <?php $testListTable->output_total_results(); ?> </div> <div class="welcome-panel-column" style="width: 49%;"> <h4>Top Shared Content by Social Network</h4> <?php $testListTable->output_total_content(); ?> </div> </div> </div> </div> <?php EasySocialMetricsUpdater::printQueueLength(); ?> <form id="easy-social-metrics-lite" method="get" action="admin.php?page=easy-social-metrics-lite"> <!-- For plugins, we also need to ensure that the form posts back to our current page --> <input type="hidden" name="page" value="<?php echo $_REQUEST['page']; ?> " /> <input type="hidden" name="orderby" value="<?php echo !empty($_REQUEST['orderby']) ? $_REQUEST['orderby'] : 'total'; ?> " /> <input type="hidden" name="order" value="<?php echo !empty($_REQUEST['order']) ? $_REQUEST['order'] : 'DESC'; ?> " /> <?php $testListTable->display(); ?> </form> </div> <?php }