]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-sponsor.php
RevBomb patch applied (thanks to profi-concept)
[mailer.git] / inc / extensions / ext-sponsor.php
index 1eb26e78e76f3982dd95c3834625b7d42c24e50c..d89ee932a72c0cd16a60ba7f1799c4c1013df11c 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Sponsorenbereich                                 *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -91,7 +96,7 @@ last_curr VARCHAR(255) NOT NULL DEFAULT '€',
 KEY(refid),
 KEY(email),
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // Sponsor orders
        //
@@ -111,7 +116,7 @@ KEY (regid),
 KEY (aid),
 KEY (sponsorid),
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // Pay-types
        //
@@ -123,7 +128,7 @@ pay_rate FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
 pay_min_count BIGINT(20) UNSIGNED NOT NULL DEFAULT 1,
 pay_currency VARCHAR(255) NOT NULL DEFAULT '€',
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // Points-to-action converting
        //
@@ -135,7 +140,7 @@ conv_rate BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 conv_name VARCHAR(255) NOT NULL DEFAULT 'Mails',
 KEY (ext_name),
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // Sponsor menu system (default)
        //
@@ -150,7 +155,7 @@ sort BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 KEY (action),
 UNIQUE KEY (what),
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // Registry for performable actions by your sponsors
        //
@@ -164,7 +169,7 @@ stamp_added VARCHAR(10) NOT NULL DEFAULT 0,
 KEY(ext_name),
 KEY(aid),
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // URLs from the sponsors
        //
@@ -178,7 +183,7 @@ clicks BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 status ENUM('PENDING','ACTIVE','LOCKED') NOT NULL DEFAULT 'PENDING',
 KEY(sponsorid),
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // Banners of any size from the sponsors
        //
@@ -194,7 +199,7 @@ views BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 status ENUM('PENDING','ACTIVE','LOCKED') NOT NULL DEFAULT 'PENDING',
 KEY(sponsorid),
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // Campaigns
        //
@@ -216,7 +221,7 @@ status ENUM('PENDING','ACTIVE','LOCKED') NOT NULL DEFAULT 'PENDING',
 KEY(aid),
 KEY(sponsorid),
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // Campaigns + URLs + Banner
        //
@@ -232,7 +237,7 @@ KEY(bannerid),
 KEY(urlid),
 KEY(campaignid),
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // Allowed data to display (administrative)
        //
@@ -242,7 +247,7 @@ id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
 data_row VARCHAR(255) NOT NULL DEFAULT '',
 display ENUM('Y','N') NOT NULL DEFAULT 'N',
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // Allowed data to display (sponsor-side)
        //
@@ -254,7 +259,7 @@ data_row VARCHAR(255) NOT NULL DEFAULT '',
 display ENUM('Y','N') NOT NULL DEFAULT 'N',
 KEY(sponsorid),
 PRIMARY KEY(id)
-)TYPE=MyISAM");
+)TYPE={!_TABLE_TYPE!}");
        //
        // Default allowed data to display
        //
@@ -411,6 +416,9 @@ case "update": // Update an extension
        }
        break;
 
+case "modify": // When the extension got modified
+       break;
+
 case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
        break;