<?php

/*
 * GetResponse Autoresponder API
 * Original Author : Mike Lopez
 * Version: $Id: integration.autoresponder.getresponse.php 2306 2014-08-27 22:05:26Z mike $
 */
$__index__ = 'getresponse';
$__ar_options__[$__index__] = 'GetResponse';
$__ar_affiliates__[$__index__] = 'http://wlplink.com/go/getresponse';
$__ar_videotutorial__[$__index__] = wlm_video_tutorial('integration', 'ar', $__index__);
if ($data['ARProvider'] == $__index__) {
    if ($__INTERFACE__) {
        ?>
		<form method="post">
			<input type="hidden" name="saveAR" value="saveAR" />
			<table class="widefat">
				<thead>
					<tr>
						<th scope="col"><?php 
        _e('Membership Level', 'wishlist-member');
        ?>
</th>
						<th scope="col"><?php 
        _e('Autoresponder Email', 'wishlist-member');
        ?>
							<?php 
        echo $this->Tooltip("integration-autoresponder-getresponse-tooltips-Autoresponder-Email");
        ?>

						</th>
        ?>
"><?php 
        echo $w->webinar_event_name;
        ?>
</option>
							<?php 
    }
    ?>
						</select>
					</td>
				</tr>
			<?php 
}
?>
		</tbody>
	</table>
	<p class="submit">
		<input type="submit" class="button-primary" value="<?php 
_e('Update Webinar Settings', 'wishlist-member');
?>
" />
	</p>
</form>

<div class="integration-links"
	data-video="<?php 
echo wlm_video_tutorial('integration', 'wb', $webinar_provider);
?>
"
	data-affiliate="http://wlplink.com/go/easywebinar">
<?php

/*
 * Pin Payments Shopping Cart Integration (Formerly known as Spreedly)
 * Original Author : Fel Jun Palawan
 * Version: $Id: integration.shoppingcart.spreedly.php 2389 2014-10-22 15:59:18Z mike $
 */
$__index__ = 'spreedly';
$__sc_options__[$__index__] = 'Pin Payments';
$__sc_affiliates__[$__index__] = '#';
$__sc_videotutorial__[$__index__] = wlm_video_tutorial('integration', 'sc', $__index__);
if (wlm_arrval($_GET, 'cart') == $__index__) {
    include_once $x = $this->pluginDir . '/extlib/class.spreedly.inc';
    if (!$__INTERFACE__) {
        // BEGIN Initialization
        $spreedlythankyou = $this->GetOption('spreedlythankyou');
        if (!$spreedlythankyou) {
            $this->SaveOption('spreedlythankyou', $spreedlythankyou = $this->MakeRegURL());
        }
        // save POST URL
        if (wlm_arrval($_POST, 'spreedlythankyou')) {
            $_POST['spreedlythankyou'] = trim(wlm_arrval($_POST, 'spreedlythankyou'));
            $wpmx = trim(preg_replace('/[^A-Za-z0-9]/', '', $_POST['spreedlythankyou']));
            if ($wpmx == $_POST['spreedlythankyou']) {
                if ($this->RegURLExists($wpmx, null, 'spreedlythankyou')) {
                    echo "<div class='error fade'>" . __('<p><b>Error:</b> Pin Payments Thank You URL (' . $wpmx . ') is already in use by a Membership Level or another Shopping Cart.  Please try a different one.</p>', 'wishlist-member') . "</div>";
                } else {
                    $this->SaveOption('spreedlythankyou', $spreedlythankyou = $wpmx);
                    echo "<div class='updated fade'>" . __('<p>Thank You URL Changed.&nbsp; Make sure to update Pin Payments with the same Thank You URL to make it work.</p>', 'wishlist-member') . "</div>";
                }
            } else {
<?php

/*
 * bbPress Integration for Forum and Category protection
 * Original Author :Peter Indiola
 * Version: $Id:
 */
//Check if bbPress is exist and is activated.
if (!is_plugin_active('bbpress/bbpress.php')) {
    return;
}
$__index__ = 'bbpress';
$__other_options__[$__index__] = 'bbPress';
$__other_affiliates__[$__index__] = '';
$__other_videotutorial__[$__index__] = wlm_video_tutorial('integration', 'other', $__index__);
if ($_GET['other_integration'] == $__index__) {
    if ($__INTERFACE__) {
        $this->IntegrationActive('integration.other.bbpress.php', true);
        $level_names = array();
        foreach ($wpm_levels as $sku => $level) {
            $level_names[$sku] = $level['name'];
        }
        ?>
      <style type="text/css">
      .col-edit { display: none;}
      </style>
        <h2>Manage bbPress Forums and Categories</h2>
        <br/>
        <table class="widefat settings-list">
          <thead>
            <tr>