From: Roland Häder Date: Sun, 18 May 2008 20:59:42 +0000 (+0000) Subject: Sponsor stub extension added (not fully working\!) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9beb33ae0c3194b05d172508768a833b1b69af2f;p=mailer.git Sponsor stub extension added (not fully working\!) --- diff --git a/.gitattributes b/.gitattributes index 8d0f72443f..2b14e244a2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -118,6 +118,7 @@ inc/extensions/ext-rallye.php -text inc/extensions/ext-register.php -text inc/extensions/ext-repair.php -text inc/extensions/ext-rewrite.php -text +inc/extensions/ext-sponsor.php -text inc/extensions/ext-sql_patches.php -text inc/extensions/ext-support.php -text inc/extensions/ext-task.php -text @@ -166,6 +167,7 @@ inc/language/rallye_de.php -text inc/language/register_de.php -text inc/language/repair_de.php -text inc/language/rewrite_de.php -text +inc/language/sponsor_de.php -text inc/language/support_de.php -text inc/language/task_de.php -text inc/language/theme_de.php -text @@ -193,6 +195,7 @@ inc/libs/rallye_functions.php -text inc/libs/register_functions.php -text inc/libs/rewrite_functions.php -text inc/libs/security_functions.php -text +inc/libs/sponsor_functions.php -text inc/libs/task_functions.php -text inc/libs/transfer_functions.php -text inc/libs/user_functions.php -text @@ -224,6 +227,7 @@ inc/modules/admin/action-payouts.php -text inc/modules/admin/action-rallye.php -text inc/modules/admin/action-repair.php -text inc/modules/admin/action-setup.php -text +inc/modules/admin/action-sponsor.php -text inc/modules/admin/action-stats.php -text inc/modules/admin/action-task.php -text inc/modules/admin/action-theme.php -text @@ -237,6 +241,7 @@ inc/modules/admin/what-add_bank_package.php -text inc/modules/admin/what-add_guestnl_cat.php -text inc/modules/admin/what-add_points.php -text inc/modules/admin/what-add_rallye.php -text +inc/modules/admin/what-add_sponsor.php -text inc/modules/admin/what-admin_add.php -text inc/modules/admin/what-adminedit.php -text inc/modules/admin/what-admins_add.php -text @@ -277,6 +282,7 @@ inc/modules/admin/what-config_register.php -text inc/modules/admin/what-config_register2.php -text inc/modules/admin/what-config_rewrite.php -text inc/modules/admin/what-config_secure.php -text +inc/modules/admin/what-config_sponsor.php -text inc/modules/admin/what-config_stats.php -text inc/modules/admin/what-config_title.php -text inc/modules/admin/what-config_top10.php -text @@ -285,10 +291,12 @@ inc/modules/admin/what-config_user.php -text inc/modules/admin/what-config_wernis.php -text inc/modules/admin/what-del_email.php -text inc/modules/admin/what-del_holiday.php -text +inc/modules/admin/what-del_sponsor.php -text inc/modules/admin/what-del_task.php -text inc/modules/admin/what-del_transfer.php -text inc/modules/admin/what-del_user.php -text inc/modules/admin/what-edit_emails.php -text +inc/modules/admin/what-edit_sponsor.php -text inc/modules/admin/what-edit_user.php -text inc/modules/admin/what-email_archiv.php -text inc/modules/admin/what-email_details.php -text @@ -312,11 +320,15 @@ inc/modules/admin/what-list_norefs.php -text inc/modules/admin/what-list_payouts.php -text inc/modules/admin/what-list_rallyes.php -text inc/modules/admin/what-list_refs.php -text +inc/modules/admin/what-list_sponsor.php -text +inc/modules/admin/what-list_sponsor_pay.php -text +inc/modules/admin/what-list_sponsor_pays.php -text inc/modules/admin/what-list_task.php -text inc/modules/admin/what-list_transfer.php -text inc/modules/admin/what-list_unconfirmed.php -text inc/modules/admin/what-list_user.php -text inc/modules/admin/what-list_wernis.php -text +inc/modules/admin/what-lock_sponsor.php -text inc/modules/admin/what-lock_user.php -text inc/modules/admin/what-logs.php -text inc/modules/admin/what-maintenance.php -text @@ -343,6 +355,7 @@ inc/modules/admin/what-theme_check.php -text inc/modules/admin/what-theme_edit.php -text inc/modules/admin/what-theme_import.php -text inc/modules/admin/what-unlock_emails.php -text +inc/modules/admin/what-unlock_sponsor.php -text inc/modules/admin/what-updates.php -text inc/modules/admin/what-usage.php -text inc/modules/admin/what-user_contct.php -text @@ -356,6 +369,8 @@ inc/modules/guest/action-admin.php -text inc/modules/guest/action-main.php -text inc/modules/guest/action-members.php -text inc/modules/guest/action-online.php -text +inc/modules/guest/action-sponsor.php -text +inc/modules/guest/action-sponsors.php -text inc/modules/guest/action-themes.php -text inc/modules/guest/what- -text inc/modules/guest/what-active.php -text @@ -371,6 +386,10 @@ inc/modules/guest/what-mediadata.php -text inc/modules/guest/what-my_weblog.php -text inc/modules/guest/what-rallyes.php -text inc/modules/guest/what-register.php -text +inc/modules/guest/what-sponsor_agb.php -text +inc/modules/guest/what-sponsor_infos.php -text +inc/modules/guest/what-sponsor_login.php -text +inc/modules/guest/what-sponsor_reg.php -text inc/modules/guest/what-stats.php -text inc/modules/guest/what-top10.php -text inc/modules/guest/what-welcome.php -text @@ -412,6 +431,7 @@ inc/modules/member/what-payout.php -text inc/modules/member/what-points.php -text inc/modules/member/what-rallyes.php -text inc/modules/member/what-reflinks.php -text +inc/modules/member/what-sponsor.php -text inc/modules/member/what-stats.php -text inc/modules/member/what-support.php -text inc/modules/member/what-themes.php -text @@ -420,6 +440,7 @@ inc/modules/member/what-unconfirmed.php -text inc/modules/member/what-welcome.php -text inc/modules/member/what-wernis.php -text inc/modules/order.php -text +inc/modules/sponsor.php -text inc/modules/welcome.php -text inc/monthly/.htaccess -text inc/monthly/monthly_ -text @@ -516,6 +537,8 @@ install/tables.sql -text /ref.php -text /robots.txt -text /show_bonus.php -text +/sponsor_confirm.php -text +/sponsor_ref.php -text templates/.htaccess -text templates/de/.htaccess -text templates/de/emails/add-points.tpl -text @@ -541,6 +564,12 @@ templates/de/emails/admin/admin_rallye_expired_no.tpl -text templates/de/emails/admin/admin_rallye_no_notify.tpl -text templates/de/emails/admin/admin_rallye_notify.tpl -text templates/de/emails/admin/admin_rallye_purged.tpl -text +templates/de/emails/admin/admin_sponsor_change_data.tpl -text +templates/de/emails/admin/admin_sponsor_change_email.tpl -text +templates/de/emails/admin/admin_sponsor_edit.tpl -text +templates/de/emails/admin/admin_sponsor_pending.tpl -text +templates/de/emails/admin/admin_sponsor_reg.tpl -text +templates/de/emails/admin/admin_sponsor_settings.tpl -text templates/de/emails/admin/admin_support-order.tpl -text templates/de/emails/admin/admin_support-ordr.tpl -text templates/de/emails/admin/admin_support-reflink.tpl -text @@ -569,11 +598,13 @@ templates/de/emails/bonus/bonus_en_notify_body.tpl -text templates/de/emails/confirm-member.tpl -text templates/de/emails/confirm-referral.tpl -text templates/de/emails/del-user.tpl -text +templates/de/emails/del_sponsor.tpl -text templates/de/emails/done-admin.tpl -text templates/de/emails/done-member.tpl -text templates/de/emails/guest/guest_request_confirm.tpl -text templates/de/emails/header.tpl -text templates/de/emails/lock-user.tpl -text +templates/de/emails/lock_sponsor.tpl -text templates/de/emails/member/member_autopurge_delete.tpl -text templates/de/emails/member/member_autopurge_inactive.tpl -text templates/de/emails/member/member_autopurge_points.tpl -text @@ -623,6 +654,24 @@ templates/de/emails/order-reject.tpl -text templates/de/emails/profile-updte.tpl -text templates/de/emails/register-admin.tpl -text templates/de/emails/register-member.tpl -text +templates/de/emails/sponsor/sponsor_activate.tpl -text +templates/de/emails/sponsor/sponsor_add_points.tpl -text +templates/de/emails/sponsor/sponsor_change_data.tpl -text +templates/de/emails/sponsor/sponsor_change_email.tpl -text +templates/de/emails/sponsor/sponsor_confirm.tpl -text +templates/de/emails/sponsor/sponsor_email.tpl -text +templates/de/emails/sponsor/sponsor_lost.tpl -text +templates/de/emails/sponsor/sponsor_pending.tpl -text +templates/de/emails/sponsor/sponsor_ref_notify.tpl -text +templates/de/emails/sponsor/sponsor_settings.tpl -text +templates/de/emails/sponsor/sponsor_sub_points.tpl -text +templates/de/emails/sponsor/sponsor_unlock.tpl -text +templates/de/emails/sponsor/sponsor_unlocked.tpl -text +templates/de/emails/sponsor_add_points.tpl -text +templates/de/emails/sponsor_confirm.tpl -text +templates/de/emails/sponsor_pending.tpl -text +templates/de/emails/sponsor_sub_points.tpl -text +templates/de/emails/sponsor_unlocked.tpl -text templates/de/emails/sub-points.tpl -text templates/de/emails/unlock-user.tpl -text templates/de/html/.htaccess -text @@ -638,6 +687,9 @@ templates/de/html/admin/admin_add_points_all.tpl -text templates/de/html/admin/admin_add_rallye.tpl -text templates/de/html/admin/admin_add_rallye_prices.tpl -text templates/de/html/admin/admin_add_reflvl.tpl -text +templates/de/html/admin/admin_add_sponsor.tpl -text +templates/de/html/admin/admin_add_sponsor_already.tpl -text +templates/de/html/admin/admin_add_sponsor_paytype.tpl -text templates/de/html/admin/admin_admin_add.tpl -text templates/de/html/admin/admin_admins_add.tpl -text templates/de/html/admin/admin_admins_add_acl.tpl -text @@ -716,6 +768,7 @@ templates/de/html/admin/admin_config_register2.tpl -text templates/de/html/admin/admin_config_rewrite.tpl -text templates/de/html/admin/admin_config_rewrite_rows.tpl -text templates/de/html/admin/admin_config_secure.tpl -text +templates/de/html/admin/admin_config_sponsor.tpl -text templates/de/html/admin/admin_config_stats.tpl -text templates/de/html/admin/admin_config_sub_points.tpl -text templates/de/html/admin/admin_config_title.tpl -text @@ -736,6 +789,7 @@ templates/de/html/admin/admin_del_email_bonus.tpl -text templates/de/html/admin/admin_del_email_normal.tpl -text templates/de/html/admin/admin_del_payments.tpl -text templates/de/html/admin/admin_del_payments_row.tpl -text +templates/de/html/admin/admin_del_sponsor.tpl -text templates/de/html/admin/admin_del_transfer_row.tpl -text templates/de/html/admin/admin_del_user.tpl -text templates/de/html/admin/admin_edit_admins.tpl -text @@ -749,6 +803,9 @@ templates/de/html/admin/admin_edit_payments.tpl -text templates/de/html/admin/admin_edit_payments_row.tpl -text templates/de/html/admin/admin_edit_rallyes.tpl -text templates/de/html/admin/admin_edit_rallyes_row.tpl -text +templates/de/html/admin/admin_edit_sponsor_add_points.tpl -text +templates/de/html/admin/admin_edit_sponsor_edit.tpl -text +templates/de/html/admin/admin_edit_sponsor_sub_points.tpl -text templates/de/html/admin/admin_edit_user.tpl -text templates/de/html/admin/admin_email_archiv.tpl -text templates/de/html/admin/admin_email_archiv_row.tpl -text @@ -819,6 +876,16 @@ templates/de/html/admin/admin_list_rallyes_row.tpl -text templates/de/html/admin/admin_list_rallyes_row2.tpl -text templates/de/html/admin/admin_list_refs.tpl -text templates/de/html/admin/admin_list_refs_row.tpl -text +templates/de/html/admin/admin_list_sponsor.tpl -text +templates/de/html/admin/admin_list_sponsor_details.tpl -text +templates/de/html/admin/admin_list_sponsor_pay.tpl -text +templates/de/html/admin/admin_list_sponsor_pay_404.tpl -text +templates/de/html/admin/admin_list_sponsor_pay_del.tpl -text +templates/de/html/admin/admin_list_sponsor_pay_del_row.tpl -text +templates/de/html/admin/admin_list_sponsor_pay_edit.tpl -text +templates/de/html/admin/admin_list_sponsor_pay_edit_row.tpl -text +templates/de/html/admin/admin_list_sponsor_pay_row.tpl -text +templates/de/html/admin/admin_list_sponsor_row.tpl -text templates/de/html/admin/admin_list_task_rows.tpl -text templates/de/html/admin/admin_list_transfer.tpl -text templates/de/html/admin/admin_list_transfer_row.tpl -text @@ -833,6 +900,7 @@ templates/de/html/admin/admin_list_user_sort.tpl -text templates/de/html/admin/admin_list_user_sort_form.tpl -text templates/de/html/admin/admin_list_wernis_main.tpl -text templates/de/html/admin/admin_list_wernis_row.tpl -text +templates/de/html/admin/admin_lock_sponsor.tpl -text templates/de/html/admin/admin_lock_user.tpl -text templates/de/html/admin/admin_login_form.tpl -text templates/de/html/admin/admin_login_msg.tpl -text @@ -916,6 +984,7 @@ templates/de/html/admin/admin_send_bonus_form.tpl -text templates/de/html/admin/admin_send_bonus_select.tpl -text templates/de/html/admin/admin_settings_saved.tpl -text templates/de/html/admin/admin_setup_stats.tpl -text +templates/de/html/admin/admin_sponsor_paytypes.tpl -text templates/de/html/admin/admin_sub_points.tpl -text templates/de/html/admin/admin_sub_points_all.tpl -text templates/de/html/admin/admin_task_holiday.tpl -text @@ -929,6 +998,8 @@ templates/de/html/admin/admin_unlock_emails.tpl -text templates/de/html/admin/admin_unlock_emails_redir.tpl -text templates/de/html/admin/admin_unlock_emails_redir_row.tpl -text templates/de/html/admin/admin_unlock_emails_row.tpl -text +templates/de/html/admin/admin_unlock_sponsor.tpl -text +templates/de/html/admin/admin_unlock_sponsor_row.tpl -text templates/de/html/admin/admin_update_download.tpl -text templates/de/html/admin/admin_user_details.tpl -text templates/de/html/admin/admin_welcome.tpl -text @@ -985,6 +1056,7 @@ templates/de/html/ext/ext_rallye.tpl -text templates/de/html/ext/ext_register.tpl -text templates/de/html/ext/ext_repair.tpl -text templates/de/html/ext/ext_rewrite.tpl -text +templates/de/html/ext/ext_sponsor.tpl -text templates/de/html/ext/ext_sql_patches.tpl -text templates/de/html/ext/ext_support.tpl -text templates/de/html/ext/ext_task.tpl -text @@ -1032,6 +1104,13 @@ templates/de/html/guest/guest_receive_table.tpl -text templates/de/html/guest/guest_register.tpl -text templates/de/html/guest/guest_register_refid.tpl -text templates/de/html/guest/guest_register_refid_hide.tpl -text +templates/de/html/guest/guest_sponsor_act_row.tpl -text +templates/de/html/guest/guest_sponsor_activate.tpl -text +templates/de/html/guest/guest_sponsor_infos.tpl -text +templates/de/html/guest/guest_sponsor_login.tpl -text +templates/de/html/guest/guest_sponsor_lost.tpl -text +templates/de/html/guest/guest_sponsor_pay_row.tpl -text +templates/de/html/guest/guest_sponsor_reg.tpl -text templates/de/html/guest/guest_stats_cats_row.tpl -text templates/de/html/guest/guest_stats_member.tpl -text templates/de/html/guest/guest_stats_month_row.tpl -text @@ -1177,6 +1256,15 @@ templates/de/html/show_bonus_header.tpl -text templates/de/html/show_bonus_msg.tpl -text templates/de/html/show_bonus_yr.tpl -text templates/de/html/show_timings.tpl -text +templates/de/html/sponsor/sponsor_account_form.tpl -text +templates/de/html/sponsor/sponsor_action.tpl -text +templates/de/html/sponsor/sponsor_fillup_form.tpl -text +templates/de/html/sponsor/sponsor_footer.tpl -text +templates/de/html/sponsor/sponsor_header.tpl -text +templates/de/html/sponsor/sponsor_main.tpl -text +templates/de/html/sponsor/sponsor_settings_form.tpl -text +templates/de/html/sponsor/sponsor_welcome.tpl -text +templates/de/html/sponsor/sponsor_what.tpl -text templates/de/html/theme_one.tpl -text templates/de/html/theme_select_box.tpl -text templates/de/html/theme_select_form.tpl -text @@ -1193,6 +1281,7 @@ theme/business/css/doubler.css -text theme/business/css/general.css -text theme/business/css/install.css -text theme/business/css/register.css -text +theme/business/css/sponsor.css -text theme/business/css/top10.css -text theme/business/css/transfer.css -text theme/business/images/code_bg.jpg -text @@ -1205,6 +1294,7 @@ theme/default/css/doubler.css -text theme/default/css/general.css -text theme/default/css/install.css -text theme/default/css/register.css -text +theme/default/css/sponsor.css -text theme/default/css/top10.css -text theme/default/css/transfer.css -text theme/default/images/code_bg.jpg -text diff --git a/inc/extensions/ext-sponsor.php b/inc/extensions/ext-sponsor.php new file mode 100644 index 0000000000..37d3c07193 --- /dev/null +++ b/inc/extensions/ext-sponsor.php @@ -0,0 +1,442 @@ + diff --git a/inc/language/sponsor_de.php b/inc/language/sponsor_de.php new file mode 100644 index 0000000000..ae6ed7fecf --- /dev/null +++ b/inc/language/sponsor_de.php @@ -0,0 +1,326 @@ +nicht gespeichert."); +define('ADMIN_SPONSOR_REALLY_ADD_SPONSOR', "Sponsor existiert bereits!"); +define('ADMIN_SPONSOR_DO_YOU_REALLY_WANT_ADDING', "Ein Sponsor existiert bereits mit der eingegeben EMail-Adresse {--__EMAIL--}. Wollen Sie ihn dennoch hinzufügen?"); +define('ADMIN_SPONSOR_ADDED', "Sponsor wurde hinzugefügt."); +define('ADMIN_SPONSOR_UPDATED', "Sponsordaten wurden aktualisiert."); +define('ADMIN_SPONSOR_FAILED', "Konnte Daten nichtn speichern!"); +define('ADMIN_SPONSOR_NONE_PENDING', "Kein Sponsorenaccount wartet auf Freischaltung."); +define('SPONSOR_CREATED', "Angelegt"); +define('SPONSOR_UNLOCK', "Sponsoren freischalten"); +define('ADMIN_SPONSOR_UNLOCK_NOTES', "Wichtig: Schalten Sie nur Sponsoren frei, wenn diese auch bezahlt haben! Das Script wird dann den Status auf Bezahlt setzen."); +define('ADMIN_SPONSOR_UNLOCK_TITLE', "Sponsorenaccounts freischalten"); +define('ADMIN_SPONSOR_NONE_SELECTED_UNLOCK', "Keinen Sponsor zum Freischalten ausgewählt!"); +define('SPONSOR_NO_ADMIN', "Ihrer Bestellung wurde keinem Administrator zugewiesen!"); +define('SPONSOR_NO_PAYMENTS_FOUND', "Keine offenen Bestellungen gefunden!"); +define('ADMIN_SPONSOR_NONE_REGISTERED', "Kein Sponsor hat sich bei Ihnen angemeldet! :-("); +define('ACCOUNT_PENDING', "Wartend"); +define('ADMIN_LIST_SPONSOR_ACCOUNTS', "Alle Sponsoren auflisten"); +define('SPONSOR_POINTS_LEFT', "Restguthaben"); +define('ADMIN_LIST_SPONSOR_NOTES', "Klicken Sie auf die ID-Nummer, um weitere Details zu sehen und um weitere Aktionen am Sponsorenaccount durchführen zu können! Klicken Sie auf das Restguthaben an ".POINTS.", um dem jeweiligen Sponsor mehr ".POINTS." aufzubuchen."); +define('ADMIN_SPONSOR_404_1', "Sponsorenaccount "); +define('ADMIN_SPONSOR_404_2', " nicht gefunden!"); +define('ADMIN_SPONSOR_REFS_404_1', "Der Sponsor "); +define('ADMIN_SPONSOR_REFS_404_2', " hat keine Referrals!"); +define('ADMIN_SPONSOR_DETAILS', "Datenblatt eines Sponsors"); +define('ADMIN_SPONSOR_COMPANY_DATA', "Firmendaten des Sponsors"); +define('ADMIN_SPONSOR_PERSONA_DATA', "Persönliche Daten des Sponsors"); +define('ADMIN_SPONSOR_OTHER_DETAILS', "Sonstige Daten zum Sponsor"); +define('SPONSOR_POINTS_AMOUNT', "Guthaben"); +define('SPONSOR_POINTS_USED', "Verwendet"); +define('SPONSOR_RECEIVE_WARNINGS_SHORT', "Mailbenachrichtigung"); +define('SPONSOR_WARNING_INTERVAL_SHORT', "Benachrichtunsinterval"); +define('ADMIN_LAST_CHANGE', "Letzte Änderung"); +define('SPONSOR_REFID', "Von Sponsor geworben"); +define('ADMIN_SPONSOR_ACTIONS', "Aktionen am Sponsorenaccount"); +define('SPONSOR_ID', "Sponsor-ID"); +define('SPONSOR_STATUS', "Sponsor-Status"); +define('SPONSOR_REFERRALS', "Sponsoren geworben"); +define('ADMIN_INVALID_MODE_1', "Ungütiger Modus "); +define('ADMIN_INVALID_MODE_2', " angegeben!"); +define('ADMIN_TPL_404_1', "Modus-Template "); +define('ADMIN_TPL_404_2', " nicht gefunden!"); +define('ADMIN_ADD_POINTS_TO_SPONSOR', "".POINTS." gutschreiben"); +define('ADMIN_SUB_POINTS_FROM_SPONSOR', "".POINTS." abziehen"); +define('ADMIN_SUM_SPONSOR_POINTS', "Summe ".POINTS.""); +define('ADMIN_SPONSOR_ADD_POINTS', "Jetzt gutschreiben"); +define('ADMIN_SPONSOR_SUB_POINTS', "Jetzt abziehen"); +define('ADMIN_SPONSPOR_NO_POINTS_TO_ADD', "Keine ".POINTS." zum Gutschreiben eingegeben!"); +define('ADMIN_SPONSPOR_NO_POINTS_TO_SUBTRACT', "Keine ".POINTS." zum Abziehen eingegeben!"); +define('ADMIN_SPONSOR_POINTS_ADDED', "".POINTS." wurden gutgeschrieben."); +define('ADMIN_SPONSOR_POINTS_SUBTRACTED', "".POINTS." wurden abgezogen."); +define('ADMIN_SPONSPOR_CANNOT_LOCK_PENDING_UNCINFIRMED_ACCOUNTS', "Sie können keine auf Freischaltung wartende oder unbestätigte Accounts sperren/freigeben!"); +define('ADMIN_HEADER_DEL_SPONSOR_1', "Sponsorenaccount "); +define('ADMIN_HEADER_DEL_SPONSOR_2', " löschen"); +define('ADMIN_TEXT_DEL_SPONSOR_1', "Möchten Sie den Sponsoren "); +define('ADMIN_TEXT_DEL_SPONSOR_2', " mit samt aller seiner Bestellungen unwiederruflich löschen?"); +define('SPONSOR_DELETED_1', "Sponsorenaccount "); +define('SPONSOR_DELETED_2', " entfernt."); +define('GUEST_SPONSOR_TITLE', "Anmeldung als Sponsor"); +define('GUEST_SPONSOR_TEASER_1', "Melden Sie sich als Sponsor von ".MAIN_TITLE." an! Hier bekommen Sie für Ihr Geld die Zielgruppe, die Sie auch auf Ihren Produktseiten haben wollen!"); +define('GUEST_SPONSOR_TEASER_2', "Alles inklusiv: Ausführliche Statistiken (auch per Mail im gewünschten Zeitabstand) und einfache Verwaltung Ihrer ".POINTS." mit nur wenigen Klicks!"); +define('GUEST_SPONSOR_TEASER_3', "Werden Sie Sponsor und melden Sie sich noch heute an!"); +define('SPONSOR_ENTER_COMPANY_DATA', "Daten zum Unternehmen"); +define('SPONSOR_COMPANY_NOTE', "Sie können sich auch als private Person anmelden, lassen Sie dazu die drei folgenden Felder einfach leer!"); +define('SPONSOR_ENTER_PERSONA_DATA', "Daten zu Ihrer Person"); +define('SPONSOR_ENTER_CONTACT_DATA', "Kontaktmöglichkeiten (mindestens EMail!)"); +define('SPONSOR_WARNINGS', "Mailbenachrichtigungen"); +define('SPONSOR_SELECT_PAYMENT', "Buchungspaket auswählen"); +define('REGISTER_SPONSOR', "Jetzt verbindlich anmelden!"); +define('SPONSOR_PAYMENTS', "Bezahlung der ".POINTS.""); +define('SPONSOR_NO_ACTIONS_ACTIVATED', "Derzeit sind keine Aktionen im Sponsorenbereich möglich!"); +define('SPONSOR_PAYTYPE', "Buchungspaket(e)"); +define('SPONSOR_PAYTYPE_VALUE', "Bestellwert"); +define('SPONSOR_PAYTYPE_COUNT', "Bestellmenge"); +define('GUEST_SPONSOR_RECEIVE_WARNINGS', "Bei Datenänderung eine Bestätigung per Mail erhalten?"); +define('SPONSOR_ACCEPT_TERMS', "Ich/wir habe/n die [AGBs] gelesen und akzeptiert."); +define('SPONSOR_TERMS_HEADER', "Allgemeine Geschäftsbedingungen"); + +// Add payment types +define('SPONSOR_ADMIN_NO_PAYTYPES', "Noch keine Buchungspakete eingerichtet!"); +define('ADMIN_ADD_SPONSOR_PAYTYPE_TITLE', "Neue Buchungspaket hinzufügen"); +define('ADMIN_ADD_SPONSOR_PAYTYPE', "Buchungspaket hinzufügen"); +define('SPONSOR_PAYTYPE_NAME', "Bezeichnung"); +define('SPONSOR_PAYTYPE_NAME_HINT', "(max. 255 Zeichen)"); +define('SPONSOR_PAYTYPE_RATE', "Umrechnungsrate"); +define('SPONSOR_PAYTYPE_RATE_HINT', "(z.B. 1 € = x ".POINTS.")"); +define('SPONSOR_PAYTYPE_MIN_COUNT', "Bestellmenge"); +define('SPONSOR_PAYTYPE_CURRENCY', "Währung"); +define('SPONSOR_ADD_PAYTYPES_NOTES', "Hinweise zu den Buchungspaketen"); +define('SPONSOR_PAYTYPE_NAME_NOTE', "Geben Sie eine passende Bezeichnung zum Buchungspaket ein (z.B. Spar-Paket)"); +define('SPONSOR_PAYTYPE_RATE_NOTE', "Wie viele ".POINTS." soll der Sponsor für z.B. 1 € bekommen?"); +define('SPONSOR_PAYTYPE_MIN_COUNT_NOTE', "Und wie oft soll dieses Buchungspaket mindestens eingekauft werden? (meistens einmal)"); +define('SPONSOR_PAYTYPE_CURRENCY_NOTE', "Währung des Geldbetrages, die der Sponsor an Sie überweisen soll."); +define('SPONSOR_ADMIN_PAYTYPE_ALREADY_1', "Buchungspaket "); +define('SPONSOR_ADMIN_PAYTYPE_ALREADY_2', " bereits eingerichtet."); +define('SPONSOR_ADMIN_PAYTYPE_ADDED_1', "Buchungspaket "); +define('SPONSOR_ADMIN_PAYTYPE_ADDED_2', " hinzugefügt."); +define('SPONSOR_LIST_PAYMENT_TYPES_TITLE', "Buchungspakete auflisten, bearbeiten und löschen"); +define('SPONSOR_PAYTYPE_MIN_COUNT2', "Minium"); +define('ADMIN_SPONSOR_PAYTYPE_EDIT', "Bearbeiten"); +define('ADMIN_SPONSOR_PAYTYPE_DELETE', "Löschen"); +define('SPONSOR_EDIT_PAY_ENTRIES', "Buchungspakete editieren"); +define('SPONSOR_DELETE_PAY_ENTRIES', "Buchungspakete löschen"); +define('SPONSOR_PAY_ENTRIES_CHANGED', "Buchungspakete geändert."); +define('SPONSOR_PAY_ENTRIES_REMOVED', "Buchungspakete gelöscht."); +define('SPONSOR_PAYMENT_LIST_IS_EMPTY', "Noch keine Buchungspakete eingerichtet!"); +define('ADMIN_SPONSOR_UNKOWN_STATUS_1', "Unbekannter Status "); +define('ADMIN_SPONSOR_UNKOWN_STATUS_2', " wurde bei der Anmeldung zurückgeliefert!"); +define('SPONSOR_REFERRAL', "Sponsoren-Referral"); +define('SPONSOR_REFID_WAS', "Sie wurden vom Sponsor geworben"); +define('SPONSOR_ACCOUNT_IS_PENDING', "EMail-Adresse bestätigt! Sie haben soeben eine EMail mit weiteren Anweisungen erhalten."); + +// Header / text / email messages +define('SPONSOR_LOCK_SPONSOR_HEADER', "Sponsorenaccount sperren"); +define('SPONSOR_UNLOCK_SPONSOR_HEADER', "Sponsorenaccount freigeben"); +define('SPONSOR_LOCK_SPONSOR_TEXT', "Wollen Sie das ausgewählte Sponsorenaccount sperren? Falls ja, wird eine Mail an den Sponsor geschickt. Bitte geben Sie auch eine plaubsible Begründung der Sperrung mit an!"); +define('SPONSOR_UNLOCK_SPONSOR_TEXT', "Wollen Sie das ausgewählte Sponsorenaccount freigeben? Falls ja, wird eine Mail an den Sponsor geschickt."); +define('SPONSOR_ACCOUNT_LOCKED', "Ihr Sponsorenaccount wurde hiermit von einem unserer Administratoren gesperrt. Bitte beachten Sie fuer die Zukunft unsere AGBs!"); +define('SPONSOR_ACCOUNT_UNLOCKED', "Ihr Sponsorenaccount wurde hiermit von einem unserer Administratoren wieder freigegeben. Sie koennen sich mit den alten Logindaten wieder einloggen. Sollten Sie Ihr Passwort vergessen haben, koennen Sie sich unter Sponsoren->Einloggen ein neues zusenden lassen."); +define('SPONSOR_EMAIL_STREET_NR1', "Strasse mit Hausnummer"); +define('SPONSOR_EMAIL_STREET_NR2', "(noch Strasse; Zeile 2)"); +define('SPONSOR_EMAIL_CNTRY_ZIP_CITY', "Laendercode, PLZ, Wohnort"); +define('SPONSOR_PASS_UNCHANGED', "- Nicht geaendert! -"); + +// Guest headers +define('GUEST_SPONSOR_WANT_BECOME_HEADER', "Sie wollen unser Sponsor sein?"); +define('GUEST_SPONSOR_INFOS_PRICING_HEADER', "Hier sind Preise und was Sie für Ihr Geld bekommen!"); +define('GUEST_SPONSOR_PRICING_HEADER', "Unsere Preise sind einfach fair! Schauen Sie selbst:"); +define('GUEST_SPONSOR_ACTIONS_HEADER', "Und das bekommen Sie von uns:"); + +// Link descriptions +define('ADMIN_SPONSOR_DETAILS_LINK_TITLE', "Details des Sponsorenaccounts anzeigen"); +define('ADMIN_SPONSOR_EDIT_LINK_TITLE', "Sponsorenaccount ändern"); +define('ADMIN_SPONSOR_ADD_POINTS_LINK_TITLE', "".POINTS." gutschreiben"); +define('ADMIN_SPONSOR_SUB_POINTS_LINK_TITLE', "".POINTS." abziehen"); + +// Performable actions on a sponsor's account +define('ADMIN_SPONSOR_EDIT', "Sponsor ändern"); +define('ADMIN_SPONSOR_DEL', "Sponsor löschen"); +define('ADMIN_SPONSOR_LOCK', "Sponsoren ent-/sperren"); +define('ADMIN_LIST_SPONSOR_ORDERS', "Bestellungen bearbeiten"); + +// Subject lines +define('SPONSOR_UNLOCKED_SUBJ', "Freischaltung Ihres Sponsorenaccounts"); +define('SPONSOR_ADMIN_ADD_POINTS', "Gutschrift durch den Admin!"); +define('SPONSOR_ADMIN_SUB_POINTS', "Abzug durch den Admin!"); +define('SPONSOR_SUBJECT_LOCKED', "HINWEIS: Sperrung Ihres Sponsorenaccounts!"); +define('SPONSOR_SUBJECT_UNLOCKED', "HINWEIS: Freigabe Ihres Sponsorenaccounts!"); +define('SPONSOR_ADMIN_EDIT_SUBJECT', "HINWEIS: Sponsorenaccount geaendert durch Admin!"); +define('SPONSOR_ADMIN_DEL_SUBJECT', "HINWEIS: Sponsorenaccount geloescht durch Admin!"); +define('SPONSOR_PLEASE_CONFIRM_SUBJ', "HINWEIS: Bitte bestaetigen Sie Ihren Account!"); +define('SPONSOR_ACCOUNT_PENDING_SUBJ', "HINWEIS: Ihr Account warten auf Freischaltung!"); +define('ADMIN_NEW_SPONSOR', "Neue Anmeldung eines Sponsors"); +define('SPONSOR_ACTIVATION_LINK_SUBJ', "HINWEIS: Erneute Aussendung Ihres Bestaetigunglinkes!"); +define('SPONSOR_LOST_PASSWORD_SUBJ', "HINWEIS: Ihr neues Passwort"); +define('SPONSOR_ACC_DATA_SUBJ', "HINWEIS: Aenderung Ihrer Daten"); +define('SPONSOR_ACC_EMAIL_SUBJ', "HINWEIS: Bitte neue EMail-Adresse bestaetigen!"); +define('ADMIN_SPONSOR_ACC_EMAIL_SUBJ', "Sponsor hat seine EMail-Adresse geaendert!"); +define('ADMIN_SPONSOR_ACC_DATA_SUBJ', "Sponsor hat seine Daten geaendert!"); +define('ADMIN_SPONSOR_SETTINGS_SUBJ', "Sponsor hat seine Einstellungen geaendert!"); +define('SPONSOR_SETTINGS_SUBJ', "HINWEIS: Aenderung Ihrer Einstellungen"); + +// Sponsor registration errors +define('SPONSOR_SURNAME_IS_EMPTY', "Sie haben keinen Vornamen eingegeben!"); +define('SPONSOR_FAMILY_IS_EMPTY', "Sie haben keinen Nachnamen eingegeben!"); +define('SPONSOR_STREET_NR1_IS_EMPTY', "Sie haben keine Straße eingegeben!"); +define('SPONSOR_COUNTRY_IS_EMPTY', "Sie haben nicht den 2-stelligen Ländercode eingegeben!"); +define('SPONSOR_COUNTRY_IS_INVALID', "Der von Ihnen eingegebene 2-stellige Ländercode ist nicht korrekt!"); +define('SPONSOR_ZIP_IS_EMPTY', "Sie haben keine Postleitzahl eingegeben!"); +define('SPONSOR_CITY_IS_EMPTY', "Sie haben keinen Wohnort/Firmensitz eingegeben!"); +define('SPONSOR_PHONE_IS_EMPTY', "Sie haben keine Telefonnummer eingegeben!"); +define('SPONSOR_URL_IS_INVALID', "Die von Ihnen eingegebene Homepage-Adresse ist nicht korrekt!"); +define('SPONSOR_URL_IS_EMPTY', "Sie haben keine Homepage-URL eingegeben!"); +define('SPONSOR_EMAIL_IS_INVALID', "Die von Ihnen eingegebene EMail-Adresse ist nicht korrekt!"); +define('SPONSOR_PASSWORD1_EMPTY', "Sie haben kein Passwort eingegeben!"); +define('SPONSOR_PASSWORD2_EMPTY', "Sie haben keine Passwortbestätigung eingegeben!"); +define('SPONSOR_COMPANY_IS_EMPTY', "Sie haben keine Firmennamen eingegeben!"); +define('SPONSOR_POSITION_IS_EMPTY', "Sie haben keine Position eingegeben!"); +define('SPONSOR_TAX_IDENT_IS_EMPTY', "Sie haben keine Ust-Ident-Nr. eingegeben!"); +define('SPONSOR_REGISTER_SOMETHING_MISSING', "Die Sponsorenanmeldung konnte wegen der folgenden Punkte nicht durchgeführt werden"); +define('SPONSOR_PASSWORDS_MISMATCH', "Die beiden von Ihnen eingegebenen Passwörter stimmen nicht überein!"); +define('SPONSOR_TERMS_NOT_ACCEPTED', "Bitte akzeptieren Sie unsere [AGBs] !"); +define('SPONSOR_NO_PAYTYPE_SELECTED', "Bitte wählen Sie noch ein Buchungspaket aus!"); +define('SPONSOR_NO_WARNING_INTERVAL_SELECTED', "Bitte wählen Sie noch den Zeitabstand zwischen zwei Sponsorenberichten aus!"); +define('SPONSOR_NO_RECEIVE_WARNINGS_SELECTED', "Bitte wählen Sie noch aus, ob Sie bei jeder Aktion Bestätigungsmails empfangen wollen oder nicht!"); +define('SPONSOR_EMAIL_IS_ALREADY_REGISTERED', "Die von Ihnen eingegebene Email-Adresse existiert bereits in unserer Datenbank!"); +define('SPONSOR_ALREADY_FOUND_1', "Ein Sponsor ist bereits mit der Email-Adresse "); +define('SPONSOR_ALREADY_FOUND_2', " bei uns angemeldet!"); +define('SPONSOR_REGISTRATION_FAILED', "Anmeldung ist fehlgeschlagen!"); +define('SPONSOR_REGISTRATION_COMPLETED', "Anmeldung war erfolgreich! Es ist eine Mail zu Ihnen unterwegs, die weitere Anweisungen enthält, um die Anmeldung abzuschliessen."); +define('SPONSOR_UNKOWN_STATUS_1', "Bei der Anmeldung wurde ein unbekannter Rückgabewert "); +define('SPONSOR_UNKOWN_STATUS_2', " erkannt. Bitte melden Sie dies dem Betreiber dieses ".MT_WORD2."!
Vielen Dank."); +define('SPONSOR_EMAIL_404_1', "Bei der Anmeldung ist uns ein Fehler unterlaufen: Ihr Sponsor-Account mit der EMail-Adresse "); +define('SPONSOR_EMAIL_404_2', " wurde nicht gefunden!"); +define('SPONSOR_ACCOUNT_404', "Sponsorenaccount nicht gefunden oder Link ist ungütig. Oder haben Sie bereits den Bestätigungslink angeklickt?"); +define('SPONSOR_ACCOUNT_PENDING_FAILED', "Bei der Umschaltung Ihres Sponorenaccounts auf Wartend trat ein unerwarteter Fehler auf!"); +define('SPONSOR_ACCOUNT_404_1', "Sponsorenaccount "); +define('SPONSOR_ACCOUNT_404_2', " nicht gefunden!"); +define('SPONSOR_ACCOUNT_FAILED_1', "Sponsorenaccount konnte nicht geladen werden: "); +define('SPONSOR_ACCOUNT_FAILED_2', ""); +define('SPONSOR_ACCOUNT_EMAIL_FAILED', "Konnten Sponsorenaccount nicht freigeben! Bitte benachrichtigen Sie den Support!"); + +// Login form +define('SPONSOR_LOGIN_WELCOME', "Willkommen zum Sponsorenlogin"); +define('SPONSOR_ENTER_ID', "Sponsor-ID"); +define('SPONSOR_ENTER_PASSWORD', "Passwort"); +define('SPONSOR_PASSWORD_LOST', "Zugangsdaten zum Sponsorenbereich erneut anfordern"); +define('SPONSOR_ACTIVATION_LINK_LOST', "Bestätigungslink erneut anfordern"); +define('SPONSOR_SEND_ACTIVATION_LINK', "Bestätigungslink anfordern"); +define('SPONSOR_BACK_TO_LOGIN', "Zurück zum Login-Formular"); +define('SPONSOR_ACTIVATION_SUBMIT', "Link erneut anfordern"); +define('SPONSOR_HOWTO_GET_ACTIVATION_LINK', "Geben Sie oben Ihre EMail-Adresse ein, die Sie bei der Anmeldung als Sponsor eingegeben haben. Sollten Sie diese auch nicht mehr wissen, kontaktieren Sie uns bitte."); +define('SPONSOR_ACTIVATION_LINK_404', "Bestätigungscode nicht aussendbar: Wir konnten entweder Ihren Account nicht finden, oder Sie haben bereits Ihren Account bestätigt oder Sie wurden gesperrt."); +define('SPONSOR_ACTIVATION_LINK_SENT', "Es ist eine EMail mit Ihrem Bestätigungslink zu Ihnen unterwegs."); +define('SPONSOR_SEND_LOST_PASSWORD', "Verlorenes Passwort aussenden"); +define('SPONSOR_LOST_PASS_SUBMIT', "Passwort zusenden"); +define('SPONSOR_HOWTO_GET_LOST_PASSWORD', "Geben Sie oben Ihre EMail-Adresse und die dazu gehöhrige Sponsor-ID ein, die Sie bei der Anmeldung als Sponsor eingegeben haben. Sie erhalten dann umgehnst ein neues Passwort zugesandt. Das alte Passwort können wir Ihnen leiter nicht zusenden. Sollten Sie diese Daten auch nicht mehr wissen, kontaktieren Sie uns bitte."); +define('SPONSOR_LOST_PASSWORD_SENT', "Es ist eine EMail zu Ihnen unterwegs, die Ihr neues Passwort enthält."); +define('SPONSOR_LOST_PASSWORD_404', "Neues Passwort nicht aussendbar: Wir konnten entweder Ihren Account nicht finden, oder Sie haben noch nicht Ihren Account bestätigt oder Sie wurden gesperrt."); +define('SPONSOR_LOGIN_FAILED_404_WRONG_PASS', "Sponsoren-Account existiert nicht oder falsches Passwort!"); +define('SPONSOR_LOGIN_FAILED_UNCONFIRMED', "Sie haben noch nicht Ihre Email-Adresse bestätigt!"); +define('SPONSOR_LOGIN_FAILED_PENDING', "Ihr Account wartet noch auf Freischaltung durch den Administrator!"); +define('SPONSOR_LOGIN_FAILED_LOCKED', "Ihr Account wurde gesperrt, vermutlich wegen Nichteinhaltung von Regeln!"); +define('SPONSOR_LOGIN_FAILED_EMAIL', "Sie haben Ihre Email-Adresse geändert und diese noch nicht bestätigt!"); +define('SPONSPOR_COOKIE_SETUP_FAILED', "Es konnten keine Cookies gesetzt werden. Bitte Sicherheitseinstellungen in Ihrem Browser überprüfen!"); +define('SPONSOR_ONLY_AREA_ENTERED', "Sie haben einen Bereich aufgerufen, der nur den Sponsoren vorenthalten ist, die auch bezahlt haben. Bitte kehren Sie zur [ Eingangsseite ] zurück!"); +define('SPONSOR_ACCOUNT_STATUS_FAILED', "Unerwarteter Zustand des Scriptes erreicht! Bitte Support benachrichtigen!"); +define('SPONSOR_ACCOUNT_IS_CONFIRMED_AGAIN', "Ihr Sponsorenaccount ist wieder freigegeben! Sie können sich nun erneut einloggen!"); + +// Sponsor area +define('SPONSOR_NO_MAIN_MENUS_ACTIVE', "Keine Hauptmenüs aktiviert!"); +define('SPONSOR_NO_SUB_MENUS_ACTIVE', "Keine Untermenüs aktiviert!"); +define('SPONSOR_CONTENT_404_1', "Konnte das Sponsor-Modul "); +define('SPONSOR_CONTENT_404_2', " auf dem Server nicht finden!"); +define('SPONSOR_WELCOME_TO', "Willkommen zum Sponsorenbereich!"); +define('SPONSOR_PASSWORD_NOTE', "Wollen Sie nur Ihre Daten, aber nicht das Passwort ändern, geben Sie Ihr aktuelles Passwort unter "{--SPONSOR_ENTER_OLD_PASSWORD--}" ein. Wollen Sie Ihr Passwort ändern, geben Sie Ihr derzeiges und zweimal das neue Passwort ein."); +define('SPONSOR_POINTS_OVERVIEW', "Ihre {--POINTS--}-Übersicht"); +define('SPONSOR_POINTS_TOTAL', "Gesamtanzahl {--POINTS--}"); +define('SPONSOR_FILL_UP_POINTS', "Jetzt {--POINTS--}-Guthaben auffüllen..."); +define('SPONSOR_ENTER_OLD_PASSWORD', "Geben Sie Ihr derzeitiges Passwort ein"); +define('SPONSOR_CHANGE_PASSWORD', "Neues Passwort einstellen"); +define('SPONSOR_ACCOUNT_DATA_SAVED', "Ihre Daten wurden gespeichert."); +define('SPONSOR_ACCOUNT_EMAIL_CHANGED', "Sie haben Ihre EMail-Adresse geändert, Account wurde temporär gesperrt. Bitte [hier klicken], um in den Gastbereich zu gelangen."); +define('SPONSOR_SETTINGS_HEADER', "Einstellungen Ihres Sponsorenaccounts"); +define('SPONSOR_UNKNOWN_WHAT_1', "Scripte-Fehler: Unbekannte Sponsor-Aktion "); +define('SPONSOR_UNKNOWN_WHAT_2', " erkannt!"); +define('SPONSOR_SETTINGS_SAVED', "Neue Einstellungen gespeichert."); + +// Error messages +define('SPONSOR_NO_MESSAGE_GENERATED', "Fehler bei der Verarbeitung: Keine Nachricht generiert!"); +define('SPONSOR_NO_CURRENT_PASSWORD_ENTERED', "Sie haben Ihr derzeit gespeichertes Passwort nicht eingegeben!"); +define('SPONSOR_CURRENT_PASSWORD_DIDNOT_MATCH_DB', "Das von Ihnen und das in der Datenbank hinterlegte Passwort stimmen nicht überein!"); +define('SPONSOR_BOTH_NEW_PASSWORDS_DIDNOT_MATCH', "Die von Ihnen eingegebenen neuen Passwörter stimmen nicht überein!"); +define('SPONSOR_PASSWORD_ONE_EMPTY', "Erstes einzugebenes Passwort ist leer!"); +define('SPONSOR_PASSWORD_TWO_EMPTY', "Zweites einzugebenes Passwort ist leer!"); +define('SPONSOR_PASSWORD_TOO_SHORT_1', "Eingegebenes Passwort entspricht nicht der Mindestlänge von "); +define('SPONSOR_PASSWORD_TOO_SHORT_2', " Zeichen!"); +define('SPONSOR_ACCOUNT_DATA_NOT_SAVED', "Ihre Daten wurden nicht gespeichert!"); + +// +?> diff --git a/inc/language/wernis_de.php b/inc/language/wernis_de.php index 0bbf728c54..d0b3f1fd49 100644 --- a/inc/language/wernis_de.php +++ b/inc/language/wernis_de.php @@ -99,8 +99,8 @@ define('WERNIS_MEMBER_PAYOUT_POINTS', "Auszahlfähiges {!POINTS!}-Guthaben") define('WERNIS_MEMBER_PAYOUT_MIN_POINTS', "Mindestens auszuzahlendes {!POINTS!}-Guthaben"); define('WERNIS_MEMBER_PAYOUT_SUBMIT', "Auszahlung durchführen"); define('WERNIS_MEMBER_PAYOUT_NOTE', "Ihr {!POINTS!}-Passwort wird bei {!MAIN_TITLE!} nicht gespeichert. Bitte bei {!POINTS!}-Betrag nur gerade Beträge eingeben! Überprüfen Sie vor dem Absenden Ihren WDS66-Usernamen."); -define('WERNIS_MEMBER_WDS66_ID', "Username bei WDS66-Portal: [Vergessen?]"); -define('WERNIS_MEMBER_WDS66_PASSWORD', "{!POINTS!}-Passwort (nicht Accountpasswort!): [Vergessen?]"); +define('WERNIS_MEMBER_WDS66_ID', "Username bei WDS66-Portal: [Vergessen?]"); +define('WERNIS_MEMBER_WDS66_PASSWORD', "{!POINTS!}-Passwort (nicht Accountpasswort!): [Vergessen?]"); define('WERNIS_MEMBER_WDS66_AMOUNT', "Zu überweisenden Betrag eingeben:"); define('WERNIS_MEMBER_MODE_INVALID', "Ungültiger Modus %s erkannt! Bitte links im Menü fortfahren."); define('WERNIS_MEMBER_EMPTY_USERNAME', "Sie haben Ihren WDS66-Usernamen nicht eingegeben."); diff --git a/inc/libs/sponsor_functions.php b/inc/libs/sponsor_functions.php new file mode 100644 index 0000000000..ac2324e567 --- /dev/null +++ b/inc/libs/sponsor_functions.php @@ -0,0 +1,647 @@ + array(), + 'values' => array() + ); + + // Check if sponsor already exists + foreach ($POST as $k=>$v) + { + if (!(array_search($k, $SKIPPED) > -1)) + { + // Check only posted input entries not the submit button + switch ($k) + { + case "email": + $ALREADY = false; + if (!VALIDATE_EMAIL($v)) + { + // Email address is not valid + $SAVE = false; + } + else + { + // Do we want to add a new sponsor or update his data? + $result = SQL_QUERY_ESC("SELECT id FROM "._MYSQL_PREFIX."_sponsor_data WHERE email='%s' LIMIT 1", + array($POST['email']), __FILE__, __LINE__); + + // Is a sponsor alread in the db? + if (SQL_NUMROWS($result) == 1) + { + // Free memory + SQL_FREERESULT($result); + + // Yes, he is! + if (($HTTP_GET_VARS['what'] == "add_sponsor") || ($NO_UPDATE)) + { + // Already found! + $ALREADY = true; + } + else + { + // Update his data + $UPDATE = true; + } + } + } + break; + + case "pass1": + $k = ""; $v = ""; + break; + + case "pass2": + $k = "password"; $v = md5($v); + break; + + case "url": + if (!VALIDATE_URL($v)) $SAVE = false; + break; + + default: + // Test if there is are time selections + $TEST = substr($k, -3); + if ((($TEST == "_ye") || ($TEST == "_mo") || ($TEST == "_we") || ($TEST == "_da") || ($TEST == "_ho") || ($TEST == "_mi") || ($TEST == "_se")) && (!empty($v))) + { + // Found a multi-selection for timings? + $TEST = substr($k, 0, -3); + if ((!empty($POST[$TEST."_ye"])) && (!empty($POST[$TEST."_mo"])) && (!empty($POST[$TEST."_we"])) && (!empty($POST[$TEST."_da"])) && (!empty($POST[$TEST."_ho"])) && (!empty($POST[$TEST."_mi"])) && (!empty($POST[$TEST."_se"])) && ($TEST != $TEST2)) + { + // Generate timestamp + $POST[$TEST] = CREATE_TIMESTAMP_FROM_SELECTIONS($TEST, $POST); + $DATA['keys'][] = $TEST; + $DATA['values'][] = $POST[$TEST]; + + // Remove data from array + unset($POST[$TEST."_ye"]); + unset($POST[$TEST."_mo"]); + unset($POST[$TEST."_we"]); + unset($POST[$TEST."_da"]); + unset($POST[$TEST."_ho"]); + unset($POST[$TEST."_mi"]); + unset($POST[$TEST."_se"]); + + // Skip adding + $k = ""; $skip = true; $TEST2 = $TEST; + } + } + else + { + $skip = false; $TEST2 = ""; + } + break; + } + + if ((!empty($k)) && ($skip == false)) + { + // Add data + $DATA['keys'][] = $k; $DATA['values'][] = $v; + } + } + } + + // Save sponsor? + if ($SAVE) + { + // Default is no force even when a guest want to abuse this force switch + if ((empty($POST['force'])) || (!IS_ADMIN())) $POST['force'] = "0"; + + // SQL and message string is empty by default + $SQL = ""; $MSG = ""; + + // Update? + if ($UPDATE) + { + // Update his data + $SQL = "UPDATE "._MYSQL_PREFIX."_sponsor_data SET "; + foreach ($DATA['keys'] as $k=>$v) + { + $SQL .= $v."='%s', "; + } + + // Remove last ", " from SQL string + $SQL = substr($SQL, 0, -2)." WHERE id='%s' LIMIT 1"; + $DATA['values'][] = bigintval($HTTP_GET_VARS['id']); + + // Generate message + $MSG = SPONSOR_SET_MESSAGE(ADMIN_SPONSOR_UPDATED, "updated", $MSGs); + $ret = "updated"; + } + elseif ((!$ALREADY) || (($POST['force'] == "1") && (IS_ADMIN()))) + { + // Add new sponsor, first add more data + $DATA['keys'][] = "sponsor_created"; $DATA['values'][] = time(); + $DATA['keys'][] = "status"; + if ((!$NO_UPDATE) && (IS_ADMIN()) && ($HTTP_GET_VARS['what'] == "add_sponsor")) + { + // Only allowed for admin + $DATA['values'][] = "PENDING"; + } + else + { + // Guest area + $DATA['values'][] = "UNCONFIRMED"; + + // Generate hash code + $DATA['keys'][] = "hash"; + $DATA['values'][] = md5($_COOKIE['PHPSESSID'].":".$POST['email'].":".$_SERVER['REMOTE_ADDR'].":".$_SERVER['HTTP_USER_AGENT'].":".time()); + $DATA['keys'][] = "remote_addr"; + $DATA['values'][] = $_SERVER['REMOTE_ADDR']; + } + + // Implode all data into strings + $KEYS = implode(", " , $DATA['keys']); + $VALUES = str_repeat("%s', '", count($DATA['values']) - 1); + + // Generate string + $SQL = "INSERT INTO "._MYSQL_PREFIX."_sponsor_data (".$KEYS.") VALUES('".$VALUES."%s')"; + + // Generate message + $MSG = SPONSOR_SET_MESSAGE(ADMIN_SPONSOR_ADDED, "added", $MSGs); + $ret = "added"; + } + elseif ((!$NO_UPDATE) && (IS_ADMIN())) + { + // Add all data as hidden data + $OUT = ""; + foreach ($POST as $k=>$v) + { + // Do not add 'force' ! + if ($k != "force") + { + $OUT .= "\n"; + } + } + define('__HIDDEN_DATA', $OUT); + define('__EMAIL' , $POST['email']); + + // Ask for adding a sponsor with same email address + LOAD_TEMPLATE("admin_add_sponsor_already"); + return; + } + else + { + // Already added! + $MSG = SPONSOR_ALREADY_FOUND_1.$POST['email'].SPONSOR_ALREADY_FOUND_2; + $ret = "already"; + } + + if (!empty($SQL)) + { + // Run SQL command + $result = SQL_QUERY_ESC($SQL, $DATA['values'], __FILE__, __LINE__); + } + + // Output message + if ((!$NO_UPDATE) && (IS_ADMIN())) + { + LOAD_TEMPLATE("admin_settings_saved", false, $MSG); + } + } + else + { + // Error found! + $MSG = SPONSOR_SET_MESSAGE(SPONSOR_DATA_NOT_SAVED, "failed", $MSGs); + LOAD_TEMPLATE("admin_settings_saved", false, $MSG); + } + + // Shall we return the status? + if ($RET_STATUS) return $ret; +} +// +function SPONSOR_TRANSLATE_STATUS($status) +{ + switch ($status) + { + case "UNCONFIRMED": + $ret = ACCOUNT_UNCONFIRMED; + break; + + case "CONFIRMED": + $ret = ACCOUNT_CONFIRMED; + break; + + case "LOCKED": + $ret = ACCOUNT_LOCKED; + break; + + case "PENDING": + $ret = ACCOUNT_PENDING; + break; + + case "EMAIL": + $ret = ACCOUNT_EMAIL; + break; + + default: + $ret = UNKNOWN_STATUS_1.$status.UNKNOWN_STATUS_2; + break; + } + return $ret; +} +// Search for an email address in the database +function SPONSOR_FOUND_EMAIL_DB($email) +{ + // Default status is failed (as it is always be...) + $ret = false; + + // Check for email (and secure input) + $result = SQL_QUERY_ESC("SELECT id FROM "._MYSQL_PREFIX."_sponsor_data WHERE email='%s' LIMIT 1", + array($email), __FILE__, __LINE__); + + // Do we already have the provided email address in our DB? + if (SQL_NUMROWS($result) == 1) $ret = true; + + // Return result + return $ret; +} +// +function SPONSOR_SET_MESSAGE($msg, $pos, $array) +{ + // Check if the requested message was found in array + if (isset($array[$pos])) + { + // ... if yes then use it! + $ret = $array[$pos]; + } + else + { + // ... else use default message + $ret = $msg; + } + + // Return result + return $ret; +} +// +function IS_SPONSOR() +{ + global $_COOKIE; + // Failed... + $ret = false; + if ((!empty($_COOKIE['sponsorid'])) && (!empty($_COOKIE['sponsorpass']))) + { + // Check cookies against database records... + $result = SQL_QUERY_ESC("SELECT id FROM "._MYSQL_PREFIX."_sponsor_data +WHERE id='%s' AND password='%s' AND status='CONFIRMED' LIMIT 1", + array(bigintval($_COOKIE['sponsorid']), $_COOKIE['sponsorpass']), __FILE__, __LINE__); + if (SQL_NUMROWS($result) == 1) + { + // All is fine + $ret = true; + } + + // Free memory + SQL_FREERESULT($result); + } + + // Return status + return $ret; +} +// +function GENERATE_SPONSOR_MENU($current) +{ + $OUT = ""; + $WHERE = " AND active='Y'"; + if (IS_ADMIN()) $WHERE = ""; + + // Load main menu entries + $result_main = SQL_QUERY("SELECT action, title FROM "._MYSQL_PREFIX."_sponsor_menu +WHERE what='' ".$WHERE." +ORDER BY sort", __FILE__, __LINE__); + if (SQL_NUMROWS($result_main) > 0) + { + // Load every menu and it's sub menus + while(list($action, $title_main) = SQL_FETCHROW($result_main)) + { + // Load sub menus + $result_sub = SQL_QUERY_ESC("SELECT what, title FROM "._MYSQL_PREFIX."_sponsor_menu +WHERE action='%s' AND what != '' ".$WHERE." +ORDER BY sort", array($action), __FILE__, __LINE__); + if (SQL_NUMROWS($result_sub) > 0) + { + // Load sub menus + $SUB = ""; + while(list($what, $title_sub) = SQL_FETCHROW($result_sub)) + { + // Check if current selected menu is matching the loaded one + if ($current == $what) $title_sub = "".$title_sub.""; + + // Prepare data for the sub template + $content = array( + 'what' => $what, + 'title' => $title_sub + ); + + // Load row template + $SUB .= LOAD_TEMPLATE("sponsor_what", true, $content); + } + + // Prepare data for the main template + $content = array( + 'title' => $title_main, + 'menu' => $SUB + ); + + // Load menu template + $OUT .= LOAD_TEMPLATE("sponsor_action", true, $content); + } + else + { + // No sub menus active + $OUT .= LOAD_TEMPLATE("admin_settings_saved", true, SPONSOR_NO_SUB_MENUS_ACTIVE); + } + + // Free memory + SQL_FREERESULT($result_sub); + } + } + else + { + // No main menus active + $OUT .= LOAD_TEMPLATE("admin_settings_saved", true, SPONSOR_NO_MAIN_MENUS_ACTIVE); + } + + // Free memory + SQL_FREERESULT($result_main); + + // Return content + return $OUT; +} +// +function GENERATE_SPONSOR_CONTENT($what) +{ + global $HTTP_POST_VARS, $HTTP_GET_VARS, $CONFIG; + $FILE = PATH."inc/modules/sponsor/".$what.".php"; + $OUT = ""; + if (@file_exists($FILE)) + { + // Every sponsor action will output nothing directly. It will be written into $OUT! + require_once($FILE); + } + else + { + // File not found! + $OUT .= LOAD_TEMPLATE("admin_settings_saved", true, SPONSOR_CONTENT_404_1.$what.SPONSOR_CONTENT_404_2); + } + + // Return content + return $OUT; +} +// +function UPDATE_SPONSOR_LOGIN() +{ + global $_COOKIE, $CONFIG; + + // Check if cookies are set + if ((empty($_COOKIE['sponsorid'])) || (empty($_COOKIE['sponsorpass']))) return false; + + // Calculate cookie lifetime, maybe we have to change this so the admin can setup a + // seperate timeout for these two cookies? + $life = (time() + $CONFIG['online_timeout']); + + // Is confirmed so both is fine and we can continue with login procedure + $login = ((setcookie("sponsorid" , bigintval($_COOKIE['sponsorid']), $life, COOKIE_PATH)) && + (setcookie("sponsorpass", $_COOKIE['sponsorpass'] , $life, COOKIE_PATH))); + + // Update database? + if ($login) + { + // Update last online timestamp + $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_sponsor_data +SET last_online='".time()."' +WHERE id='%s' AND password='%s' LIMIT 1", + array(bigintval($_COOKIE['sponsorid']), $_COOKIE['sponsorpass']), __FILE__, __LINE__); + } + + // Return status + return $login; +} +// +function SPONSOR_SAVE_DATA($POST, $content) +{ + global $_COOKIE, $_SERVER, $HTTP_GET_VARS; + $EMAIL = false; + + // Unsecure data which we don't want + $UNSAFE = array('password', 'id', 'remote_addr', 'sponsor_created', 'last_online', 'status', 'ref_count', + 'points_amount', 'points_used', 'refid', 'hash' , 'last_pay', 'last_curr', 'pass_old', + 'ok', 'pass1', 'pass2'); + + // Set default message ("not saved") + $MSG = SPONSOR_ACCOUNT_DATA_NOT_SAVED; + + // Check for submitted passwords + if ((!empty($HTTP_POST_VARS['pass1'])) && (!empty($HTTP_POST_VARS['pass2']))) + { + // Are both passwords the same? + if ($HTTP_POST_VARS['pass1'] == $HTTP_POST_VARS['pass2']) + { + // Okay, then set password and remove pass1 and pass2 + $HTTP_POST_VARS['password'] = md5($HTTP_POST_VARS['pass1']); + } + } + + // Remove all (maybe spoofed) unsafe data from array + foreach ($UNSAFE as $remove) + { + unset($POST[$remove]); + } + + // This array is for the submitted data which we will use with the SQL_QUERY_ESC() function to + // secure the data + $DATA = array(); + + // Prepare SQL string + $SQL = "UPDATE "._MYSQL_PREFIX."_sponsor_data SET"; + foreach ($POST as $key=>$value) + { + // Mmmmm, too less security here??? + $SQL .= " ".strip_tags($key)."='%s',"; + + // We will secure this later inside the SQL_QUERY_ESC() function + $DATA[] = strip_tags($value); + + // Compile {SLASH} and so on for the email templates + $POST[$key] = COMPILE_CODE($value); + } + + // Check if email has changed + if ((!empty($content['email'])) && (!empty($POST['email']))) + { + if ($content['email'] != $POST['email']) + { + // Change email address + $EMAIL = true; + + // Okay, has changed then add status with UNCONFIRMED and new hash code + $SQL .= " status='EMAIL', hash='%s',"; + + // Generate hash code + $HASH = md5($_COOKIE['PHPSESSID'].":".$POST['email'].":".$_SERVER['REMOTE_ADDR'].":".$_SERVER['HTTP_USER_AGENT'].":".time()); + $DATA[] = $HASH; + } + } + + // Remove last commata + $SQL = substr($SQL, 0, -1); + + // Add SQL tail data + $SQL .= " WHERE id='%s' AND password='%s' LIMIT 1"; + $DATA[] = bigintval($_COOKIE['sponsorid']); + $DATA[] = $_COOKIE['sponsorpass']; + + // Saving data was completed... ufff... + switch ($HTTP_GET_VARS['what']) + { + case "account": // Change account data + if ($EMAIL) + { + $MSG = SPONSOR_ACCOUNT_EMAIL_CHANGED; + $templ = "admin_sponsor_change_email"; + $subj = ADMIN_SPONSOR_ACC_EMAIL_SUBJ; + } + else + { + $MSG = SPONSOR_ACCOUNT_DATA_SAVED; + $templ = "admin_sponsor_change_data"; + $subj = ADMIN_SPONSOR_ACC_DATA_SUBJ; + } + break; + + case "settings": // Change settings + // Translate some data + $content['receive'] = TRANSLATE_YESNO($content['receive_warnings']); + $content['interval'] = CREATE_FANCY_TIME($content['warning_interval']); + + // Set message template and subject for admin + $MSG = SPONSOR_SETTINGS_SAVED; + $templ = "admin_sponsor_settings"; + $subj = ADMIN_SPONSOR_SETTINGS_SUBJ; + break; + + default: // Unknown sponsor what value! + $MSG = SPONSOR_UNKNOWN_WHAT_1.$HTTP_GET_VARS['what'].SPONSOR_UNKNOWN_WHAT_2; + $templ = ""; $subj = ""; + break; + } + + if (SQL_AFFECTEDROWS() == 1) + { + if (!empty($templ) && !empty($subj)) + { + // Run SQL command and check for success + $result = SQL_QUERY_ESC($SQL, $DATA, __FILE__, __LINE__); + + // Add all data to content + global $DATA; + $DATA = $POST; + + // Change some data + if (isset($content['salut'])) $content['salut'] = TRANSLATE_SEX($content['salut']); + if (isset($DATA['salut'])) $DATA['salut'] = TRANSLATE_SEX($DATA['salut']); + if (isset($content['receive_warnings'])) $DATA['receive'] = TRANSLATE_YESNO($POST['receive_warnings']); + if (isset($content['warning_interval'])) $DATA['interval'] = CREATE_FANCY_TIME($POST['warning_interval']); + + // Send email to admins + if (GET_EXT_VERSION("admins") < "0.4.1") + { + // Use old method to send out + $msg = LOAD_EMAIL_TEMPLATE($templ, $content); + SEND_ADMIN_EMAILS($subj, $msg); + } + else + { + // Use new system to send out + SEND_ADMIN_EMAILS_PRO($subj, $templ, $content); + } + + // Shall we send mail to the sponsor's new email address? + if ($content['receive_warnings'] == "Y") + { + // Okay send email with confirmation link to new address and with no confirmation link + // to the old address + + // First to old address + switch ($HTTP_GET_VARS['what']) + { + case "account": // Change account data + $email_msg = LOAD_EMAIL_TEMPLATE("sponsor_change_data", $content); + SEND_EMAIL($content['email'], SPONSOR_ACC_DATA_SUBJ, $email_msg); + + if ($EMAIL) + { + // Add hash code to content array + $content['hash'] = $HASH; + + // Second mail goes to the new address + $email_msg = LOAD_EMAIL_TEMPLATE("sponsor_change_email", $content); + SEND_EMAIL($content['email'], SPONSOR_ACC_EMAIL_SUBJ, $email_msg); + } + break; + + case "settings": // Change settings + // Send email + $email_msg = LOAD_EMAIL_TEMPLATE("sponsor_settings", $content); + SEND_EMAIL($content['email'], SPONSOR_SETTINGS_SUBJ, $email_msg); + break; + } + } + } + } + + // Return final message + return $MSG; +} +// +?> diff --git a/inc/modules/admin/action-sponsor.php b/inc/modules/admin/action-sponsor.php new file mode 100644 index 0000000000..0306396d08 --- /dev/null +++ b/inc/modules/admin/action-sponsor.php @@ -0,0 +1,55 @@ + diff --git a/inc/modules/admin/admin-inc.php b/inc/modules/admin/admin-inc.php index 899bd4c36a..684517c86d 100644 --- a/inc/modules/admin/admin-inc.php +++ b/inc/modules/admin/admin-inc.php @@ -79,7 +79,7 @@ function CHECK_ADMIN_LOGIN ($admin_login, $password) } } - /* DEBUG: */ echo "*".$pass."/".md5($password)."/".$ret."
"; + //* DEBUG: */ echo "*".$pass."/".md5($password)."/".$ret."
"; if ((strlen($pass) == 32) && ($pass == md5($password))) { // Generate new hash $pass = generateHash($password); diff --git a/inc/modules/admin/what-add_sponsor.php b/inc/modules/admin/what-add_sponsor.php new file mode 100644 index 0000000000..07767a67af --- /dev/null +++ b/inc/modules/admin/what-add_sponsor.php @@ -0,0 +1,56 @@ + diff --git a/inc/modules/admin/what-config_sponsor.php b/inc/modules/admin/what-config_sponsor.php new file mode 100644 index 0000000000..22185a82b8 --- /dev/null +++ b/inc/modules/admin/what-config_sponsor.php @@ -0,0 +1,61 @@ + diff --git a/inc/modules/admin/what-del_sponsor.php b/inc/modules/admin/what-del_sponsor.php new file mode 100644 index 0000000000..0bd3444b15 --- /dev/null +++ b/inc/modules/admin/what-del_sponsor.php @@ -0,0 +1,110 @@ + diff --git a/inc/modules/admin/what-edit_sponsor.php b/inc/modules/admin/what-edit_sponsor.php new file mode 100644 index 0000000000..005abac287 --- /dev/null +++ b/inc/modules/admin/what-edit_sponsor.php @@ -0,0 +1,217 @@ + 0) + { + // Replace german decimal comma with computer's decimal dot + $POINTS = strval(str_replace(",", ".", $HTTP_POST_VARS['points'])); + + // Add points to account + $result_add = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_sponsor_data SET points_amount=points_amount+%s WHERE id='%s' LIMIT 1", + array($POINTS, bigintval($HTTP_GET_VARS['id'])), __FILE__, __LINE__); + + // Remember points /reason for the template + define('__POINTS' , TRANSLATE_COMMA($POINTS)); + define('__REASON' , $HTTP_POST_VARS['reason']); + + // Send email + $msg = LOAD_EMAIL_TEMPLATE("sponsor_add_points", $HTTP_POST_VARS['reason'], true); + SEND_EMAIL(__EMAIL, SPONSOR_ADMIN_ADD_POINTS, $msg); + $MSG = ADMIN_SPONSOR_POINTS_ADDED; + } + else + { + // No points entered to add! + $MSG = ADMIN_SPONSPOR_NO_POINTS_TO_ADD; + } + break; + + case "sub_points": // Subtract points + if (strval($HTTP_POST_VARS['points']) > 0) + { + // Replace german decimal comma with computer's decimal dot + $POINTS = strval(str_replace(",", ".", $HTTP_POST_VARS['points'])); + + // Add points to account + $result_add = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_sponsor_data SET points_used=points_used+%s WHERE id='%s' LIMIT 1", + array($POINTS, bigintval($HTTP_GET_VARS['id'])), __FILE__, __LINE__); + + // Remember points /reason for the template + define('__POINTS' , TRANSLATE_COMMA($POINTS)); + define('__REASON' , $HTTP_POST_VARS['reason']); + + // Send email + $msg = LOAD_EMAIL_TEMPLATE("sponsor_sub_points", $HTTP_POST_VARS['reason'], true); + SEND_EMAIL(__EMAIL, SPONSOR_ADMIN_SUB_POINTS, $msg); + $MSG = ADMIN_SPONSOR_POINTS_SUBTRACTED; + } + else + { + // No points entered to add! + $MSG = ADMIN_SPONSPOR_NO_POINTS_TO_SUBTRACT; + } + break; + + case "edit": // Edit sponsor account + $PASS = true; + if (($HTTP_POST_VARS['pass1'] != $HTTP_POST_VARS['pass2']) || ((empty($HTTP_POST_VARS['pass1'])) && (empty($HTTP_POST_VARS['pass1'])))) + { + // Remove passwords + unset($HTTP_POST_VARS['pass1']); + unset($HTTP_POST_VARS['pass2']); + $PASS = false; + } + SPONSOR_HANDLE_SPONSOR($HTTP_POST_VARS); + + // Convert some data for the email template + $HTTP_POST_VARS['salut'] = TRANSLATE_SEX($HTTP_POST_VARS['salut']); + $HTTP_POST_VARS['warning_interval'] = CREATE_FANCY_TIME($HTTP_POST_VARS['warning_interval']); + if (!$PASS) $HTTP_POST_VARS['pass1'] = SPONSOR_PASS_UNCHANGED; + + // Load email template and send the mail away + $msg = LOAD_EMAIL_TEMPLATE("admin_sponsor_edit", $HTTP_POST_VARS, false); + SEND_EMAIL($HTTP_POST_VARS['email'], SPONSOR_ADMIN_EDIT_SUBJECT, $msg); + break; + + default: // Unknown mode + $MSG = ADMIN_INVALID_MODE_1.$HTTP_GET_VARS['mode'].ADMIN_INVALID_MODE_2; + break; + } + + if (!empty($MSG)) + { + // Output message + LOAD_TEMPLATE("admin_settings_saved", false, $MSG); + } + } + elseif (file_exists(PATH."templates/".GET_LANGUAGE()."/html/admin/".$TPL.".tpl")) + { + // Create mailto link + define('__SPONSOR_VALUE', "".__SURNAME." ".__FAMILY.""); + + // Load mode template + LOAD_TEMPLATE($TPL); + } + else + { + // Template not found! + LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_TPL_404_1.$HTTP_GET_VARS['mode'].ADMIN_TPL_404_2); + } + } + else + { + // Sponsor not found! + LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_SPONSOR_404_1.$HTTP_GET_VARS['id'].ADMIN_SPONSOR_404_2); + } +} + else +{ + // Not called by what-list_sponsor.php + LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_CALL_NOT_DIRECTLY); +} + +// +?> diff --git a/inc/modules/admin/what-list_sponsor.php b/inc/modules/admin/what-list_sponsor.php new file mode 100644 index 0000000000..fc48a1f7d9 --- /dev/null +++ b/inc/modules/admin/what-list_sponsor.php @@ -0,0 +1,200 @@ +$v) + { + if (empty($v)) $DATA[$k] = "---"; + } + + // Check for sponsor's orders (only count) + $result_orders = SQL_QUERY_ESC("SELECT COUNT(id) FROM "._MYSQL_PREFIX."_sponsor_orders WHERE sponsorid='%s'", + array(bigintval($HTTP_GET_VARS['id'])), __FILE__, __LINE__); + list($orders) = SQL_FETCHROW($result_orders); + SQL_FREERESULT($result_orders); + if (empty($orders)) $orders = "0"; + + // Prepare all data for the template + // Sponsor's ID + define('__SPONSOR_ID' , $HTTP_GET_VARS['id']); + // Company's data + define('__SPONSOR_COMPANY' , $DATA['company']); + define('__SPONSOR_POSITION' , $DATA['position']); + define('__SPONSOR_TAX_IDENT' , $DATA['tax_ident']); + // Personal data + define('__SPONSOR_SALUT' , TRANSLATE_SEX($DATA['salut'])); + define('__SPONSOR_SURNAME' , $DATA['surname']); + define('__SPONSOR_FAMILY' , $DATA['family']); + define('__SPONSOR_STREET1' , $DATA['street_nr1']); + define('__SPONSOR_STREET2' , $DATA['street_nr2']); + define('__SPONSOR_ZIP' , $DATA['zip']); + define('__SPONSOR_CITY' , $DATA['city']); + define('__SPONSOR_COUNTRY' , $DATA['country']); + // Contact data + define('__SPONSOR_PHONE' , $DATA['phone']); + define('__SPONSOR_FAX' , $DATA['fax']); + define('__SPONSOR_CELL' , $DATA['cell']); + define('__SPONSOR_EMAIL' , "mailto:".$DATA['email']); + define('__SPONSOR_EMAIL_VALUE', $DATA['email']); + define('__SPONSOR_URL' , DEREFERER($DATA['url'])); + // Timestamps + define('__SPONSOR_CREATED' , MAKE_DATETIME($DATA['sponsor_created'], "2")); + define('__SPONSOR_LAST_ONLINE', MAKE_DATETIME($DATA['last_online'], "2")); + define('__SPONSOR_LAST_CHANGE', MAKE_DATETIME($DATA['last_change'], "2")); + // Sponsor points + define('__SPONSOR_AMOUNT' , TRANSLATE_COMMA($DATA['points_amount'])); + define('__SPONSOR_USED' , TRANSLATE_COMMA($DATA['points_used'])); + // Warning because low points + define('__SPONSOR_REC_WARNING', TRANSLATE_YESNO($DATA['receive_warnings'])); + define('__SPONSOR_INTERVAL' , CREATE_FANCY_TIME($DATA['warning_interval'])); + // Orders total + define('__SPONSOR_ORDERS' , $orders); + // Other data + define('__SPONSOR_STATUS' , SPONSOR_TRANSLATE_STATUS($DATA['status'])); + define('__SPONSOR_REFID' , $DATA['refid']); + define('__SPONSOR_REMOTE_ADR' , $DATA['remote_addr']); + define('__SPONSOR_REFS' , $DATA['ref_count']); + + // Load template + LOAD_TEMPLATE("admin_list_sponsor_details"); + } + else + { + // Sponsor not found + LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_SPONSOR_404_1.$HTTP_GET_VARS['id'].ADMIN_SPONSOR_404_2); + } +} + elseif (!empty($HTTP_GET_VARS['rid'])) +{ + // Search for sponsor + $result = SQL_QUERY_ESC("SELECT id FROM "._MYSQL_PREFIX."_sponsor_data WHERE id='%s' LIMIT 1", + array(bigintval($HTTP_GET_VARS['rid'])), __FILE__, __LINE__); + if (SQL_NUMROWS($result) == 1) + { + // Free memory + SQL_FREERESULT($result); + + // Sponsor found so let's list all his referrals + $result = SQL_QUERY_ESC("SELECT id, salut, surname, family, email, status, sponsor_created, last_online, points_amount, points_used, remote_addr, ref_count +FROM "._MYSQL_PREFIX."_sponsor_data +WHERE refid='%s' ORDER BY id", + array(bigintval($HTTP_GET_VARS['rid'])), __FILE__, __LINE__); + + if (SQL_NUMROWS($result) > 0) + { + // List refs now + // Free memory + SQL_FREERESULT($result); + } + else + { + // No refs made so far + LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_SPONSOR_REFS_404_1."".$HTTP_GET_VARS['rid']."".ADMIN_SPONSOR_REFS_404_2); + } + } + else + { + // Sponsor not found + LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_SPONSOR_404_1.$HTTP_GET_VARS['rid'].ADMIN_SPONSOR_404_2); + } +} + else +{ + // List all sponsors + $result_main = SQL_QUERY("SELECT id, salut, surname, family, email, status, sponsor_created, last_online, points_amount, points_used, remote_addr +FROM "._MYSQL_PREFIX."_sponsor_data ORDER BY id", __FILE__, __LINE__); + if (SQL_NUMROWS($result_main) > 0) + { + // At least one sponsor found! + $OUT = ""; $SW = 2; + while(list($id, $salut, $sname, $fname, $email, $status, $created, $last, $amount, $used, $ip) = SQL_FETCHROW($result_main)) + { + // Transfer data to array + $content = array( + 'id' => $id, + 'sw' => $SW, + 'salut' => TRANSLATE_SEX($salut), + 'sname' => $sname, + 'fname' => $fname, + 'email' => "mailto:".$email, + 'status' => SPONSOR_TRANSLATE_STATUS($status), + 'created' => MAKE_DATETIME($created, "2"), + 'last' => MAKE_DATETIME($last, "2"), + 'points' => TRANSLATE_COMMA($amount - $used), + 'ip' => $ip, + ); + + // Load row template + $OUT .= LOAD_TEMPLATE("admin_list_sponsor_row", true, $content); + $SW = 3 - $SW; + } + + // Free memory + SQL_FREERESULT($result_main); + define('__SPONSOR_ROWS', $OUT); + + // Load final template + LOAD_TEMPLATE("admin_list_sponsor"); + } + else + { + // No sponsors registered so far + LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_SPONSOR_NONE_REGISTERED); + } +} + +// +?> diff --git a/inc/modules/admin/what-list_sponsor_pay.php b/inc/modules/admin/what-list_sponsor_pay.php new file mode 100644 index 0000000000..587fc05805 --- /dev/null +++ b/inc/modules/admin/what-list_sponsor_pay.php @@ -0,0 +1,249 @@ +$sel) + { + // Secure ID + $id = bigintval($id); + + // Save entry + $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_sponsor_paytypes +SET pay_name='%s', pay_rate='%s', pay_min_count='%s', pay_currency='%s' WHERE id='%s' LIMIT 1", + array($HTTP_POST_VARS['name'][$id], $HTTP_POST_VARS['rate'][$id], bigintval($HTTP_POST_VARS['min'][$id]), $HTTP_POST_VARS['curr'][$id], $id), + __FILE__, __LINE__); + } + + // Generate message + $MSG = SPONSOR_PAY_ENTRIES_CHANGED; + } + elseif (isset($HTTP_POST_VARS['remove'])) + { + // Remove entries here... + foreach ($HTTP_POST_VARS['id'] as $id=>$sel) + { + // Remove entry + $result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_sponsor_paytypes WHERE id='%s' LIMIT 1", + array(bigintval($id)), __FILE__, __LINE__); + } + + // Generate message + $MSG = SPONSOR_PAY_ENTRIES_REMOVED; + } + + if (!empty($MSG)) + { + // Output message + LOAD_TEMPLATE("admin_settings_saved", false, $MSG); + OUTPUT_HTML("
"); + } +} + +if (isset($HTTP_POST_VARS['add'])) +{ + // Check if entry with same name does exists + $result = SQL_QUERY_ESC("SELECT id FROM "._MYSQL_PREFIX."_sponsor_paytypes WHERE pay_name='%s' LIMIT 1", + array($HTTP_POST_VARS['pay_name']), __FILE__, __LINE__); + if (SQL_NUMROWS($result) == 0) + { + // No entry found so add this line + $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_sponsor_paytypes (pay_name, pay_rate, pay_min_count, pay_currency) + VALUES ('%s', '%s', '%s', '%s')", + array(htmlspecialchars($HTTP_POST_VARS['pay_name']), str_replace(",", ".", $HTTP_POST_VARS['pay_rate']), bigintval($HTTP_POST_VARS['pay_min_count']), htmlspecialchars($HTTP_POST_VARS['pay_currency'])), + __FILE__, __LINE__); + + // Payment type added! + $MSG = SPONSOR_ADMIN_PAYTYPE_ADDED_1.$HTTP_POST_VARS['pay_name'].SPONSOR_ADMIN_PAYTYPE_ADDED_2; + } + else + { + // Free memory + SQL_FREERESULT($result); + + // Entry does already exists + $MSG = SPONSOR_ADMIN_PAYTYPE_ALREADY_1.$HTTP_POST_VARS['pay_name'].SPONSOR_ADMIN_PAYTYPE_ALREADY_2; + } + + // Output message + LOAD_TEMPLATE("admin_settings_saved", false, $MSG); + OUTPUT_HTML("
"); +} + elseif ((isset($HTTP_POST_VARS['edit'])) || (isset($HTTP_POST_VARS['del']))) +{ + // Load all data + $OUT = ""; $SW = 2; + foreach ($HTTP_POST_VARS['id'] as $id=>$sel) + { + // Load entry + $result = SQL_QUERY_ESC("SELECT pay_name, pay_rate, pay_min_count, pay_currency FROM "._MYSQL_PREFIX."_sponsor_paytypes WHERE id='%s' LIMIT 1", + array(bigintval($id)), __FILE__, __LINE__); + if (SQL_NUMROWS($result) == 1) + { + // Load data + list($name, $rate, $min, $curr) = SQL_FETCHROW($result); + SQL_FREERESULT($result); + + // Transfer data to array + $content = array( + 'id' => bigintval($id), + 'sw' => bigintval($SW), + 'name' => htmlspecialchars($name), + 'rate' => TRANSLATE_COMMA($rate), + 'min' => bigintval($min), + 'curr' => htmlspecialchars($curr) + ); + + if (isset($HTTP_POST_VARS['edit'])) + { + // Edit entry + $OUT .= LOAD_TEMPLATE("admin_list_sponsor_pay_edit_row", true, $content); + } + else + { + // Delete entry + $OUT .= LOAD_TEMPLATE("admin_list_sponsor_pay_del_row", true, $content); + } + } + else + { + // Entry invalid + $OUT .= LOAD_TEMPLATE("admin_list_sponsor_pay_404", true, $id); + } + + // Switch colors + $SW = 3 - $SW; + } + + // Remember content in constant + define('__SPONSOR_ROWS', $OUT); + + // Load main template depending on mode (edit/delete) + if (isset($HTTP_POST_VARS['edit'])) + { + // Load main edit template + LOAD_TEMPLATE("admin_list_sponsor_pay_edit"); + } + else + { + // Load main delete template + LOAD_TEMPLATE("admin_list_sponsor_pay_del"); + } +} + else +{ + // Load all payment types + $result = SQL_QUERY("SELECT id, pay_name, pay_rate, pay_min_count, pay_currency FROM "._MYSQL_PREFIX."_sponsor_paytypes ORDER BY pay_name", + __FILE__, __LINE__); + + // Do we have some paytypes setup? + if (SQL_NUMROWS($result) > 0) + { + // Prepare variables for listing + $SW = 2; $OUT = ""; + + // List alle found payment types + while(list($id, $name, $rate, $min, $currency) = SQL_FETCHROW($result)) + { + // Remember data in array + $content = array( + 'sw' => $SW, + 'id' => $id, + 'name' => $name, + 'rate' => TRANSLATE_COMMA($rate), + 'min' => $min, + 'currency' => $currency + ); + + // Add row + $OUT .= LOAD_TEMPLATE("admin_list_sponsor_pay_row", true, $content); + + // Switch colors + $SW = 3 - $SW; + } + + // Free memory + SQL_FREERESULT($result); + + // Remember rows in constant for the template + define('__LIST_ROWS', $OUT); + + // Load list template + define('__LIST_CONTENT', LOAD_TEMPLATE("admin_list_sponsor_pay", true)); + } + else + { + // Noting setup so far! + define('__LIST_CONTENT', LOAD_TEMPLATE("admin_settings_saved", true, SPONSOR_ADMIN_NO_PAYTYPES)); + } + + // Add new payment types here + define('__ADD_CONTENT', LOAD_TEMPLATE("admin_add_sponsor_paytype", true)); + + // Load final template + LOAD_TEMPLATE("admin_sponsor_paytypes"); +} + +// +?> diff --git a/inc/modules/admin/what-list_sponsor_pays.php b/inc/modules/admin/what-list_sponsor_pays.php new file mode 100644 index 0000000000..5c183d69a7 --- /dev/null +++ b/inc/modules/admin/what-list_sponsor_pays.php @@ -0,0 +1,67 @@ + diff --git a/inc/modules/admin/what-lock_sponsor.php b/inc/modules/admin/what-lock_sponsor.php new file mode 100644 index 0000000000..2d22e80e03 --- /dev/null +++ b/inc/modules/admin/what-lock_sponsor.php @@ -0,0 +1,143 @@ +".__SALUT." ".__SURNAME." ".__FAMILY.""); + + // Display form + LOAD_TEMPLATE("admin_lock_sponsor"); + } + } + else + { + // Cannot change status on unconfirmed or pending accounts! + $MSG = ADMIN_SPONSPOR_CANNOT_LOCK_PENDING_UNCINFIRMED_ACCOUNTS; + } + } + else + { + // Sponsor not found! + $MSG = ADMIN_SPONSOR_404_1.$HTTP_GET_VARS['id'].ADMIN_SPONSOR_404_2; + } +} + else +{ + // Not called by what-list_sponsor.php + $MSG = ADMIN_CALL_NOT_DIRECTLY; +} + +if (!empty($MSG)) +{ + // Output message + LOAD_TEMPLATE("admin_settings_saved", false, $MSG); +} +// +?> diff --git a/inc/modules/admin/what-unlock_sponsor.php b/inc/modules/admin/what-unlock_sponsor.php new file mode 100644 index 0000000000..d8018db2d3 --- /dev/null +++ b/inc/modules/admin/what-unlock_sponsor.php @@ -0,0 +1,223 @@ + 0) + { + // At least one entry selected + foreach ($HTTP_POST_VARS['id'] as $id=>$sel) + { + // Load his personal data + $result_main = SQL_QUERY_ESC("SELECT salut, surname, family, email, remote_addr, sponsor_created, points_amount, refid +FROM "._MYSQL_PREFIX."_sponsor_data +WHERE status='PENDING' AND id='%s' LIMIT 1", + array(bigintval($id)), __FILE__, __LINE__); + $refid = 0; + if (SQL_NUMROWS($result_main) == 1) + { + // Load data and free memory + list($salut, $sname, $fname, $email, $ip, $created, $points, $refid) = SQL_FETCHROW($result_main); + + // Check for open payments and close them + $result = SQL_QUERY_ESC("SELECT DISTINCT so.aid, so.pay_count, so.pay_ordered, so.pay_status, +sp.pay_name, sp.pay_rate, sp.pay_currency +FROM "._MYSQL_PREFIX."_sponsor_orders AS so +LEFT JOIN "._MYSQL_PREFIX."_sponsor_paytypes AS sp +ON sp.id=so.payid +WHERE so.sponsorid='%s' +ORDER BY sp.pay_name", + array(bigintval($id)), __FILE__, __LINE__); + if (SQL_NUMROWS($result) > 0) + { + // Payment does exist + while(list($aid, $count, $ordered, $status, $pname, $prate, $pcurr) = SQL_FETCHROW($result)) + { + if ($aid == "0") + { + // No admin assigned! + $aid = SPONSOR_NO_ADMIN; + } + else + { + // Load admin's email address for contact + $result_aid = SQL_QUERY_ESC("SELECT email FROM "._MYSQL_PREFIX."_admins WHERE id='%s' LIMIT 1", + array(bigintval($aid)), __FILE__, __LINE__); + list($aid) = SQL_FETCHROW($result_aid); + SQL_FREERESULT($result_aid); + + // Check if admin login is still in db + if (empty($aid)) $aid = ADMIN_NOT_FOUND; + } + + // Transfer data to array + $content = array( + 'aid' => $aid, + 'order' => ($count * $prate)." ".$pcurr, + 'stamp' => MAKE_DATETIME($ordered, "2"), + 'pname' => $pname, + ); + + // Load email template + $content['msg'] = LOAD_EMAIL_TEMPLATE("sponsor_unlock_sponsor_pay", $content, $id); + } + } + else + { + // No payments found + $content['msg'] = SPONSOR_NO_PAYMENTS_FOUND; + } + + // Free memory + SQL_FREERESULT($result); + } + + // Free memory + SQL_FREERESULT($result_main); + + // Unlock sponsor account + $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_sponsor_data SET status='CONFIRMED' +WHERE id='%s' AND status='PENDING' LIMIT 1", + array(bigintval($id)), __FILE__, __LINE__); + + // Update, if applyable, referral count and points + if (($refid > 0) && ($refid != $id)) + { + // Update referral account + $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_sponsor_data +SET points_amount=points_amount+%s, ref_count=ref_count+1 +WHERE id='%s' LIMIT 1", + array($CONFIG['sponsor_ref_points'], bigintval($refid)), __FILE__, __LINE__); + + // Load referral's data + if (SQL_AFFECTED_ROWS($link) == 1) + { + $result = SQL_QUERY_ESC("SELECT id, salut, surname, family, email, +(points_amount - points_used) AS points, receive_warnings, ref_count AS refs +FROM "._MYSQL_PREFIX."_sponsor_data +WHERE id='%s' LIMIT 1", + array(bigintval($refid)), __FILE__, __LINE__); + $REFERRAL = SQL_FETCHARRAY($result); + if ($REFERRAL['receive_warnings'] == "Y") + { + // Translate some data + $REFERRAL['points'] = TRANSLATE_COMMA($REFERRAL['points']); + $REFERRAL['ref_points'] = TRANSLATE_COMMA($CONFIG['sponsor_ref_points']); + $REFERRAL['salut'] = TRANSLATE_SEX($REFERRAL['salut']); + + // Send notification to referral + $REF_MSG = LOAD_EMAIL_TEMPLATE("sponsor_ref_notify", $REFERRAL); + SEND_EMAIL($REFERRAL['email'], SPONSOR_REF_NOTIFY_SUBJ, $REF_MSG); + } + + // Free memory + SQL_FREERESULT($result); + } + } + + // Transfer data to array + $content['salut'] = TRANSLATE_SEX($salut); + $content['surname'] = $sname; + $content['family'] = $fname; + $content['sponsor'] = $id; + $content['points'] = TRANSLATE_COMMA($points); + + // So let's send the email away + $msg = LOAD_EMAIL_TEMPLATE("sponsor_unlocked", $content); + SEND_EMAIL($email, SPONSOR_UNLOCKED_SUBJ, $msg); + } + } + else + { + // Nothing selected + LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_SPONSOR_NONE_SELECTED_UNLOCK); + } + + // Add seperator + OUTPUT_HTML("
"); +} + +// Begin listing of all pending sponsor accounts +$result = SQL_QUERY("SELECT id, salut, surname, family, email, remote_addr, sponsor_created +FROM "._MYSQL_PREFIX."_sponsor_data +WHERE status='PENDING' ORDER BY id", __FILE__, __LINE__); + +if (SQL_NUMROWS($result) > 0) +{ + // Entries found so let's list them! + $OUT = ""; $SW = 2; + while(list($id, $salut, $sname, $fname, $email, $ip, $created) = SQL_FETCHROW($result)) + { + // Transfer data to array + $content = array( + 'sw' => $SW, + 'id' => $id, + 'salut' => TRANSLATE_SEX($salut), + 'surname' => $sname, + 'family' => $fname, + 'email' => "mailto:".$email, + 'remote' => $ip, + 'created' => MAKE_DATETIME($created, "2"), + ); + + // Load row template and switch colors + $OUT .= LOAD_TEMPLATE("admin_unlock_sponsor_row", true, $content); + $SW = 3 - $SW; + } + define('__SPONSOR_ROWS', $OUT); + + // Load template + LOAD_TEMPLATE("admin_unlock_sponsor"); +} + else +{ + // No pending accounts found + LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_SPONSOR_NONE_PENDING); +} + +// Free memory +SQL_FREERESULT($result); + +// +?> diff --git a/inc/modules/guest/action-sponsor.php b/inc/modules/guest/action-sponsor.php new file mode 100644 index 0000000000..3485b82deb --- /dev/null +++ b/inc/modules/guest/action-sponsor.php @@ -0,0 +1,55 @@ + diff --git a/inc/modules/guest/action-sponsors.php b/inc/modules/guest/action-sponsors.php new file mode 100644 index 0000000000..7148cc7cde --- /dev/null +++ b/inc/modules/guest/action-sponsors.php @@ -0,0 +1,56 @@ + diff --git a/inc/modules/guest/what-sponsor_agb.php b/inc/modules/guest/what-sponsor_agb.php new file mode 100644 index 0000000000..54d1dd6700 --- /dev/null +++ b/inc/modules/guest/what-sponsor_agb.php @@ -0,0 +1,43 @@ + diff --git a/inc/modules/guest/what-sponsor_infos.php b/inc/modules/guest/what-sponsor_infos.php new file mode 100644 index 0000000000..01a0f202b4 --- /dev/null +++ b/inc/modules/guest/what-sponsor_infos.php @@ -0,0 +1,134 @@ + 0) +{ + // Load all actions + $OUT_ACT = ""; $SW = 2; + while (list($title, $conv, $name) = SQL_FETCHROW($result_act)) + { + // Prepare data for the row template + $content = array( + 'sw' => $SW, + 'title' => $title, + 'conv' => round($conv), + 'name' => $name, + ); + + // Load row template and switch color + $OUT_ACT .= LOAD_TEMPLATE("guest_sponsor_act_row", true, $content); + $SW = 3 - $SW; + } + + // Check for pay types + $result_pay = SQL_QUERY("SELECT pay_name, pay_rate, pay_min_count, pay_currency FROM "._MYSQL_PREFIX."_sponsor_paytypes ORDER BY pay_name", __FILE__, __LINE__); + if (SQL_NUMROWS($result_pay) > 0) + { + // Load all pay types + $OUT_PAY = ""; $SW = 2; + while (list($name, $rate, $min, $curr) = SQL_FETCHROW($result_pay)) + { + // Prepare data for the row template + $content = array( + 'sw' => $SW, + 'name' => $name, + 'rate' => TRANSLATE_COMMA($rate), + 'min' => $min, + 'curr' => $curr, + 'price' => $min, + ); + + if (!ereg(",", $content['price'])) + { + // Add missing zeros + $content['price'] .= ",".str_repeat("0", $CONFIG['max_comma']); + } + + // Load row template and switch color + $OUT_PAY .= LOAD_TEMPLATE("guest_sponsor_pay_row", true, $content); + $SW = 3 - $SW; + } + } + else + { + // No pay types setuped so far! + $OUT_PAY = " + ".LOAD_TEMPLATE("admin_settings_saved", true, SPONSOR_NO_ACTIONS_ACTIVATED)." +"; + } +} + else +{ + // No actions activated so far! + $OUT_ACT = " + ".LOAD_TEMPLATE("admin_settings_saved", true, SPONSOR_NO_ACTIONS_ACTIVATED)." +"; + $OUT_PAY = " + ".LOAD_TEMPLATE("admin_settings_saved", true, SPONSOR_NO_ACTIONS_ACTIVATED)." +"; +} + +// Transfer rows to constans +define('__SPONSOR_ACTIONS' , $OUT_ACT); +define('__SPONSOR_PAYTYPES', $OUT_PAY); + +// Free memory +if (isset($result_act)) SQL_FREERESULT($result_act); +if (isset($result_pay)) SQL_FREERESULT($result_pay); + +// Load main template +LOAD_TEMPLATE("guest_sponsor_infos"); + +// +?> diff --git a/inc/modules/guest/what-sponsor_login.php b/inc/modules/guest/what-sponsor_login.php new file mode 100644 index 0000000000..77a6db57c7 --- /dev/null +++ b/inc/modules/guest/what-sponsor_login.php @@ -0,0 +1,324 @@ += "0.4.1") + { + // Use new system + SEND_ADMIN_EMAILS_PRO (ADMIN_NEW_SPONSOR, "admin_sponsor_pending", $SPONSOR); + } + else + { + // Send over old system + $msg_admin = LOAD_EMAIL_TEMPLATE("admin_sponsor_pending", $SPONSOR); + SEND_ADMIN_EMAILS (ADMIN_NEW_SPONSOR, $msg_admin); + } + + // Sponsor account set to pending + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_ACCOUNT_IS_PENDING); + } + else + { + // Could not unlock account! + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_ACCOUNT_PENDING_FAILED); + } + } + elseif ($SPONSOR['status'] == "EMAIL") + { + // Changed email adress need to be confirmed + $result_update = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_sponsor_data SET status='CONFIRMED' +WHERE id='%s' AND hash='%s' AND status='EMAIL' LIMIT 1", + array(bigintval($SPONSOR['id']), $HTTP_GET_VARS['hash']), __FILE__, __LINE__); + + // Check on success + if (SQL_AFFECTEDROWS($link) == 1) + { + // Sponsor account is unlocked again + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_ACCOUNT_IS_CONFIRMED_AGAIN); + } + else + { + // Could not unlock account! + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_ACCOUNT_EMAIL_FAILED); + } + } + else + { + /// ??? Other status? + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_ACCOUNT_STATUS_FAILED); + } + } + else + { + // No sponsor found + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_ACCOUNT_404); + } + + // Free memory + SQL_FREERESULT($result); +} + elseif ($MODE == "activate") +{ + // Send activation link again + if (isset($HTTP_POST_VARS['ok'])) + { + // Check submitted data + if (empty($HTTP_POST_VARS['email'])) unset($HTTP_POST_VARS['ok']); + } + + if (isset($HTTP_POST_VARS['ok'])) + { + // Check email + $result = SQL_QUERY_ESC("SELECT id, hash, status, remote_addr, salut, surname, family, sponsor_created +FROM "._MYSQL_PREFIX."_sponsor_data +WHERE email='%s' AND (status='UNCONFIRMED' OR status='EMAIL') LIMIT 1", + array($HTTP_POST_VARS['email']), __FILE__, __LINE__); + if (SQL_NUMROWS($result) == 1) + { + // Unconfirmed sponsor account found so let's load the requested data + $SPONSOR = SQL_FETCHARRAY($result); + + // Translate some data + $SPONSOR['salut'] = TRANSLATE_SEX($SPONSOR['salut']); + $SPONSOR['sponsor_created'] = MAKE_DATETIME($SPONSOR['sponsor_created']); + + // Prepare email and send it to the sponsor + if ($SPONSOR['status'] == "UNCONFIRMED") + { + // Unconfirmed accounts + $msg_sponsor = LOAD_EMAIL_TEMPLATE("sponsor_activate", $SPONSOR); + } + else + { + // Confirmed email address + $msg_sponsor = LOAD_EMAIL_TEMPLATE("sponsor_email", $SPONSOR); + } + SEND_EMAIL($HTTP_POST_VARS['email'], SPONSOR_ACTIVATION_LINK_SUBJ, $msg_sponsor); + + // Output message + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_ACTIVATION_LINK_SENT); + } + else + { + // No account found or not UNCONFIRMED + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_ACTIVATION_LINK_404); + } + + // Free memory + SQL_FREERESULT($result); + } + else + { + // Load form + LOAD_TEMPLATE("guest_sponsor_activate"); + } +} + elseif ($MODE == "lost_pass") +{ + // Send new password + if (isset($HTTP_POST_VARS['ok'])) + { + // Check submitted data + if (empty($HTTP_POST_VARS['email'])) unset($HTTP_POST_VARS['ok']); + } + + if (isset($HTTP_POST_VARS['ok'])) + { + // Check email + $result = SQL_QUERY_ESC("SELECT id, hash, remote_addr, salut, surname, family, sponsor_created +FROM "._MYSQL_PREFIX."_sponsor_data +WHERE email='%s' AND id='%s' AND status='CONFIRMED' LIMIT 1", + array($HTTP_POST_VARS['email'], bigintval($HTTP_POST_VARS['id'])), __FILE__, __LINE__); + if (SQL_NUMROWS($result) == 1) + { + // Unconfirmed sponsor account found so let's load the requested data + $SPONSOR = SQL_FETCHARRAY($result); + + // Translate some data + $SPONSOR['salut'] = TRANSLATE_SEX($SPONSOR['salut']); + $SPONSOR['sponsor_created'] = MAKE_DATETIME($SPONSOR['sponsor_created']); + + // Generate password + $SPONSOR['password'] = GEN_PASS(); + + // Prepare email and send it to the sponsor + $msg_sponsor = LOAD_EMAIL_TEMPLATE("sponsor_lost", $SPONSOR); + SEND_EMAIL($HTTP_POST_VARS['email'], SPONSOR_LOST_PASSWORD_SUBJ, $msg_sponsor); + + // Update password + $result_update = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_sponsor_data SET password='%s' +WHERE id='%s' LIMIT 1", + array(md5($SPONSOR['password']), bigintval($SPONSOR['id'])), __FILE__, __LINE__); + + // Output message + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_LOST_PASSWORD_SENT); + } + else + { + // No account found or not UNCONFIRMED + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_LOST_PASSWORD_404); + } + + // Free memory + SQL_FREERESULT($result); + } + else + { + // Load form + LOAD_TEMPLATE("guest_sponsor_lost"); + } +} + elseif (isset($HTTP_POST_VARS['ok'])) +{ + // Check status and login data ... + $result = SQL_QUERY_ESC("SELECT status FROM "._MYSQL_PREFIX."_sponsor_data +WHERE id='%s' AND password='%s' LIMIT 1", + array(bigintval($HTTP_POST_VARS['sponsorid']), md5($HTTP_POST_VARS['pass'])), __FILE__, __LINE__); + if (SQL_NUMROWS($result) == 1) + { + // Okay, first login data check passed, now has he/she an approved (CONFIRMED) account? + list($status) = SQL_FETCHROW($result); + if ($status == "CONFIRMED") + { + // Calculate cookie lifetime, maybe we have to change this so the admin can setup a + // seperate timeout for these two cookies? + $life = (time() + $CONFIG['online_timeout']); + + // Is confirmed so both is fine and we can continue with login procedure + $login = ((setcookie("sponsorid" , bigintval($HTTP_POST_VARS['sponsorid']), $life, COOKIE_PATH)) && + (setcookie("sponsorpass", md5($HTTP_POST_VARS['pass']) , $life, COOKIE_PATH))); + + if ($login) + { + // Cookie setup successfull so we can forward to sponsor area + LOAD_URL(URL."/modules.php?module=sponsor"); + } + else + { + // Cookie setup failed! + LOAD_TEMPLATE("admin_settings_saved", false, SPONSPOR_COOKIE_SETUP_FAILED); + OUTPUT_HTML("
"); + + // Login formular and other links + LOAD_TEMPLATE("guest_sponsor_login"); + } + } + else + { + // Status is not fine + $eval = "\$content = SPONSOR_LOGIN_FAILED_".strtoupper($status).";"; + eval($eval); + LOAD_TEMPLATE("admin_settings_saved", false, $content); + OUTPUT_HTML("
"); + + // Login formular and other links + LOAD_TEMPLATE("guest_sponsor_login"); + } + } + else + { + // Account missing or wrong pass! We shall not find this out for the "hacker folks"... + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_LOGIN_FAILED_404_WRONG_PASS); + OUTPUT_HTML("
"); + + // Login formular and other links + LOAD_TEMPLATE("guest_sponsor_login"); + } + + // Free memory + SQL_FREERESULT($result); +} + else +{ + // Login formular and other links + LOAD_TEMPLATE("guest_sponsor_login"); +} + +// +?> diff --git a/inc/modules/guest/what-sponsor_reg.php b/inc/modules/guest/what-sponsor_reg.php new file mode 100644 index 0000000000..473e091254 --- /dev/null +++ b/inc/modules/guest/what-sponsor_reg.php @@ -0,0 +1,458 @@ + 0) unset($HTTP_POST_VARS['ok']); +} + +if ((isset($HTTP_POST_VARS['ok'])) && (count($FORM_ERRORS) == 0)) +{ + // Generate message array + $MSGs = array( + 'failed' => SPONSOR_REGISTRATION_FAILED, + 'added' => SPONSOR_REGISTRATION_COMPLETED, + ); + + // Calulate points + $result = SQL_QUERY_ESC("SELECT (pay_rate * pay_min_count) AS points, pay_min_count AS pay, pay_currency AS curr +FROM "._MYSQL_PREFIX."_sponsor_paytypes +WHERE id='%s' LIMIT 1", array($HTTP_POST_VARS['pay_type']), __FILE__, __LINE__); + list($points, $pay, $curr) = SQL_FETCHROW($result); + + // Free memory + SQL_FREERESULT($result); + + // Add points to array + $HTTP_POST_VARS['points_amount'] = $points; + $HTTP_POST_VARS['points_used'] = "0.00000"; + $HTTP_POST_VARS['last_pay'] = $pay; + $HTTP_POST_VARS['last_curr'] = $curr; + + // Register sponsor but never ever update here! + $STATUS = SPONSOR_HANDLE_SPONSOR($HTTP_POST_VARS, true, $MSGs, true); + + // Check the status of the registration process + switch ($STATUS) + { + case "added": // Sponsor successfully added with account status = UNCONFIRMED! + // Check for his ID number + $result = SQL_QUERY_ESC("SELECT id, hash FROM "._MYSQL_PREFIX."_sponsor_data WHERE email='%s' LIMIT 1", + array($HTTP_POST_VARS['email']), __FILE__, __LINE__); + if (SQL_NUMROWS($result) == 1) + { + // ID found so let's load it for the confirmation email + list($id, $hash) = SQL_FETCHROW($result); + + // Prepare data for the email template + define('__ID' , $id); + define('__HASH' , $hash); + define('__EMAIL' , $HTTP_POST_VARS['email']); + define('__SURNAME' , $HTTP_POST_VARS['surname']); + define('__FAMILY' , $HTTP_POST_VARS['family']); + define('__SALUT' , TRANSLATE_SEX($HTTP_POST_VARS['salut'])); + define('__TIMESTAMP', MAKE_DATETIME(time(), 0)); + define('__PASSWORD' , $HTTP_POST_VARS['pass1']); + + // Generate email and send it to the new sponsor + $EMAIL_MSG = LOAD_EMAIL_TEMPLATE("sponsor_confirm", $hash); + SEND_EMAIL($HTTP_POST_VARS['email'], SPONSOR_PLEASE_CONFIRM_SUBJ, $EMAIL_MSG); + + // Send mail to admin + if (GET_EXT_VERSION("admins") >= "0.4.1") + { + // Use new system + SEND_ADMIN_EMAILS_PRO(ADMIN_NEW_SPONSOR, "admin_sponsor_reg", $hash); + } + else + { + // Send over old system + $msg_admin = LOAD_EMAIL_TEMPLATE("admin_sponsor_reg", $hash); + SEND_ADMIN_EMAILS (ADMIN_NEW_SPONSOR, $msg_admin); + } + + // Output message: DONE + $MSG = $MSGs['added']; + } + else + { + // Sponsor account not found??? + $MSG = SPONSOR_EMAIL_404_1.$HTTP_POST_VARS['email'].SPONSOR_EMAIL_404_2; + } + + // Free memory + SQL_FREERESULT($result); + break; + + default: + if (!IS_ADMIN()) + { + // Message for testing admin + $MSG = ADMIN_SPONSOR_UNKOWN_STATUS_1.$STATUS.ADMIN_SPONSOR_UNKOWN_STATUS_2; + } + else + { + // Message for the guest + $MSG = SPONSOR_UNKOWN_STATUS_1.$STATUS.SPONSOR_UNKOWN_STATUS_2; + } + break; + } + + // Display message + LOAD_TEMPLATE("admin_settings_saved", false, $MSG); +} + else +{ + // Check for payment types + $result = SQL_QUERY("SELECT id, pay_name, pay_rate, pay_currency, pay_min_count +FROM "._MYSQL_PREFIX."_sponsor_paytypes +ORDER BY pay_name", __FILE__, __LINE__); + if (SQL_NUMROWS($result) > 0) + { + // Load all types... + $OUT = "\n"; + $SW = 2; + while(list($id, $name, $rate, $curr, $min) = SQL_FETCHROW($result)) + { + $OUT .= " + +\n"; + $SW = 3 - $SW; + } + $OUT .= "
+  ".$name."
+
(".$min." ".$curr." = ".TRANSLATE_COMMA($rate * $min)." ".POINTS.")
+
\n"; + define('__PAYMENT_LIST', $OUT); + SQL_FREERESULT($result); + + // Check for invalid entries + if (count($FORM_ERRORS) > 0) + { + // Some found... :-( + define('__COMPANY' , COMPILE_CODE($HTTP_POST_VARS['company'])); + define('__POSITION' , COMPILE_CODE($HTTP_POST_VARS['position'])); + define('__TAX_IDENT', COMPILE_CODE($HTTP_POST_VARS['tax_ident'])); + define('__SURNAME' , COMPILE_CODE($HTTP_POST_VARS['surname'])); + define('__FAMILY' , COMPILE_CODE($HTTP_POST_VARS['family'])); + define('__STREET1' , COMPILE_CODE($HTTP_POST_VARS['street_nr1'])); + define('__STREET2' , COMPILE_CODE($HTTP_POST_VARS['street_nr2'])); + define('__COUNTRY' , COMPILE_CODE($HTTP_POST_VARS['country'])); + define('__ZIP' , COMPILE_CODE($HTTP_POST_VARS['zip'])); + define('__CITY' , COMPILE_CODE($HTTP_POST_VARS['city'])); + define('__PHONE' , COMPILE_CODE($HTTP_POST_VARS['phone'])); + define('__FAX' , COMPILE_CODE($HTTP_POST_VARS['fax'])); + define('__CELL' , COMPILE_CODE($HTTP_POST_VARS['cell'])); + define('__EMAIL' , COMPILE_CODE($HTTP_POST_VARS['email'])); + define('__URL' , COMPILE_CODE($HTTP_POST_VARS['url'])); + + // Check for salutation selection + switch ($HTTP_POST_VARS['salut']) + { + case "M": // Male + define('__SALUT_M' , " selected"); + define('__SALUT_F' , ""); + define('__SALUT_C' , ""); + break; + + case "F": // Female + define('__SALUT_M' , ""); + define('__SALUT_F' , " selected"); + define('__SALUT_C' , ""); + break; + + case "C": // Company + define('__SALUT_M' , ""); + define('__SALUT_F' , ""); + define('__SALUT_C' , " selected"); + break; + } + + // Check for receive_warnings + switch ($HTTP_POST_VARS['receive_warnings']) + { + case "Y": + define('__REC_Y' , " selected"); + define('__REC_N' , ""); + break; + + case "N": + define('__REC_Y' , ""); + define('__REC_N' , " selected"); + break; + } + + // Errors found + $OUT = "

+ ".SPONSOR_REGISTER_SOMETHING_MISSING.":
+

+
    \n"; + foreach ($FORM_ERRORS as $error) + { + $OUT .= "
  1. ".$error."
  2. \n"; + } + $OUT .= "

\n"; + define('__SPONSOR_FORM_ERRORS', $OUT); + define('__SPONSOR_REFID', $HTTP_POST_VARS['refid']); + } + else + { + // None found, first call + define('__COMPANY' , ""); + define('__POSITION' , ""); + define('__TAX_IDENT', ""); + define('__SALUT_M' , ""); + define('__SALUT_F' , ""); + define('__SALUT_C' , ""); + define('__SURNAME' , ""); + define('__FAMILY' , ""); + define('__STREET1' , ""); + define('__STREET2' , ""); + define('__COUNTRY' , ""); + define('__ZIP' , ""); + define('__CITY' , ""); + define('__PHONE' , ""); + define('__FAX' , ""); + define('__CELL' , ""); + define('__EMAIL' , ""); + define('__URL' , ""); + define('__REC_Y' , ""); + define('__REC_N' , ""); + + // No errors found so far + define('__SPONSOR_FORM_ERRORS', ""); + } + + // Prepare referral things + if (!isset($HTTP_GET_VARS['refid'])) + { + // No referral link + define('__SPONSOR_REFID', "0"); + } + else + { + // Referral ID transmitted, we don't care here if it is right or not + define('__SPONSOR_REFID', $HTTP_GET_VARS['refid']); + } + + // Display registration form + LOAD_TEMPLATE("guest_sponsor_reg"); + } + else + { + // Nothing added so far + LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_PAYMENT_LIST_IS_EMPTY); + } + + // Free memory + SQL_FREERESULT($result); +} + +// +?> diff --git a/inc/modules/member/what-sponsor.php b/inc/modules/member/what-sponsor.php new file mode 100644 index 0000000000..6fecc2371a --- /dev/null +++ b/inc/modules/member/what-sponsor.php @@ -0,0 +1,51 @@ + diff --git a/inc/modules/sponsor.php b/inc/modules/sponsor.php new file mode 100644 index 0000000000..5f54f36596 --- /dev/null +++ b/inc/modules/sponsor.php @@ -0,0 +1,72 @@ + diff --git a/sponsor_confirm.php b/sponsor_confirm.php new file mode 100644 index 0000000000..85cdfdde0b --- /dev/null +++ b/sponsor_confirm.php @@ -0,0 +1,64 @@ + diff --git a/sponsor_ref.php b/sponsor_ref.php new file mode 100644 index 0000000000..101bbb1f5e --- /dev/null +++ b/sponsor_ref.php @@ -0,0 +1,73 @@ + diff --git a/templates/de/emails/admin/admin_sponsor_change_data.tpl b/templates/de/emails/admin/admin_sponsor_change_data.tpl new file mode 100644 index 0000000000..85dd3cfc92 --- /dev/null +++ b/templates/de/emails/admin/admin_sponsor_change_data.tpl @@ -0,0 +1,34 @@ +Hallo lieber Administrator, + +einer unserer Sponsoren hat soeben seine Daten geaendert! + +Hier sind alle neuen (und in Klammern alten) Daten: +------------------------------ +{--SPONSOR_ENTER_COMPANY_TITLE--}: $DATA[company] ($content[company]) +{--SPONSOR_ENTER_COMPANY_POSITION--}: $DATA[position] ($content[position]) +{--SPONSOR_ENTER_TAX_IDENT--}: $DATA[tax_ident] ($content[tax_ident]) +------------------------------ +{--GUEST_SEX--}: $DATA[salut] ($content[salut]) +{--SURNAME_FAMILY--}: $DATA[surname] $DATA[family] ($content[surname] $content[family]) +{--SPONSOR_EMAIL_STREET_NR1--}: $DATA[street_nr1] ($content[street_nr1]) +{--SPONSOR_EMAIL_STREET_NR2--}: $DATA[street_nr2] ($content[street_nr2]) +{--SPONSOR_EMAIL_CNTRY_ZIP_CITY--}: $DATA[country]-$DATA[zip] $DATA[city] ($content[country]-$content[zip] $content[city]) +------------------------------ +{--SPONSOR_ENTER_PHONE--}: $DATA[phone] ($content[phone]) +{--SPONSOR_ENTER_FAX--}: $DATA[fax] ($content[fax]) +{--SPONSOR_ENTER_CELL--}: $DATA[cell] ($content[cell]) +------------------------------ +{--SPONSOR_ENTER_EMAIL--}: $DATA[email] ($content[email]) +{--SPONSOR_ENTER_URL--}: $DATA[url] ($content[url]) +------------------------------ + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Script + +{--URL--}/admin.php diff --git a/templates/de/emails/admin/admin_sponsor_change_email.tpl b/templates/de/emails/admin/admin_sponsor_change_email.tpl new file mode 100644 index 0000000000..747617fe2b --- /dev/null +++ b/templates/de/emails/admin/admin_sponsor_change_email.tpl @@ -0,0 +1,34 @@ +Hallo lieber Administrator, + +einer unserer Sponsoren hat soeben seine EMail-Adresse geaendert! + +Hier sind alle neuen (und in Klammern alten) Daten: +------------------------------ +{--SPONSOR_ENTER_COMPANY_TITLE--}: $DATA[company] ($content[company]) +{--SPONSOR_ENTER_COMPANY_POSITION--}: $DATA[position] ($content[position]) +{--SPONSOR_ENTER_TAX_IDENT--}: $DATA[tax_ident] ($content[tax_ident]) +------------------------------ +{--GUEST_SEX--}: $DATA[salut] ($content[salut]) +{--SURNAME_FAMILY--}: $DATA[surname] $DATA[family] ($content[surname] $content[family]) +{--SPONSOR_EMAIL_STREET_NR1--}: $DATA[street_nr1] ($content[street_nr1]) +{--SPONSOR_EMAIL_STREET_NR2--}: $DATA[street_nr2] ($content[street_nr2]) +{--SPONSOR_EMAIL_CNTRY_ZIP_CITY--}: $DATA[country]-$DATA[zip] $DATA[city] ($content[country]-$content[zip] $content[city]) +------------------------------ +{--SPONSOR_ENTER_PHONE--}: $DATA[phone] ($content[phone]) +{--SPONSOR_ENTER_FAX--}: $DATA[fax] ($content[fax]) +{--SPONSOR_ENTER_CELL--}: $DATA[cell] ($content[cell]) +------------------------------ +{--SPONSOR_ENTER_EMAIL--}: $DATA[email] ($content[email]) +{--SPONSOR_ENTER_URL--}: $DATA[url] ($content[url]) +------------------------------ + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Script + +{--URL--}/admin.php diff --git a/templates/de/emails/admin/admin_sponsor_edit.tpl b/templates/de/emails/admin/admin_sponsor_edit.tpl new file mode 100644 index 0000000000..810d4cb113 --- /dev/null +++ b/templates/de/emails/admin/admin_sponsor_edit.tpl @@ -0,0 +1,36 @@ +Hallo $content[salut] $content[surname] $content[family], + +------------------------------ +Ihre Sponsor-ID lautet: {--__SPONSOR_ID--} +------------------------------ + +Einer unserer Administratoren hat soeben Ihren Sponsorenaccount geaendert. + +Es sind nun folgende Daten gesetzt: +------------------------------ +{--SPONSOR_ENTER_COMPANY_TITLE--}: $content[company] +{--SPONSOR_ENTER_COMPANY_POSITION--}: $content[position] +{--SPONSOR_ENTER_TAX_IDENT--}: $content[tax_ident] +------------------------------ +{--GUEST_SEX--}: $content[salut] +{--SURNAME_FAMILY--}: $content[surname] $content[family] +{--SPONSOR_EMAIL_STREET_NR1--}: $content[street_nr1] +{--SPONSOR_EMAIL_STREET_NR2--}: $content[street_nr2] +{--SPONSOR_EMAIL_CNTRY_ZIP_CITY--}: $content[country]-$content[zip] $content[city] +------------------------------ +{--SPONSOR_ENTER_PHONE--}: $content[phone] +{--SPONSOR_ENTER_FAX--}: $content[fax] +{--SPONSOR_ENTER_CELL--}: $content[cell] +------------------------------ +{--SPONSOR_ENTER_EMAIL--}: $content[email] +{--SPONSOR_ENTER_URL--}: $content[url] +------------------------------ +{--SPONSOR_WARNING_INTERVAL--}: $content[warning_interval] +------------------------------ +{--PASS_1--}: $content[pass1] +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/admin/admin_sponsor_pending.tpl b/templates/de/emails/admin/admin_sponsor_pending.tpl new file mode 100644 index 0000000000..f72e20c873 --- /dev/null +++ b/templates/de/emails/admin/admin_sponsor_pending.tpl @@ -0,0 +1,51 @@ +Hallo lieber Administrator, + +soeben hat ein neuer Sponsor seine EMail-Adresse bestaetigt. Dies wurde von der IP-Nummer $REMOTE_ADDR aus durchgefuehrt. + +Bitte setzen Sie sich mit ihm in Verbindung (die EMail-Adresse finden Sie weiter unten) und teilen Sie ihm Ihre +Kontoverbindung mit! + +Hier sind nochmals alle seine Daten aus der Anmeldung: + +------------------------------ +Ihre Sponsor-ID lautet: $content[id] +------------------------------ +-- Persoenliche Daten: -- +------------------------------ +Anrede: $content[salut] +------------------------------ +Vorname: $content[surname] +------------------------------ +Nachname: $content[family] +------------------------------ +-- Firmendaten: -- +------------------------------ +Firmenname: $content[company] +------------------------------ +Position: $content[position] +------------------------------ +Ust-Ident-Nr.: $content[tax_ident] +------------------------------ +-- Kontaktdaten: -- +------------------------------ +Strasse, Zeile 1: $content[street_nr1] +------------------------------ +Strasse, Zeile 2: $content[street_nr2] +------------------------------ +Ländercode: $content[country] +------------------------------ +Postleitzahl: $content[zip] +------------------------------ +Wohnort: $content[city] +------------------------------ +Telefonnummer: $content[phone] +------------------------------ +Faxnummer: $content[fax] +------------------------------ +Handynummer: $content[cell] +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Script + +{--URL--}/modules.php?module=admin&action=login \ No newline at end of file diff --git a/templates/de/emails/admin/admin_sponsor_reg.tpl b/templates/de/emails/admin/admin_sponsor_reg.tpl new file mode 100644 index 0000000000..1195f3949c --- /dev/null +++ b/templates/de/emails/admin/admin_sponsor_reg.tpl @@ -0,0 +1,30 @@ +Hallo lieber Administrator, + +soeben hat sich ein neuer Sponsor zu unserem {--MT_WORD--} mit der IP-Nummer $REMOTE_ADDR angemeldet. Er wird +als naechstes seine EMail-Adresse bestaetigen. + +Folgende Daten wurden dabei uebermittelt: +------------------------------ +Sponsor-ID: {--__ID--} +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ +Hash-Wert: {--__HASH--} +------------------------------ +Angemeldet am: {--__TIMESTAMP--} +------------------------------ +Anrede: {--__SALUT--} +------------------------------ +Vorname: {--__SURNAME--} +------------------------------ +Nachname: {--__FAMILY--} +------------------------------ + +Die restliche Daten koennen Sie im Admin-Bereich einsehen. + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Script + +{--URL--}/modules.php?module=admin&action=login \ No newline at end of file diff --git a/templates/de/emails/admin/admin_sponsor_settings.tpl b/templates/de/emails/admin/admin_sponsor_settings.tpl new file mode 100644 index 0000000000..eb4e632711 --- /dev/null +++ b/templates/de/emails/admin/admin_sponsor_settings.tpl @@ -0,0 +1,20 @@ +Hallo lieber Administrator, + +einer unserer Sponsoren hat soeben seine Einstellungen geaendert! + +Hier sind alle neuen (und in Klammern alten) Daten: +------------------------------ +{--SPONSOR_RECEIVE_WARNINGS--}: $DATA[receive] ($content[receive]) +{--SPONSOR_WARNING_INTERVAL--}: $DATA[interval] ($content[interval]) +------------------------------ + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Script + +{--URL--}/admin.php diff --git a/templates/de/emails/del_sponsor.tpl b/templates/de/emails/del_sponsor.tpl new file mode 100644 index 0000000000..e53bb9b5d0 --- /dev/null +++ b/templates/de/emails/del_sponsor.tpl @@ -0,0 +1,19 @@ +Hallo {--__SALUT--} {--__SURNAME--} {--__FAMILY--}, + +Einer unserer Administratoren hat soeben Ihren Account geloescht! + +Grund der Loeschung war folgender: +------------------------------------ +$content +------------------------------------ +Ihre Sponsor-ID war: $UID +------------------------------------ + +Wir wuenschen Ihnen weiterhin noch alles Gute und koennen Sie vielleicht irgentwann einmal wieder als Sponsor begruessen. + +Vielen Dank. + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) diff --git a/templates/de/emails/lock_sponsor.tpl b/templates/de/emails/lock_sponsor.tpl new file mode 100644 index 0000000000..34a8158a4c --- /dev/null +++ b/templates/de/emails/lock_sponsor.tpl @@ -0,0 +1,21 @@ +Hallo {--__SALUT--} {--__SURNAME--} {--__FAMILY--}, + +-------------------------- +Ihre Sponsor-ID bei uns: $UID +-------------------------- + +{--__EMAIL_MSG--} + +Grund der Sperrung war: +-------------------------- +$content +-------------------------- + +Sollten Sie damit nicht einverstanden sein, so melden Sie sich bitte bei uns ({--WEBMASTER--}). Wir kommen dann mit Ihnen bald in Kontakt. + +Vielen Dank. + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) diff --git a/templates/de/emails/sponsor/sponsor_activate.tpl b/templates/de/emails/sponsor/sponsor_activate.tpl new file mode 100644 index 0000000000..d36fc796fb --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_activate.tpl @@ -0,0 +1,31 @@ +Hallo $content[salut] $content[surname] $content[family], + +Sie (oder ein anderer mit der IP-Nummer $REMOTE_ADDR) haben soeben Ihren Bestaetigungslink erneut angefordert. + +Hier ist Ihr Link: +------------------------------ +{--URL--}/sponsor_confirm.php?hash=$content[hash] +------------------------------ +Ihre Sponsor-ID lautet: $content[id] +------------------------------ + +Sollten Sie diesen nicht anklicken koennen, kopieren Sie ihn bitte in die Adresszeile Ihres Browsers. + +Sollten Sie sich nicht angemeldet haben, bitten wir diese Unangenehmlichkeit zu entschuligen. Leiten Sie dann +einfach diese EMail komplett weiter an {--WEBMASTER--}. Wir werden dann diese Anmeldung volstaendig aus unserer +Datenbank loeschen. + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ +Angemeldet am: $content[sponsor_created] +------------------------------ +IP-Nummer bei Anmeldung $content[remote_addr] +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor/sponsor_add_points.tpl b/templates/de/emails/sponsor/sponsor_add_points.tpl new file mode 100644 index 0000000000..393b262921 --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_add_points.tpl @@ -0,0 +1,13 @@ +Hallo {--__SALUT--} {--__SURNAME--} {--__FAMILY--}, + +Einer unserer Administratoren hat Ihnen soeben {--__POINTS--} {--POINTS--} Ihrem Sponsoren-Account mit der ID {--__ID--} gutgeschrieben! + +Grund dazu war folgender: +------------------------------ +$content +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor/sponsor_change_data.tpl b/templates/de/emails/sponsor/sponsor_change_data.tpl new file mode 100644 index 0000000000..5d81247da2 --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_change_data.tpl @@ -0,0 +1,36 @@ +Hallo $DATA[salut] $DATA[surname] $DATA[family]. + +Sie haben heute Ihre Daten geaendert. + +Hier sind alle neuen (und in Klammern alten) Daten: +------------------------------ +{--SPONSOR_ENTER_COMPANY_TITLE--}: $DATA[company] ($content[company]) +{--SPONSOR_ENTER_COMPANY_POSITION--}: $DATA[position] ($content[position]) +{--SPONSOR_ENTER_TAX_IDENT--}: $DATA[tax_ident] ($content[tax_ident]) +------------------------------ +{--GUEST_SEX--}: $DATA[salut] ($content[salut]) +{--SURNAME_FAMILY--}: $DATA[surname] $DATA[family] ($content[surname] $content[family]) +{--SPONSOR_EMAIL_STREET_NR1--}: $DATA[street_nr1] ($content[street_nr1]) +{--SPONSOR_EMAIL_STREET_NR2--}: $DATA[street_nr2] ($content[street_nr2]) +{--SPONSOR_EMAIL_CNTRY_ZIP_CITY--}: $DATA[country]-$DATA[zip] $DATA[city] ($content[country]-$content[zip] $content[city]) +------------------------------ +{--SPONSOR_ENTER_PHONE--}: $DATA[phone] ($content[phone]) +{--SPONSOR_ENTER_FAX--}: $DATA[fax] ($content[fax]) +{--SPONSOR_ENTER_CELL--}: $DATA[cell] ($content[cell]) +------------------------------ +{--SPONSOR_ENTER_EMAIL--}: $DATA[email] ($content[email]) +{--SPONSOR_ENTER_URL--}: $DATA[url] ($content[url]) +------------------------------ + +Das Passwort wurde Ihnen aus Sicherheitsgruenden nicht mitgesendet. + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) diff --git a/templates/de/emails/sponsor/sponsor_change_email.tpl b/templates/de/emails/sponsor/sponsor_change_email.tpl new file mode 100644 index 0000000000..ed9302eb98 --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_change_email.tpl @@ -0,0 +1,19 @@ +Hallo $DATA[salut] $DATA[surname] $DATA[family]. + +Sie haben heute Ihre Email-Adresse geaendert. Ihr Account wurde somit temporaer gesperrt. Sie koennen es nun mit +dem folgenden Link wieder freigeben: + +{--URL--}/sponsor_confirm.php?hash=$content[hash] + +Sollten Sie diesen nicht anklicken koennen, kopieren Sie ihn bitte in die Adresszeile Ihres Browsers. + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) diff --git a/templates/de/emails/sponsor/sponsor_confirm.tpl b/templates/de/emails/sponsor/sponsor_confirm.tpl new file mode 100644 index 0000000000..a8d089ed59 --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_confirm.tpl @@ -0,0 +1,35 @@ +Hallo {--__SALUT--} {--__SURNAME--} {--__FAMILY--}, + +Sie (oder ein anderer mit der IP-Nummer $REMOTE_ADDR) haben sich soeben als Sponsor zu unserem {--MT_WORD--} +angemeldet. Sie haben somit den ersten Schritt zu uns getan wofuer wir uns sehr bedanken. + +Als naechstes muessen Sie Ihre EMail-Adresse bestaetigen. Dieser Schritt ist erforderlich, um sicher zu gehen, +dass auch kein anderer Sie angemeldet hat. + +Hier ist Ihr Link: +------------------------------ +{--URL--}/sponsor_confirm.php?hash={--__HASH--} +------------------------------ +Ihre Sponsor-ID lautet: {--__ID--} +------------------------------ +Passwort zum Login: {--__PASSWORD--} +------------------------------ + +Sollten Sie diesen nicht anklicken koennen, kopieren Sie ihn bitte in die Adresszeile Ihres Browsers. + +Sollten Sie sich nicht angemeldet haben, bitten wir diese Unangenehmlichkeit zu entschuligen. Leiten Sie dann +einfach diese EMail komplett weiter an {--WEBMASTER--}. Wir werden dann diese Anmeldung volstaendig aus unserer +Datenbank loeschen. + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ +Angemeldet am: {--__TIMESTAMP--} +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor/sponsor_email.tpl b/templates/de/emails/sponsor/sponsor_email.tpl new file mode 100644 index 0000000000..40fcb6ee76 --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_email.tpl @@ -0,0 +1,24 @@ +Hallo $content[salut] $content[surname] $content[family], + +Sie hatten bei uns Ihre EMail-Adresse geaendert und den Bestaetigungslink erneut angefordert. Hier sind nun +alle noetigen Daten dazu. + +Hier ist Ihr Link: +------------------------------ +{--URL--}/sponsor_confirm.php?hash=$content[hash] +------------------------------ +Ihre Sponsor-ID lautet: $content[id] +------------------------------ + +Sollten Sie diesen nicht anklicken koennen, kopieren Sie ihn bitte in die Adresszeile Ihres Browsers. + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor/sponsor_lost.tpl b/templates/de/emails/sponsor/sponsor_lost.tpl new file mode 100644 index 0000000000..2cf84faa5c --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_lost.tpl @@ -0,0 +1,28 @@ +Hallo $content[salut] $content[surname] $content[family], + +Sie (oder ein anderer mit der IP-Nummer $REMOTE_ADDR) haben soeben ein neues Passwort angefordert. + +Hier sind Ihre neuen Zugangsdaten: +------------------------------ +Ihre Sponsor-ID lautet: $content[id] +------------------------------ +Neues Passwort: $content[password] +------------------------------ + +Sollten Sie dies nicht angefordert haben, bitten wir diese Unangenehmlichkeit zu entschuligen. Leiten Sie dann +einfach diese EMail komplett and uns weiter. Wir sind unter der EMail-Adresse {--WEBMASTER--} zu erreichen. + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ +Angemeldet am: $content[sponsor_created] +------------------------------ +IP-Nummer bei Anmeldung $content[remote_addr] +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor/sponsor_pending.tpl b/templates/de/emails/sponsor/sponsor_pending.tpl new file mode 100644 index 0000000000..bdfab3c7a3 --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_pending.tpl @@ -0,0 +1,57 @@ +Hallo $content[salut] $content[surname] $content[family], + +Sie haben soeben Ihre EMail-Adresse bestaetigt. Dies wurde von der IP-Nummer $REMOTE_ADDR aus durchgefuehrt. + +Wir werden uns bald mit Ihnen in Verbindung setzen und Ihnen unsere Kontodaten mitteilen. Zu unserer +Sicherheit haben wir diese hier nicht aufgelistet. Bitte notieren Sie sich vorab folgende Daten: + +------------------------------ +Verwendungszweck: SPONSOR: $content[id],$content[points] +------------------------------ +Zu ueberweisender Betrag: $content[pay] $content[curr] +------------------------------ + +Hier sind nochmals alle Ihre Daten aus der Anmeldung: + +------------------------------ +Ihre Sponsor-ID lautet: $content[id] +------------------------------ +-- Persoenliche Daten: -- +------------------------------ +Anrede: $content[salut] +------------------------------ +Vorname: $content[surname] +------------------------------ +Nachname: $content[family] +------------------------------ +-- Firmendaten: -- +------------------------------ +Firmenname: $content[company] +------------------------------ +Position: $content[position] +------------------------------ +Ust-Ident-Nr.: $content[tax_ident] +------------------------------ +-- Kontaktdaten: -- +------------------------------ +Strasse, Zeile 1: $content[street_nr1] +------------------------------ +Strasse, Zeile 2: $content[street_nr2] +------------------------------ +Ländercode: $content[country] +------------------------------ +Postleitzahl: $content[zip] +------------------------------ +Wohnort: $content[city] +------------------------------ +Telefonnummer: $content[phone] +------------------------------ +Faxnummer: $content[fax] +------------------------------ +Handynummer: $content[cell] +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor/sponsor_ref_notify.tpl b/templates/de/emails/sponsor/sponsor_ref_notify.tpl new file mode 100644 index 0000000000..898149a819 --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_ref_notify.tpl @@ -0,0 +1,16 @@ +Hallo $content[salut] $content[surname] $content[family], + +------------------------------ +Ihre Sponsor-ID lautet: $content[id] +------------------------------ + +Soeben haben uns einen weiteren Sponsoren gebracht! Dafuer haben wir Ihrem Sponsor-Account einmalig +$content[ref_points] {--POINTS--} gutgeschrieben. + +Sie haben jetzt ein Guthaben von $content[points] {--POINTS--} und uns schon $content[refs] neue Sponsoren +gebracht. Vielen Dank fuer Ihre Mitarbeit! + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor/sponsor_settings.tpl b/templates/de/emails/sponsor/sponsor_settings.tpl new file mode 100644 index 0000000000..0943c7e493 --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_settings.tpl @@ -0,0 +1,22 @@ +Hallo $content[salut] $content[surname] $content[family]. + +Sie haben heute Ihre Einstellungen geaendert. + +Hier sind alle neuen (und in Klammern alten) Daten: +------------------------------ +{--GUEST_SPONSOR_RECEIVE_WARNINGS--}: $DATA[receive] ($content[receive]) +{--SPONSOR_WARNING_INTERVAL--}: $DATA[interval] ($content[interval]) +------------------------------ + +Das Passwort wurde Ihnen aus Sicherheitsgruenden nicht mitgesendet. + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) diff --git a/templates/de/emails/sponsor/sponsor_sub_points.tpl b/templates/de/emails/sponsor/sponsor_sub_points.tpl new file mode 100644 index 0000000000..0bdb3caf6e --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_sub_points.tpl @@ -0,0 +1,13 @@ +Hallo {--__SALUT--} {--__SURNAME--} {--__FAMILY--}, + +Einer unserer Administratoren hat Ihnen soeben {--__POINTS--} {--POINTS--} von Ihrem Sponsoren-Account mit der ID {--__ID--} abgezogen! + +Grund dazu war folgender: +------------------------------ +$content +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor/sponsor_unlock.tpl b/templates/de/emails/sponsor/sponsor_unlock.tpl new file mode 100644 index 0000000000..d36fc796fb --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_unlock.tpl @@ -0,0 +1,31 @@ +Hallo $content[salut] $content[surname] $content[family], + +Sie (oder ein anderer mit der IP-Nummer $REMOTE_ADDR) haben soeben Ihren Bestaetigungslink erneut angefordert. + +Hier ist Ihr Link: +------------------------------ +{--URL--}/sponsor_confirm.php?hash=$content[hash] +------------------------------ +Ihre Sponsor-ID lautet: $content[id] +------------------------------ + +Sollten Sie diesen nicht anklicken koennen, kopieren Sie ihn bitte in die Adresszeile Ihres Browsers. + +Sollten Sie sich nicht angemeldet haben, bitten wir diese Unangenehmlichkeit zu entschuligen. Leiten Sie dann +einfach diese EMail komplett weiter an {--WEBMASTER--}. Wir werden dann diese Anmeldung volstaendig aus unserer +Datenbank loeschen. + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ +Angemeldet am: $content[sponsor_created] +------------------------------ +IP-Nummer bei Anmeldung $content[remote_addr] +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor/sponsor_unlocked.tpl b/templates/de/emails/sponsor/sponsor_unlocked.tpl new file mode 100644 index 0000000000..4f7768e482 --- /dev/null +++ b/templates/de/emails/sponsor/sponsor_unlocked.tpl @@ -0,0 +1,19 @@ +Hallo $content[salut] $content[surname] $content[family], + +------------------------------ +Ihre Sponsor-ID lautet: $content[sponsor] +------------------------------ + +Wir haben soeben Ihr Sponsoren-Account freigegeben! Sie koennen sich nun mit der Sponsor-ID und Ihrem Passwort +(welches hier nicht genannt werden kann) im Sponsorenbereich einloggen und Ihre $content[points] {--POINTS--} +zum Buchen von Aktionen benutzen. + +Hinweis: +------------------------------ +$content[msg] +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor_add_points.tpl b/templates/de/emails/sponsor_add_points.tpl new file mode 100644 index 0000000000..393b262921 --- /dev/null +++ b/templates/de/emails/sponsor_add_points.tpl @@ -0,0 +1,13 @@ +Hallo {--__SALUT--} {--__SURNAME--} {--__FAMILY--}, + +Einer unserer Administratoren hat Ihnen soeben {--__POINTS--} {--POINTS--} Ihrem Sponsoren-Account mit der ID {--__ID--} gutgeschrieben! + +Grund dazu war folgender: +------------------------------ +$content +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor_confirm.tpl b/templates/de/emails/sponsor_confirm.tpl new file mode 100644 index 0000000000..a8d089ed59 --- /dev/null +++ b/templates/de/emails/sponsor_confirm.tpl @@ -0,0 +1,35 @@ +Hallo {--__SALUT--} {--__SURNAME--} {--__FAMILY--}, + +Sie (oder ein anderer mit der IP-Nummer $REMOTE_ADDR) haben sich soeben als Sponsor zu unserem {--MT_WORD--} +angemeldet. Sie haben somit den ersten Schritt zu uns getan wofuer wir uns sehr bedanken. + +Als naechstes muessen Sie Ihre EMail-Adresse bestaetigen. Dieser Schritt ist erforderlich, um sicher zu gehen, +dass auch kein anderer Sie angemeldet hat. + +Hier ist Ihr Link: +------------------------------ +{--URL--}/sponsor_confirm.php?hash={--__HASH--} +------------------------------ +Ihre Sponsor-ID lautet: {--__ID--} +------------------------------ +Passwort zum Login: {--__PASSWORD--} +------------------------------ + +Sollten Sie diesen nicht anklicken koennen, kopieren Sie ihn bitte in die Adresszeile Ihres Browsers. + +Sollten Sie sich nicht angemeldet haben, bitten wir diese Unangenehmlichkeit zu entschuligen. Leiten Sie dann +einfach diese EMail komplett weiter an {--WEBMASTER--}. Wir werden dann diese Anmeldung volstaendig aus unserer +Datenbank loeschen. + +------------------------------ +Verwendeter Browser: $HTTP_USER_AGENT +------------------------------ +IP-Nummer: $REMOTE_ADDR +------------------------------ +Angemeldet am: {--__TIMESTAMP--} +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor_pending.tpl b/templates/de/emails/sponsor_pending.tpl new file mode 100644 index 0000000000..bdfab3c7a3 --- /dev/null +++ b/templates/de/emails/sponsor_pending.tpl @@ -0,0 +1,57 @@ +Hallo $content[salut] $content[surname] $content[family], + +Sie haben soeben Ihre EMail-Adresse bestaetigt. Dies wurde von der IP-Nummer $REMOTE_ADDR aus durchgefuehrt. + +Wir werden uns bald mit Ihnen in Verbindung setzen und Ihnen unsere Kontodaten mitteilen. Zu unserer +Sicherheit haben wir diese hier nicht aufgelistet. Bitte notieren Sie sich vorab folgende Daten: + +------------------------------ +Verwendungszweck: SPONSOR: $content[id],$content[points] +------------------------------ +Zu ueberweisender Betrag: $content[pay] $content[curr] +------------------------------ + +Hier sind nochmals alle Ihre Daten aus der Anmeldung: + +------------------------------ +Ihre Sponsor-ID lautet: $content[id] +------------------------------ +-- Persoenliche Daten: -- +------------------------------ +Anrede: $content[salut] +------------------------------ +Vorname: $content[surname] +------------------------------ +Nachname: $content[family] +------------------------------ +-- Firmendaten: -- +------------------------------ +Firmenname: $content[company] +------------------------------ +Position: $content[position] +------------------------------ +Ust-Ident-Nr.: $content[tax_ident] +------------------------------ +-- Kontaktdaten: -- +------------------------------ +Strasse, Zeile 1: $content[street_nr1] +------------------------------ +Strasse, Zeile 2: $content[street_nr2] +------------------------------ +Ländercode: $content[country] +------------------------------ +Postleitzahl: $content[zip] +------------------------------ +Wohnort: $content[city] +------------------------------ +Telefonnummer: $content[phone] +------------------------------ +Faxnummer: $content[fax] +------------------------------ +Handynummer: $content[cell] +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor_sub_points.tpl b/templates/de/emails/sponsor_sub_points.tpl new file mode 100644 index 0000000000..0bdb3caf6e --- /dev/null +++ b/templates/de/emails/sponsor_sub_points.tpl @@ -0,0 +1,13 @@ +Hallo {--__SALUT--} {--__SURNAME--} {--__FAMILY--}, + +Einer unserer Administratoren hat Ihnen soeben {--__POINTS--} {--POINTS--} von Ihrem Sponsoren-Account mit der ID {--__ID--} abgezogen! + +Grund dazu war folgender: +------------------------------ +$content +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/emails/sponsor_unlocked.tpl b/templates/de/emails/sponsor_unlocked.tpl new file mode 100644 index 0000000000..4f7768e482 --- /dev/null +++ b/templates/de/emails/sponsor_unlocked.tpl @@ -0,0 +1,19 @@ +Hallo $content[salut] $content[surname] $content[family], + +------------------------------ +Ihre Sponsor-ID lautet: $content[sponsor] +------------------------------ + +Wir haben soeben Ihr Sponsoren-Account freigegeben! Sie koennen sich nun mit der Sponsor-ID und Ihrem Passwort +(welches hier nicht genannt werden kann) im Sponsorenbereich einloggen und Ihre $content[points] {--POINTS--} +zum Buchen von Aktionen benutzen. + +Hinweis: +------------------------------ +$content[msg] +------------------------------ + +Mit freundlichem Gruss, + Ihr {--MAIN_TITLE--} Team + +{--URL--} ({--WEBMASTER--}) \ No newline at end of file diff --git a/templates/de/html/admin/admin_add_sponsor.tpl b/templates/de/html/admin/admin_add_sponsor.tpl new file mode 100644 index 0000000000..3c3c03985d --- /dev/null +++ b/templates/de/html/admin/admin_add_sponsor.tpl @@ -0,0 +1,292 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + {--ADMIN_SPONSOR_ENTER_COMPANY_DATA--} +  
  + {--ADMIN_SPONSOR_COMPANY_NOTE--} +  
 
  + {--SPONSOR_ENTER_COMPANY_TITLE--}:  +   + +  
 
  + {--SPONSOR_ENTER_COMPANY_POSITION--}:  +   + +  
 
  + {--SPONSOR_ENTER_TAX_IDENT--}:  +   + +  
 
  + {--ADMIN_SPONSOR_ENTER_PERSONA_DATA--} +  
 
  + {--GUEST_SEX--}:  +   + +  
 
  + {--GUEST_SURNAME--}:  +   + +  
 
  + {--GUEST_FAMILY--}:  +   + +  
 
  + {--ADMIN_SPONSOR_ENTER_CONTACT_DATA--} +  
 
  + {--SPONSOR_ENTER_STREET_NR1--}:  +   + +  
 
  + {--SPONSOR_ENTER_STREET_NR2--}:  +   + +  
 
  + {--SPONSOR_ENTER_CNTRY_ZIP_CITY--}:  +   + - + +  
 
  + {--SPONSOR_ENTER_PHONE--}:  +   + +  
 
  + {--SPONSOR_ENTER_FAX--}:  +   + +  
 
  + {--SPONSOR_ENTER_CELL--}:  +   + +  
 
  + {--SPONSOR_ENTER_EMAIL--}:  +   + +  
 
  + {--SPONSOR_ENTER_URL--}:  +   + +  
 
  + {--ADMIN_SPONSOR_ENTER_PASSWORDS--} +  
 
  + {--SPONSOR_ENTER_PASSWORDS--}:  +   + + +  
 
  + {--ADMIN_SPONSOR_WARNINGS_POINTS--} +  
 
  + {--SPONSOR_RECEIVE_WARNINGS--}:  +   + +  
 
  + {--SPONSOR_WARNING_INTERVAL--}:  +   + +  
 
  + {--SPONSOR_ENTER_POINTS--}:  +   + +  
 
+
diff --git a/templates/de/html/admin/admin_add_sponsor_already.tpl b/templates/de/html/admin/admin_add_sponsor_already.tpl new file mode 100644 index 0000000000..e2ed865243 --- /dev/null +++ b/templates/de/html/admin/admin_add_sponsor_already.tpl @@ -0,0 +1,28 @@ +
+ + + + + + + + + + + + + + + + + + +
  + {--ADMIN_SPONSOR_REALLY_ADD_SPONSOR--} +  
 
  + {--ADMIN_SPONSOR_DO_YOU_REALLY_WANT_ADDING--} +  
 
+
diff --git a/templates/de/html/admin/admin_add_sponsor_paytype.tpl b/templates/de/html/admin/admin_add_sponsor_paytype.tpl new file mode 100644 index 0000000000..32682e8b79 --- /dev/null +++ b/templates/de/html/admin/admin_add_sponsor_paytype.tpl @@ -0,0 +1,50 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {--ADMIN_ADD_SPONSOR_PAYTYPE_TITLE--}: +
 
{--SPONSOR_PAYTYPE_NAME--}:
{--SPONSOR_PAYTYPE_NAME_HINT--}
 
 
{--SPONSOR_PAYTYPE_RATE--}:
{--SPONSOR_PAYTYPE_RATE_HINT--}
 
 
{--SPONSOR_PAYTYPE_MIN_COUNT--}: 
 
{--SPONSOR_PAYTYPE_CURRENCY--}: 
 
+
+
+ + {--SPONSOR_ADD_PAYTYPES_NOTES--}:
+
+ {--SPONSOR_PAYTYPE_NAME--}: {--SPONSOR_PAYTYPE_NAME_NOTE--}
+ {--SPONSOR_PAYTYPE_RATE--}: {--SPONSOR_PAYTYPE_RATE_NOTE--}
+ {--SPONSOR_PAYTYPE_MIN_COUNT--}: {--SPONSOR_PAYTYPE_MIN_COUNT_NOTE--}
+ {--SPONSOR_PAYTYPE_CURRENCY--}: {--SPONSOR_PAYTYPE_CURRENCY_NOTE--}
+
+
diff --git a/templates/de/html/admin/admin_config_sponsor.tpl b/templates/de/html/admin/admin_config_sponsor.tpl new file mode 100644 index 0000000000..d272dbe99a --- /dev/null +++ b/templates/de/html/admin/admin_config_sponsor.tpl @@ -0,0 +1,34 @@ +
+ + + + + + + + + + + + + + + + + + +
+ {--ADMIN_CONFIG_SPONSOR_TITLE--} +
 
+ {--ADMIN_SPONSOR_MIN_POINTS--}: + + +
 
+ {--ADMIN_SPONSOR_REF_POINTS--}: + + +
 
+
\ No newline at end of file diff --git a/templates/de/html/admin/admin_del_sponsor.tpl b/templates/de/html/admin/admin_del_sponsor.tpl new file mode 100644 index 0000000000..a9b9c8abfd --- /dev/null +++ b/templates/de/html/admin/admin_del_sponsor.tpl @@ -0,0 +1,30 @@ +
+ + + + + + + + + + + + + + + + + + + + +
+ {--ADMIN_HEADER_DEL_SPONSOR_1--}{--__UID--}{--ADMIN_HEADER_DEL_SPONSOR_2--} +
 
+ {--ADMIN_TEXT_DEL_SPONSOR_1--}{--__UID--}{--ADMIN_TEXT_DEL_SPONSOR_2--} +
 
{--__SNAME--} {--__FNAME--}({--__EMAIL--})
 
 
+
diff --git a/templates/de/html/admin/admin_edit_sponsor_add_points.tpl b/templates/de/html/admin/admin_edit_sponsor_add_points.tpl new file mode 100644 index 0000000000..9eeedbdd95 --- /dev/null +++ b/templates/de/html/admin/admin_edit_sponsor_add_points.tpl @@ -0,0 +1,31 @@ +
+ + + + + + + + + + + + + + + + + + + + + + +
 
+ {--ADMIN_ADD_POINTS_TO_SPONSOR--}:
+ {--__SPONSOR_VALUE--} +
 
 
{--ADMIN_SUM_SPONSOR_POINTS--}: 
 
{--ENTER_ADD_REASON--}: 
 
+
diff --git a/templates/de/html/admin/admin_edit_sponsor_edit.tpl b/templates/de/html/admin/admin_edit_sponsor_edit.tpl new file mode 100644 index 0000000000..4aeb1a6f15 --- /dev/null +++ b/templates/de/html/admin/admin_edit_sponsor_edit.tpl @@ -0,0 +1,247 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {--ADMIN_SPONSOR_ENTER_COMPANY_DATA--}: ({--__SPONSOR_ID--}) +
  + {--ADMIN_SPONSOR_COMPANY_NOTE--} +  
 
  + {--SPONSOR_ENTER_COMPANY_TITLE--}:  +   + +  
  + {--SPONSOR_ENTER_COMPANY_POSITION--}:  +   + +  
  + {--SPONSOR_ENTER_TAX_IDENT--}:  +   + +  
 
  + {--ADMIN_SPONSOR_ENTER_PERSONA_DATA--} +  
 
  + {--GUEST_SEX--}: +   + +  
 
  + {--SURNAME_FAMILY--}: +   + + +  
 
  + {--SPONSOR_ENTER_STREET_NR1--}: +   + +  
  + {--SPONSOR_ENTER_STREET_NR2--}: +   + +  
 
  + {--SPONSOR_ENTER_CNTRY_ZIP_CITY--}: +   + - + +  
 
  + {--SPONSOR_ENTER_PHONE--}:  +   + +  
  + {--SPONSOR_ENTER_FAX--}:  +   + +  
  + {--SPONSOR_ENTER_CELL--}:  +   + +  
 
  + {--ADDY--}: +   + +  
  + {--SPONSOR_ENTER_URL--}:  +   + +  
 
+ {--ADMIN_SPONSOR_ENTER_PASSWORDS--} +
 
  + {--SPONSOR_ENTER_PASSWORDS--}:  +   + + +  
  + {--ADMIN_EDIT_USER_PASSWORD_NOTE--} +  
 
  + {--ADMIN_SPONSOR_WARNINGS_POINTS--} +  
 
  + {--SPONSOR_RECEIVE_WARNINGS--}:  +   + +  
  + {--SPONSOR_WARNING_INTERVAL--}:  +   + {--__INTERVAL--} +  
 
+
diff --git a/templates/de/html/admin/admin_edit_sponsor_sub_points.tpl b/templates/de/html/admin/admin_edit_sponsor_sub_points.tpl new file mode 100644 index 0000000000..721de01538 --- /dev/null +++ b/templates/de/html/admin/admin_edit_sponsor_sub_points.tpl @@ -0,0 +1,31 @@ +
+ + + + + + + + + + + + + + + + + + + + + + +
 
+ {--ADMIN_SUB_POINTS_FROM_SPONSOR--}:
+ {--__SPONSOR_VALUE--} +
 
 
{--ADMIN_SUM_SPONSOR_POINTS--}: 
 
{--ENTER_SUB_REASON--}: 
 
+
diff --git a/templates/de/html/admin/admin_list_sponsor.tpl b/templates/de/html/admin/admin_list_sponsor.tpl new file mode 100644 index 0000000000..de5729a10f --- /dev/null +++ b/templates/de/html/admin/admin_list_sponsor.tpl @@ -0,0 +1,15 @@ +
+ + + + +{--__SPONSOR_ROWS--} + + + +
+ {--ADMIN_LIST_SPONSOR_ACCOUNTS--} +
+
\ No newline at end of file diff --git a/templates/de/html/admin/admin_list_sponsor_details.tpl b/templates/de/html/admin/admin_list_sponsor_details.tpl new file mode 100644 index 0000000000..be7b96c6de --- /dev/null +++ b/templates/de/html/admin/admin_list_sponsor_details.tpl @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {--ADMIN_SPONSOR_DETAILS--}: +
{--SPONSOR_ID--}:  {--__SPONSOR_ID--} [ {--__SPONSOR_STATUS--} ]
+ {--ADMIN_SPONSOR_COMPANY_DATA--}: +
{--SPONSOR_ENTER_COMPANY_TITLE--}:  {--__SPONSOR_COMPANY--}
{--SPONSOR_ENTER_COMPANY_POSITION--}:  {--__SPONSOR_POSITION--}
{--SPONSOR_ENTER_TAX_IDENT--}:  {--__SPONSOR_TAX_IDENT--}
+ {--ADMIN_SPONSOR_PERSONA_DATA--}: +
{--SURNAME_FAMILY--}:  {--__SPONSOR_SALUT--} {--__SPONSOR_SURNAME--} {--__SPONSOR_FAMILY--}
{--SPONSOR_ENTER_STREET_NR1--}:  {--__SPONSOR_STREET1--}
{--SPONSOR_ENTER_STREET_NR2--}:  {--__SPONSOR_STREET2--}
{--SPONSOR_ENTER_CNTRY_ZIP_CITY--}:  {--__SPONSOR_COUNTRY--}-{--__SPONSOR_ZIP--} {--__SPONSOR_CITY--}
{--SPONSOR_ENTER_PHONE--}:  {--__SPONSOR_PHONE--}
{--SPONSOR_ENTER_FAX--}:  {--__SPONSOR_FAX--}
{--SPONSOR_ENTER_CELL--}:  {--__SPONSOR_CELL--}
{--SPONSOR_ENTER_EMAIL--}:  {--__SPONSOR_EMAIL_VALUE--} 
{--SPONSOR_ENTER_URL--}:  [ {--EMAIL_URL_TEST--} ] 
+ {--ADMIN_SPONSOR_WARNINGS_POINTS--}: +
{--SPONSOR_RECEIVE_WARNINGS_SHORT--}: {--__SPONSOR_REC_WARNING--}
{--SPONSOR_WARNING_INTERVAL_SHORT--}: {--__SPONSOR_INTERVAL--}
{--SPONSOR_POINTS_AMOUNT--}:  [ {--__SPONSOR_AMOUNT--} ]
{--SPONSOR_POINTS_USED--}:  [ {--__SPONSOR_USED--} ]
+ {--ADMIN_SPONSOR_OTHER_DETAILS--}: +
{--SPONSOR_CREATED--}: {--__SPONSOR_CREATED--}
{--ADMIN_LAST_ONLINE--}: {--__SPONSOR_LAST_ONLINE--}
{--ADMIN_LAST_CHANGE--}: {--__SPONSOR_LAST_CHANGE--}
{--REMOTE_IP--}: {--__SPONSOR_REMOTE_ADR--}
{--SPONSOR_REFID--}: {--__SPONSOR_REFID--}
{--SPONSOR_REFERRALS--}: {--__SPONSOR_REFS--} ]
diff --git a/templates/de/html/admin/admin_list_sponsor_pay.tpl b/templates/de/html/admin/admin_list_sponsor_pay.tpl new file mode 100644 index 0000000000..4555d0aa51 --- /dev/null +++ b/templates/de/html/admin/admin_list_sponsor_pay.tpl @@ -0,0 +1,24 @@ +
+ + + + + + + + + + + +{--__LIST_ROWS--} + + + +
+ {--SPONSOR_LIST_PAYMENT_TYPES_TITLE--} +
{--ID_SELECT--}{--SPONSOR_PAYTYPE_NAME--}:{--SPONSOR_PAYTYPE_RATE--}:{--SPONSOR_PAYTYPE_MIN_COUNT2--}:{--SPONSOR_PAYTYPE_CURRENCY--}:
+
\ No newline at end of file diff --git a/templates/de/html/admin/admin_list_sponsor_pay_404.tpl b/templates/de/html/admin/admin_list_sponsor_pay_404.tpl new file mode 100644 index 0000000000..801c7874b7 --- /dev/null +++ b/templates/de/html/admin/admin_list_sponsor_pay_404.tpl @@ -0,0 +1,5 @@ + + + {--ENTRY_404_1--}$content{--ENTRY_404_2--} + + \ No newline at end of file diff --git a/templates/de/html/admin/admin_list_sponsor_pay_del.tpl b/templates/de/html/admin/admin_list_sponsor_pay_del.tpl new file mode 100644 index 0000000000..38fa5ff57d --- /dev/null +++ b/templates/de/html/admin/admin_list_sponsor_pay_del.tpl @@ -0,0 +1,25 @@ +
+
+ + + + + + + + + + + +{--__SPONSOR_ROWS--} + + + +
+ {--SPONSOR_DELETE_PAY_ENTRIES--} +
{--ID_SELECT--}{--SPONSOR_PAYTYPE_NAME--}:{--SPONSOR_PAYTYPE_RATE--}:{--SPONSOR_PAYTYPE_MIN_COUNT2--}:{--SPONSOR_PAYTYPE_CURRENCY--}:
+
+
diff --git a/templates/de/html/admin/admin_list_sponsor_pay_del_row.tpl b/templates/de/html/admin/admin_list_sponsor_pay_del_row.tpl new file mode 100644 index 0000000000..566dfb685e --- /dev/null +++ b/templates/de/html/admin/admin_list_sponsor_pay_del_row.tpl @@ -0,0 +1,17 @@ + + + + + +  $content[name] + + +  $content[rate] + + +  $content[min] + + +  $content[curr] + + \ No newline at end of file diff --git a/templates/de/html/admin/admin_list_sponsor_pay_edit.tpl b/templates/de/html/admin/admin_list_sponsor_pay_edit.tpl new file mode 100644 index 0000000000..86ee3bfcb6 --- /dev/null +++ b/templates/de/html/admin/admin_list_sponsor_pay_edit.tpl @@ -0,0 +1,25 @@ +
+
+ + + + + + + + + + + +{--__SPONSOR_ROWS--} + + + +
+ {--SPONSOR_EDIT_PAY_ENTRIES--} +
{--ID_SELECT--}{--SPONSOR_PAYTYPE_NAME--}:{--SPONSOR_PAYTYPE_RATE--}:{--SPONSOR_PAYTYPE_MIN_COUNT2--}:{--SPONSOR_PAYTYPE_CURRENCY--}:
+
+
diff --git a/templates/de/html/admin/admin_list_sponsor_pay_edit_row.tpl b/templates/de/html/admin/admin_list_sponsor_pay_edit_row.tpl new file mode 100644 index 0000000000..0832bb27a5 --- /dev/null +++ b/templates/de/html/admin/admin_list_sponsor_pay_edit_row.tpl @@ -0,0 +1,18 @@ + + + $content[id] + + + +   + + +   + + +   + + +   + + \ No newline at end of file diff --git a/templates/de/html/admin/admin_list_sponsor_pay_row.tpl b/templates/de/html/admin/admin_list_sponsor_pay_row.tpl new file mode 100644 index 0000000000..777fabbd22 --- /dev/null +++ b/templates/de/html/admin/admin_list_sponsor_pay_row.tpl @@ -0,0 +1,17 @@ + + + + + +  $content[name] + + +  $content[rate] + + +  $content[min] + + +  $content[currency] + + \ No newline at end of file diff --git a/templates/de/html/admin/admin_list_sponsor_row.tpl b/templates/de/html/admin/admin_list_sponsor_row.tpl new file mode 100644 index 0000000000..b9821c4f46 --- /dev/null +++ b/templates/de/html/admin/admin_list_sponsor_row.tpl @@ -0,0 +1,38 @@ + + {--ID_SELECT--} + {--SURNAME_FAMILY--}: + {--SPONSOR_POINTS_LEFT--}: + + + + [ $content[id] ] + + + $content[salut] $content[sname] $content[fname] + + + [ $content[points] ] + + + + + {--_STATUS--}: + + {--SPONSOR_CREATED--}: + {--ADMIN_LAST_ONLINE--}: + {--REMOTE_IP--}: + + + + [ $content[status] ] + + + $content[created] + + + $content[last] + + + $content[ip] + + diff --git a/templates/de/html/admin/admin_lock_sponsor.tpl b/templates/de/html/admin/admin_lock_sponsor.tpl new file mode 100644 index 0000000000..13bebd8349 --- /dev/null +++ b/templates/de/html/admin/admin_lock_sponsor.tpl @@ -0,0 +1,34 @@ +
+ + + + + + + + + + + + + + + + + + + + +
+ {--__HEADER_MESSAGE--} +
 
+ {--__TEXT_MESSAGE--} +
 
+ {--__EMAIL_LINK--} +
 
+ +
 
+
\ No newline at end of file diff --git a/templates/de/html/admin/admin_sponsor_paytypes.tpl b/templates/de/html/admin/admin_sponsor_paytypes.tpl new file mode 100644 index 0000000000..b893dd1318 --- /dev/null +++ b/templates/de/html/admin/admin_sponsor_paytypes.tpl @@ -0,0 +1,5 @@ +
+ {--__LIST_CONTENT--}
+
+ {--__ADD_CONTENT--} +
\ No newline at end of file diff --git a/templates/de/html/admin/admin_unlock_sponsor.tpl b/templates/de/html/admin/admin_unlock_sponsor.tpl new file mode 100644 index 0000000000..aae368889c --- /dev/null +++ b/templates/de/html/admin/admin_unlock_sponsor.tpl @@ -0,0 +1,28 @@ +
+
+ + + + + + + + + + +{--__SPONSOR_ROWS--} + + + +
+ {--ADMIN_SPONSOR_UNLOCK_TITLE--} +
{--ID_SELECT--}{--SURNAME_FAMILY--}:{--REMOTE_IP--}:{--SPONSOR_CREATED--}:
+
+
+ +

+ {--ADMIN_SPONSOR_UNLOCK_NOTES--} +

diff --git a/templates/de/html/admin/admin_unlock_sponsor_row.tpl b/templates/de/html/admin/admin_unlock_sponsor_row.tpl new file mode 100644 index 0000000000..d3e9ad97ff --- /dev/null +++ b/templates/de/html/admin/admin_unlock_sponsor_row.tpl @@ -0,0 +1,14 @@ + + + + + + $content[salut] $content[surname] $content[family] + + + $content[remote] + + + $content[created] + + diff --git a/templates/de/html/ext/ext_sponsor.tpl b/templates/de/html/ext/ext_sponsor.tpl new file mode 100644 index 0000000000..68ce4c0085 --- /dev/null +++ b/templates/de/html/ext/ext_sponsor.tpl @@ -0,0 +1 @@ +{--MT_WORD3--} "leben" von ihren Sponsoren. Mit dieser Erweiterung steht Ihnen eine professionelle Lösung bereit, mit der Sie neue Sponoren werben können.

Die wichtigsten Funktionen des Sponsorbereiches: