prepare(" SELECT * FROM {$wpdb->prefix}e_submissions WHERE user_id = %d ORDER BY created_at DESC LIMIT 1 ", $current_user_id); $latest_result = $wpdb->get_row($sql); echo $submission_id = $latest_result->id; // print_r($latest_result); // get company name ------------------------------------------------------------------------------- $sql = $wpdb->prepare(" SELECT * FROM `wp_e_submissions_values` WHERE submission_id = $submission_id AND `key` = 'merchant_company_name'; ", $current_user_id); $name_result = $wpdb->get_row($sql); // print_r($name_result); $company_name = $name_result->value; // get company end ------------------------------------------------------------------------------- // get platinum text ------------------------------------------------------------------------------- $sql1 = $wpdb->prepare(" SELECT * FROM `wp_e_submissions_values` WHERE submission_id = $submission_id AND `key` = 'platinum_merchant_discount_text'; ", $current_user_id); $p_text = $wpdb->get_row($sql1); // print_r($name_result); $platinum_txt = $p_text->value; // get platinum text end ------------------------------------------------------------------------------- // get platinum rate ------------------------------------------------------------------------------- $sql2 = $wpdb->prepare(" SELECT * FROM `wp_e_submissions_values` WHERE submission_id = $submission_id AND `key` = 'platinum_merchant_discount_rate'; ", $current_user_id); $p_rate = $wpdb->get_row($sql2); // print_r($name_result); $platinum_rate = $p_rate->value; // get platinum rate end ------------------------------------------------------------------------------- // get gold text ------------------------------------------------------------------------------- $sql3 = $wpdb->prepare(" SELECT * FROM `wp_e_submissions_values` WHERE submission_id = $submission_id AND `key` = 'gold_merchant_discount_text'; ", $current_user_id); $g_text = $wpdb->get_row($sql3); // print_r($name_result); $gold_txt = $g_text->value; // get gold text end ------------------------------------------------------------------------------- // get gold rate ------------------------------------------------------------------------------- $sql4 = $wpdb->prepare(" SELECT * FROM `wp_e_submissions_values` WHERE submission_id = $submission_id AND `key` = 'gold_merchant_discount_rate'; ", $current_user_id); $g_rate = $wpdb->get_row($sql4); // print_r($name_result); $gold_rate = $g_rate->value; // get gold rate end ----------------------------------------------------------------------------- // get silver text ---------------------------------------------------------------------------------- $sql5 = $wpdb->prepare(" SELECT * FROM `wp_e_submissions_values` WHERE submission_id = $submission_id AND `key` = 'silver_merchant_discount_text'; ", $current_user_id); $s_text = $wpdb->get_row($sql5); // print_r($name_result); $silver_txt = $s_text->value; // get silver text end --------------------------------------------------------------------------- // get silver rate --------------------------------------------------------------------------------- $sql6 = $wpdb->prepare(" SELECT * FROM `wp_e_submissions_values` WHERE submission_id = $submission_id AND `key` = 'silver_merchant_discount_rate'; ", $current_user_id); $s_rate = $wpdb->get_row($sql6); // print_r($name_result); $silver_rate = $s_rate->value; // get silver rate end ------------------------------------------------------------------------------- // get bronze text ---------------------------------------------------------------------------------- $sql7 = $wpdb->prepare(" SELECT * FROM `wp_e_submissions_values` WHERE submission_id = $submission_id AND `key` = 'bronze_merchant_discount_text'; ", $current_user_id); $b_text = $wpdb->get_row($sql7); // print_r($name_result); $bronze_txt = $b_text->value; // get bronze text end --------------------------------------------------------------------------- // get bronze rate --------------------------------------------------------------------------------- $sql8 = $wpdb->prepare(" SELECT * FROM `wp_e_submissions_values` WHERE submission_id = $submission_id AND `key` = 'bronze_merchant_discount_rate'; ", $current_user_id); $b_rate = $wpdb->get_row($sql8); // print_r($name_result); $bronze_rate = $b_rate->value; // get bronze rate end ------------------------------------------------------------------------------- ?>

Affinity Agreement Contract

This affinity agreement is entered into by and between the International Economic JusticeLeague,Inc. (“IEJL”) and (“Provider”) as of the ___day of ___,

201__ (the “Effective Date.”).

1. Terms of contract.

The Provider will provide the term stated in the Provider’s will free of charge, and the IEJL

will provide the term stated in the IEJL’s will free of charge.

2. Definition.

(a) Pledges: Members in the IEJL Pledge Program.

(b) Platinum Pledges: Pledges who have reached platinum level (highest ranking level) in

IEJL Pledge Program.

(c) Gold Pledges: Pledges who have reached gold level (third ranking level) in IEJL Pledge

Program.

(d) Sliver Pledges: Pledges who have reached sliver level (second ranking level) in IEJL

Pledge Program.

(e) Bronze Pledges: Pledges who have reached bronze level (lowest ranking level) in IEJL

Pledge Program.

(f) New Pledges: Pledges who have not yet receive a rank.

3. Provider will.

(a) Provide the following service, product, and/or features to Platinum Pledges of IEJL: (what service, product, and/or features are being provided) at a discount of to IEJL members from the regularly published and available prices; [further descried discount or enhancement, as needed.]

(b) Provide the following service, product, and/or features to Gold Pledges of IEJL: (what service, product, and/or features are being provided) at a discount of to IEJL members from the regularly published and available prices; [further descried discount or enhancement, as needed.]

(c) Provide the following service, product, and/or features to Sliver Pledges of IEJL: (what service, product, and/or features are being provided) at a discount of to IEJL members from the regularly published and available prices; [further descried discount or enhancement, as needed.]

(d) Provide the following service, product, and/or features to Bronze Pledges of IEJL: (what service, product, and/or features are being provided) at a discount of to IEJL members from the regularly published and available prices; [further descried discount or enhancement, as needed.]

(e) Provide the following service, product, and/or features to new Pledges of IEJL: ___________________________ (what service, product, and/or features are being provided) at a discount of___ to IEJL members from the regularly published and available prices; [further descried discount or enhancement, as needed.]

(f) Provide IEJL provider’s full-color logo in eps, high resolution jpg or high resolution pdf format for IEJL’s marketing purposes.

(g) Be responsible for all sales and customer service to member participating in the programs.

(h) Abide by all applicable laws, ordinances and regulations, including, but not limited to,the payment of all applicable taxes in connection with sales under the program.


4.


5.


6.


7.


(i) Provider must notify the IEJL at least 30 days in advance of any changes to the discount

that is offered pursuant to this agreement.

IEJL will.

(a) Will notify our community of Pledges of Provider’s discount on Pledge Discount page

on IEJL website.

(b) Allow Provider to publicize support for IEJL.

(c) Provide Provider IEJL’s full-color logo in eps, high resolution jpg or high resolution

pdf format for merchant marketing purposes.

Provider Marks.

(a) Provider is the owner of those trademarks and logos (the “Marks”).

(b) Provider grants the IEJL permission to use the Marks in connection with the program,

and IEJL accepts such grant subject to the term and conditions of this without the express

written permission of Provider. IEJL acknowledges the ownership of the Marks in

Provider, agrees that it will do nothing inconsistent with such be on behalf of Provider.

IEJL agrees that nothing in this grant shall give IEJL any right title, or interest in the marks

other than the right to use the Marks in accordance with this agreement, and IEJL agrees

that it will not attack the title of Provider to the Marks. All rights in the Marks and the good

will connected therewith shall remain the property of Provider.

(c) Upon termination of this agreement IEJL agrees to immediately discontinue all use of

the Marks and any terms confusingly similar thereto, to destroy all printed materials

bearing the Marks, and remove the Marks from all advertising or other promotional

materials.

IEJL Marks.

(a) IEJL is the owner of those trademarks and logos (the “Marks”).

(b) IEJL grants the merchant permission to use the marks in connection with the program,

and Provider accepts such grant subject to the term and conditions of this without the

express written permission of IEJL. Provider acknowledges the ownership of the Marks

in IEJL, agrees that it will do nothing inconsistent with such be on behalf of IEJL.

Provider agrees that nothing in this grant shall give Provider any right title, or interest

in the Marks other than the right to use the Marks in accordance with this agreement,

and Provider agrees that it will not attack the title of IEJL to the Marks. All rights in

the Marks and the good will connected therewith shall remain the property of IEJL.

(c) Providers agrees to maintain a high quality of goods or services sold in connection with

the Marks.

(d) Upon termination of this agreement Provider agrees to immediately discontinue all use

of the Marks and any terms confusingly similar thereto, to destroy all printed materials

bearing the Marks, and remove the Marks from all advertising or other promotional

materials.

Term and Termination.

(a) The initial term of this agreement will be one year with automatic renewal unless a 30

day termination notice is issued by either party.

(b) Notwithstanding the foregoing either party may immediately terminate this agreement,

and all obligations of the parties hereunder shall cease (except as to liabilities or


obligations which have accrued or arisen prior to such termination, and obligations to

insure and indemnify), upon the occurrence of any of the following events.

i. Fraud, embezzlement or dishonesty.

ii. Unethical or unprofessional conduct or activities or conduct injurious to

the terminating party’s reputation.

iii. If either party breaches any term of this agreement which breach is not

cured within 30 days after written notice from the non-breaching party.

8. Assignment.

This agreement is binding upon and shall inure to the benefit of the parties hereto, and their

respective heirs, personal representatives, successors and permitted assigns, this agreement

may not be assigned by either party without the other party’s written consent which consent

shall be within that other party’s sole discretion.

9. No Agency Relationship.

The Provider is an independent contractor. Nothing contained herein shall be construed to

constitute or create between parties any partnership, employer/employee or agencies

relationship or joint venture. Neither party shall have any authority to bind the other any

respect. Provider shall have no authority to act for or on behalf of IEJL, to assume or create

obligations on behalf of IEJL, or representation on behalf of IEJL.

10. Warranty Disclaimer.

NEITHER PARTY MAKES ANY REPRESENTATIONS, WARRANTIES OR

GUARANTEES OF ANY KIND, EITHER EXPRESS OR IMPLIED (INCLUDING,

WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR

FITNESS FOR A PARTICULAR PURPOSE), WITH RESPECT TO ANY PRODUCTS

OR SERVICES PROVIDED BY SUCH PARTY OT OTHERWISE IN CONNECTION

WITH THIS AGREEMENT.

11. Notice.

All notices to the parties shall be in writing and shall be deemed sufficiently given when

deposited in the United States Postal Service to be sent first-class certified or registered

with proper postage prepaid or when deposited with a national next-business-day courier

service for delivery, to the following address, or you may fax the notice to (949)-250-3012

IEJL:

INTERNATIONAL ECONOMIC JUSTICE LEAGUE, Inc.

4540 Campus Dr. Suite 111

Newport Beach

CA 92660 U.S.A.

____:

_____________________________________

_____________________________________

_____________________________________

_____________________________________


12. Limitation of Liability.


IRRESPECTIVE OF ANY FAULT OR NEGLIGENCE, NIETHER PARTY SHALL BE

LIABLE FOR ANY INDIRECT, INCIDENTAL, CONSEQUENTAIL, SPECIAL OR

PUNITITVE DAMAGES ( INCLUDING WITHOUT LIMITATION DAMAGES FOR

HARM TO BUSINESS, LOST REVENUES, LOST SALES, LOST SAVINGS, LOST

PROFITS ( ANTICIPATED OR ACTUAL), LOSS OF USE, DOWNTIME, INJURY TO

PERSONS OR DAMAGE TO PROPERTY AND CLAIMS OR THIRD PARTIES),

REGARDLESS OF THE FORM OF ACTION, WHETHER OR NOT SUCH PARTY

HAS BEEN APPRISED OR NOTIFIED THAT ANY SUCH DAMAGES OR LOSSES

ARE POSSIBLE OR LIKELY AND WHETHER OR NOT ANY PERMITTED REMEDY

HAS FAILED ITS ESSENTIAL PURPOSE.

13. Indemnification.

Provider shall protect, defend, indemnify and hold IEJL and its directors, officers,

employees, and agents (collectively, the ‘indemnitees”) harmless against any and all

claims, causes of action, demands or proceedings and any and all related costs and expenses

(including, without limitation, reasonable attorneys’ fees and costs)( “losses”) incurred by

any of the indemnitees resulting from Provider’s breach of any of the provisions of this

agreement, in addition, Provider agrees to indemnify and hold the indemnitees harmless

from and against any losses arising out of any acts, errors or omissions of Provider in the

performance or non-performance of its obligations to any Member in connection with the

program, including, without limitation, any losses involving the marketing, advertising,

use or sale of any provider’s services or products. The indemnities contained herein shall

survive any termination or expiration of this agreement.

14. Attorneys’ Fees.

In the event that IEJL is compelled to employ attorneys to enforce the provisions of this

agreement, provider agrees IEJL will be entitled to receive all of its legal costs and

expenses, including reasonable attorney’s fees, incurred thereby from Provider.

15. Governing Law.

This agreement will be construed under and in accordance with the laws of the state of

California.

IN WITNESS WHEREOF, the parties hereto have caused this agreement to be duly executed

and delivered as of the Effective Date.


________________________

By:_____________________

Name:___________________

Title:____________________

Date:____________________


International Economic Justice

League, Inc.

By:_______________________

Name:____________________

Title:_____________________

Date:_____________________