<?php

$keys = array($top, $middle, $bottom);
openBox(__("Ad Alignment", 'easy-ads'));
?>
<p>Ads can be placed in three different slots on each page or post - Top (Lead-in), Middle (Mid-Post) and Bottom (Lead-out). Each slot will be aligned (or suppressed) as you specify below.</p>
<table class="table borderless">
  <thead>
    <tr>
      <th></th>
      <th class="center-text">Left</th>
      <th class="center-text">Left<br>(Wrap)</th>
      <th class="center-text">Center</th>
      <th class="center-text">Right</th>
      <th class="center-text">Right<br>(Wrap)</th>
      <th class="center-text">Suppress</th>
    </tr>
  </thead>
  <tbody>
    <?php 
foreach ($keys as $pk) {
    echo EzGA::renderOptionCell($pk, $ezOptions[$pk]);
}
?>
  </tbody>
</table>
<?php 
closeBox();
Exemple #2
0
      <a href="#">Home</a>
    </li>
    <li>
      <a href="#">Update <?php 
echo $plgName;
?>
</a>
    </li>
  </ul>
</div>
<style type="text/css">
  label{width:100px;}
</style>
<?php 
insertAlerts(11);
openBox("Update or Upgrade Your Product", "plus", 11, "<p>It is easy to update your application. Once you have downloaded an update package, please use the Browse button in the <b>Upload Your Zip File</b> section. When you have selected the zip file to upload, the updater will take care of the rest.</p>" . "<p>If you have purchased a <a href='#' class='goPro'>Pro upgrade</a>, the process is identical. Just browse and upload the zip file." . "<p>In some installations, you may need to provide FTP details for the updater to work. If needed, you will be prompted for the credentials. Contact your hosting provider or system admin for details.</p>");
$updateBox = '';
?>
<div class="clearfix">&nbsp;</div>
<?php 
if (EzGA::$isPro || !empty(EzGA::$options['allow_updates'])) {
    $localVersion = $updater->getLocalVersion();
    $remoteVersion = $updater->getRemoteVersion();
    $toolTip = $updater->getUpdateText();
    if ($updater->isOld()) {
        ?>
    <div class="col-md-3 col-sm-3 col-xs-6 update">
      <a data-toggle="tooltip" title="<?php 
        echo $toolTip;
        ?>
" class="well top-block update" href="#">
<?php

require 'header.php';
?>
<div>
  <ul class="breadcrumb">
    <li>
      <a href="#">Home</a>
    </li>
    <li>
      <a href="#">Migrate Data</a>
    </li>
  </ul>
</div>

<?php 
openBox("Migrate Old Options", "user", 12);
?>
<p>This version of the Ads EZ Plugin for AdSense uses a new data/option model. When the plugin is activated, all the options from previous versions of Easy AdSense, Google AdSense, AdSense Now, Easy Ads, Easy Chitika etc. are detected and copied over to the new options model. If you have made further changes in the old plugin options and would like to migrate them as well, you can do so here.</p>
<p>Note that clicking on the Migrate button does not overwrite existing (already migrated) options. It will only migrate new options created (for instance, by switching to a new theme and running a previous version of one of the afore-mentioned plugins).</p>
<div><a href="?migrate" class="btn btn-primary" title="Migrate " data-toggle="tooltip">Migrate Now</a> </div>
<div class="clearfix">&nbsp;</div>
<?php 
if (isset($_REQUEST['migrate'])) {
    require_once 'Migrator.php';
    $migrator = new Migrator();
    $migrator->migrate(true);
}
closeBox();
include 'promo.php';
require 'footer.php';
Exemple #4
0
<div>
  <ul class="breadcrumb">
    <li>
      <a href="#">Home</a>
    </li>
    <li>
      <a href="#">Tour</a>
    </li>
  </ul>
</div>
<h3>Take a Tour of <?php 
echo $plgName;
?>
 Features</h3>
<?php 
openBox("Tour and Help", "globe", 8);
?>
<h4>Quick Start</h4>
<p>Welcome to <?php 
echo $plgName;
?>
, on of the most popular AdSense plugin ever. </p>
<ul>
  <li>Go to the <a href='<?php 
echo $plgSlug;
?>
-admin.php'>admin page</a></strong> and enter your ad code and other details.</li>
  <li>If you have the <strong><a href="#" class='goPro' data-product='<?php 
echo $plgSlug;
?>
'>Pro version</a></strong> of <?php 
Exemple #5
0
<?php

require 'header.php';
?>
<div>
  <ul class="breadcrumb">
    <li>
      <a href="#">Home</a>
    </li>
    <li>
      <a href="#">Languages</a>
    </li>
  </ul>
</div>

<?php 
openBox("Languages and Internationlization", "globe");
?>
<p>Internationalization is temporarily disabled in this release. It will be available again soon.</p>
<?php 
closeBox();
include 'promo.php';
require 'footer.php';
?>
  </div>
  <div class="col-md-3 col-sm-12">
    <?php 
echo EzGA::renderOptionCell('margin_lu', $ezOptions['margin_lu']);
?>
  </div>
  <div class="col-md-9 col-sm-12">
    <?php 
echo EzGA::renderOptionCell('show_lu', $ezOptions['show_lu']);
?>
  </div>
  <div class="clearfix"></div>
  <?php 
closeBox();
openBox(__('Google Search Widget', 'easy-adsenser'));
?>
  <div class="col-md-12">
    <?php 
echo EzGA::renderOptionCell('text_gsearch', $ezOptions['text_gsearch']);
?>
  </div>
  <div class="col-md-12">
    <?php 
echo EzGA::renderOptionCell('title_gsearch', $ezOptions['title_gsearch']);
?>
  </div>
  <div class="col-md-7 col-sm-12">
    <?php 
echo EzGA::renderOptionCell('title_gsearch_custom', $ezOptions['title_gsearch_custom']);
?>
<?php

$keys = array('kill_feed', 'kill_page', 'kill_home', 'kill_front_page', 'kill_attachment', 'kill_category', 'kill_search', 'kill_sticky', 'kill_tag', 'kill_archive');
openBox(__("Suppressing Ad Blocks", 'easy-ads'));
?>
<p>Ads can be suppressed on various kinds of pages on your blog, as you specify below.</p>
<table class="table">
  <tbody>
    <?php 
$break = false;
foreach ($keys as $pk) {
    if (!$break) {
        echo "<tr>";
    }
    echo EzGA::renderOptionCell($pk, $ezOptions[$pk]);
    if ($break) {
        echo "</tr>";
    }
    $break = !$break;
}
?>
  </tbody>
  <tfoot><tr><td colspan="4"></td></tr></tfoot>
</table>
<p>Suppress Ads (from this <strong>Option Set</strong>) on following categories, posts and pages as well.</p>
<table class="table">
  <tbody>
    <tr>
      <td>
        <strong>Select Categories/Posts/Pages</strong>
      </td>
require 'header.php';
?>
<div>
  <ul class="breadcrumb">
    <li>
      <a href="#">Home</a>
    </li>
    <li>
      <a href="#">Configuration</a>
    </li>
  </ul>
</div>

<?php 
openBox("Other Options", "th-list", 11, "The table below is editable. You can click on the option values and enter new values.  Hover over the <i class='glyphicon glyphicon-question-sign blue'></i> <b>Help</b> button on the row for quick info on what that option does.");
?>
<p>This feature is available in the <a href="#" class="goPro">Pro version</a> of this plugin, which allows you to set a few global options:</p>
<ul>
  <li><strong>Suspend All Ads</strong>: Check this to temporarily suspend all ad serving. This will set a global option <code>adsense-suspend-ads</code> which can be used even in theme files to prevent ads from appearing, or for other formatting based on ads.</li>
  <li><strong>Select Admin Theme</strong>: If you are not crazy about the default color scheme of the admin pages, you can change it here.</li>
  <li><strong>Enable Breadcrumbs</strong>: On the plugin admin page, you can have breadcrumbs so that you can see where you are. This feature is of questionable value on an admin page, and is disabled by default.</li>
  <li><strong>Enable Statistics</strong>: (Optional Paid Module required) If you wish to track your ad statistics, please check enable it here. Although designed to be lightweight, please note that statistics collection may impact your server performance depending on the kind of hosting you have. If you feel that your server cannot handle statistics, disable it here.</li>
</ul>
<?php 
if (file_exists("options-advanced.php")) {
    require_once "options-advanced.php";
} else {
    ?>
  <hr>
  <h4>Screenshot of the Options Screen the <a href="#" class="goPro">Pro</a> Version</h4>
<?php

$plgName = EzGA::getPlgName();
$plgSlug = EzGA::getSlug();
$plgPrice = EzGA::$plgPrice;
openBox("Upgrades");
if (EzGA::$isPro) {
    ?>
  <div class="col-sm-6 col-xs-12 goPro" data-product="<?php 
    echo $plgSlug;
    ?>
">
    <a data-toggle="tooltip" title="Thank you for using <?php 
    echo $plgName;
    ?>
. It is licensed on a per-installation basis. If you need more licenses, please get them for only $<?php 
    echo $plgPrice[$plgSlug];
    ?>
 each." class="well top-block goPro" href="http://buy.thulasidas.com/<?php 
    echo $plgSlug;
    ?>
">
      <i class="glyphicon glyphicon-shopping-cart red"></i>
      <div><?php 
    echo $plgName;
    ?>
</div>
      <div>Get additional licenses at $<?php 
    echo $plgPrice[$plgSlug];
    ?>
.</div>