Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F823571
affiliate.tpl
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Mar 9, 9:51 PM
Size
5 KB
Mime Type
text/html
Expires
Tue, Mar 11, 9:51 PM (1 d, 7 h)
Engine
blob
Format
Raw Data
Handle
585733
Attached To
rTOST Themes.OnlineStore
affiliate.tpl
View Options
<
script
language
=
"JavaScript"
>
function
showAffiliateAgreement
()
{
window
.
open
(
'<inp2:m_Link template="in-commerce/my_account/affiliate_agreement" />'
,
null
,
'menubar=no,toolbars=no,width=500,height=300'
);
}
</
script
>
<
inp2:m_if
check
=
"u_IsAffiliate"
>
<
table
class
=
"block-no-border"
>
<
tr
>
<
td
class
=
"block-header"
colspan
=
"2"
><
inp2:m_Phrase
label
=
"lu_comm_AffiliateStatistics"
/></
td
>
</
tr
>
<
inp2:m_if
check
=
"u_AffiliateIsNotActive"
>
<
tr
>
<
td
class
=
"block-data"
colspan
=
"2"
>
<
table
class
=
"warning"
>
<
tr
>
<
td
valign
=
"top"
align
=
"left"
class
=
"block-data"
>
<
img
src
=
"img/message.gif"
alt
=
""
width
=
"19"
height
=
"19"
/>
<
span
class
=
"warning-text"
><
inp2:m_Phrase
label
=
"lu_Warning"
/></
span
><
br
/>
<
inp2:m_Phrase
label
=
"lu_comm_AffiliateIsPendingOrDisabled"
/>
</
td
>
</
tr
>
</
table
>
</
td
>
</
tr
>
</
inp2:m_if
>
<
tr
>
<
td
class
=
"block-data"
>
<
a
href
=
"<inp2:m_Link template="
in-commerce
/
my_account
/
affiliate_stat
"
/>
">
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_AffiliateStat"
/></
strong
></
a
><
br
/>
<
inp2:m_Phrase
label
=
"lu_comm_AffiliateStatText"
/>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"block-data"
>
<
a
href
=
"<inp2:m_Link template="
in-commerce
/
my_account
/
affiliate_payments
"
/>
">
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_AffiliatePayments"
/></
strong
></
a
><
br
/>
<
inp2:m_Phrase
label
=
"lu_comm_AffiliatePaymentsText"
/>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"block-data"
>
<
a
href
=
"<inp2:m_Link template="
in-commerce
/
my_account
/
affiliate_materials
"
/>
">
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_AffiliateMaterials"
/></
strong
></
a
><
br
/>
<
inp2:m_Phrase
label
=
"lu_comm_AffiliateMaterialsText"
/>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"block-data"
>
<
a
href
=
"<inp2:m_Link template="
in-commerce
/
my_account
/
affiliate_payment_type
"
/>
">
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_ChangeAffiliatePaymentType"
/></
strong
></
a
><
br
/>
<
inp2:m_Phrase
label
=
"lu_comm_ChangeAffiliatePaymentTypeText"
/>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"block-data"
>
<
a
href
=
"javascript:showAffiliateAgreement()"
><
strong
><
inp2:m_Phrase
label
=
"lu_comm_TermsAndConditionsLink"
/></
strong
></
a
><
br
/>
<
inp2:m_Phrase
label
=
"lu_comm_TermsAndConditionsText"
/>
</
td
>
</
tr
>
</
table
>
<
inp2:m_else
/>
<
form
method
=
"POST"
enctype
=
"multipart/form-data"
action
=
"<inp2:m_FormAction />"
>
<
table
class
=
"block-no-border"
>
<
tr
>
<
td
class
=
"block-header"
colspan
=
"3"
><
inp2:m_Phrase
label
=
"lu_comm_AffiliateRegistration"
/></
td
>
</
tr
>
<
tr
>
<
td
class
=
"block-data"
colspan
=
"3"
><
inp2:m_Phrase
label
=
"lu_comm_BecomeAnAffiliateDescription"
/></
td
>
</
tr
>
<
tr
>
<
td
class
=
"block-data"
>
<
strong
><
inp2:m_phrase
label
=
"lu_comm_SSNField"
/>
*:
</
strong
>
</
td
>
<
td
class
=
"block-data"
>
<
input
type
=
"text"
name
=
"SSN"
id
=
"SSN"
value
=
"<inp2:m_get var="
SSN
"
/>
" />
</
td
>
<
td
class
=
"error"
>
<
inp2:m_if
check
=
"m_getequals"
var
=
"SSNRequiredError"
value
=
"1"
>
<
inp2:m_Phrase
label
=
"lu_comm_FieldIsRequired"
/>
</
inp2:m_if
>
</
td
>
</
tr
>
<
inp2:m_DefineElement
name
=
"affiliate_payment_type_elem"
>
<
tr
>
<
td
style
=
"padding: 3px"
>
<
input
type
=
"radio"
name
=
"PaymentTypeId"
id
=
"PaymentTypeId_<inp2:Field name="
PaymentTypeId
"
/>
" value="
<
inp2:Field
name
=
"PaymentTypeId"
/>
"
<
inp2:m_if
check
=
"u_AffiliatePaymentTypeChecked"
>
checked
</
inp2:m_if
>
/>
</
td
>
<
td
style
=
"padding: 3px"
>
<
label
for
=
"PaymentTypeId_<inp2:Field name="
PaymentTypeId
"
/>
">
<
inp2:Field
name
=
"Name"
/></
label
>
</
td
>
</
tr
>
<
inp2:m_if
check
=
"Field"
name
=
"Description"
>
<
tr
>
<
td
style
=
"padding: 3px"
>
</
td
>
<
td
style
=
"padding: 3px"
><
inp2:Field
name
=
"Description"
/>
</
td
>
</
tr
>
</
inp2:m_if
>
</
inp2:m_DefineElement
>
<
tr
>
<
td
style
=
"vertical-align: top;"
class
=
"block-data"
>
<
strong
><
inp2:m_phrase
label
=
"lu_comm_ChooseAffiliatePaymentType"
/>
:
</
strong
>
</
td
>
<
td
class
=
"block-data"
>
<
table
class
=
"block-no-border"
>
<
inp2:u_ListAffiliatesPaymentTypes
render_as
=
"affiliate_payment_type_elem"
/>
<
tr
><
td
colspan
=
"2"
style
=
"padding: 0px"
>
</
td
></
tr
>
</
table
>
</
td
>
<
td
class
=
"error"
>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"block-data"
>
<
strong
><
inp2:m_phrase
label
=
"lu_comm_Comments"
/>
:
</
strong
>
</
td
>
<
td
class
=
"block-data"
>
<
textarea
name
=
"Comments"
id
=
"Comments"
cols
=
"35"
rows
=
"5"
><
inp2:m_get
var
=
"Comments"
/></
textarea
>
</
td
>
<
td
class
=
"error"
>
</
td
>
</
tr
>
<
tr
>
<
td
colspan
=
"2"
class
=
"block-data"
>
<
input
type
=
"checkbox"
name
=
"AgreeToAffiliateTerms"
id
=
"AgreeToAffiliateTerms"
/>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_IAgreeTo"
/>
<
a
href
=
"javascript:showAffiliateAgreement()"
><
inp2:m_Phrase
label
=
"lu_comm_AffiliateAgreement"
/></
a
>
<
inp2:m_Phrase
label
=
"lu_comm_TermsAndConditions"
/></
strong
>
<
script
type
=
"text/javascript"
>
function
showAffiliateAgreement
()
{
window
.
open
(
'<inp2:m_Link template="in-commerce/my_account/affiliate_agreement" />'
,
null
,
'menubar=no,toolbars=no,width=500,height=300'
);
}
</
script
>
</
td
>
<
td
class
=
"error"
>
<
inp2:m_if
check
=
"m_getequals"
var
=
"MustAgreeToTerms"
value
=
"1"
>
<
inp2:m_Phrase
label
=
"lu_comm_MustAgreeAffiliateTermsError"
/>
</
inp2:m_if
>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"block-data"
colspan
=
"2"
style
=
"padding-top: 0px"
>
<
input
type
=
"hidden"
name
=
"next_template"
value
=
"in-commerce/my_account/affiliate_thankyou"
/>
<
input
type
=
"submit"
class
=
"button"
name
=
"events[affil][OnBecomeAffiliate]"
id
=
"events[affil][OnBecomeAffiliate]"
value
=
"<inp2:m_Phrase label="
lu_comm_BecomeAnAffiliate
"
no_editing
=
"1"
/>
" />
</
td
>
<
td
class
=
"error"
>
</
td
>
</
tr
>
</
table
>
</
form
>
</
inp2:m_if
>
Event Timeline
Log In to Comment