2009-12-04 21:03:27 +00:00
{assign var='required_fields' value=$userquery->load_signup_fields()}
{assign var='custom_field' value=$userquery->custom_signup_fields}
2009-11-30 19:46:45 +00:00
2009-12-04 21:03:27 +00:00
2010-01-21 14:03:41 +00:00
{if $mode == 'signup_success'}
2009-12-09 13:43:19 +00:00
< div class = "simple_container" >
2010-01-21 14:03:41 +00:00
{if $udetails.usr_status !='Ok'}
< h2 style = "font-family:Arial,Verdana,sans-serif; margin:5px 5px 8px;" > Just One More Step< / h2 >
< p style = "margin:0px 5px; line-height:18px; font-size:11px;" > Your are just one step behind from becoming an official memeber of < strong > {$title}< / strong > . Please check your email, we have sent you a confirmation email which contains a confirmation link from {$title}, Please click it to complete your registration.< / p >
2009-12-09 13:43:19 +00:00
{else}
2010-01-21 14:03:41 +00:00
< h2 style = "font-family:Arial,Verdana,sans-serif; margin:5px 5px 8px;" > Welcome To {$LANG.community}< / h2 >
< p style = "margin:0px 5px; line-height:18px; font-size:11px;" > Your email has been confirmed, Please < strong > < a href = "{link name='login'}" > click here to login< / a > < / strong > and continue as our registered member.< / p >
2010-01-20 07:03:11 +00:00
{/if} < / div >
2010-01-21 14:03:41 +00:00
{else}
2009-12-04 21:03:27 +00:00
< div class = "signup_left" >
< h2 > Members Login< / h2 >
if you already have {$title} account, please login here
< div class = "signup_container" >
< form name = "login_form" id = "login_form" method = "post" action = "" >
< label for = "login_username" class = "label" > {lang code='username'} : < / label >
< div class = "input_container" >
< input name = "username" type = "text" id = "login_username" size = "30" >
< / div >
< div class = "clearfix" > < / div >
< label for = "login_password" class = "label" > {lang code='password'} : < / label >
< div class = "input_container" >
< input name = "password" type = "password" id = "login_password" size = "30" >
< / div >
< div class = "clearfix" > < / div >
< label for = "" class = "label" > < / label >
< div class = "input_container" >
< input type = "submit" name = "login" class = "cb_button_2" value = "{lang code='login'}" >
< / div >
< div class = "clearfix" > < / div >
< div align = "center" > < a href = "{$baseurl}/forgot.php" > {$LANG.user_forgot_password}< / a > | < a href = "{$baseurl}/forgot.php" > {$LANG.user_forgot_username}< / a > < / div >
< / form >
< / div >
< p > {$title} is the home for video online:< / p >
2009-11-30 19:46:45 +00:00
< ul > < li > < strong > Watch< / strong > millions of videos< / li > < li > < strong > Share favorites< / strong > with friends and family< / li > < li > < strong > Connect with other users< / strong > who share your {$LANG.interests}< / li > < li > < strong > Upload your videos< / strong > to a worldwide audience< / li > < / ul >
2009-12-04 21:03:27 +00:00
< h3 > {$LANG.reg_now_join} {$title} {$LANG.community}!< / h3 >
< / div >
< div class = "signup_right" >
< h2 > New Members Signup Here< / h2 >
Register as ClipBucket v2 member, its free and easy just
< div class = "signup_container" >
< form name = "login_form" id = "login_form" method = "post" action = "" >
{foreach from=$required_fields item=field}
< label for = "{$field.id}" class = "label" > {$field.title}< / label >
< div class = "input_container" >
{if $field.hint_1}
< div class = "hint" > {$field.hint_1}< / div >
{/if}
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}
{if $field.hint_2}
< div class = "hint" > {$field.hint_2}< / div >
{/if}
< / div >
< div class = "clearfix" > < / div >
{/foreach}
2009-12-09 13:43:19 +00:00
<!-- Loading Custom Fields -->
{foreach from=$custom_field item=field}
< label for = "{$field.id}" class = "label" > {$field.title}< / label >
< div class = "input_container" >
{if $field.hint_1}
< div class = "hint" > {$field.hint_1}< / div >
{/if}
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}
{if $field.hint_2}
< div class = "hint" > {$field.hint_2}< / div >
{/if}
< / div >
< div class = "clearfix" > < / div >
{/foreach}
2010-01-27 11:37:26 +00:00
<!-- Loading Captcha if anny -->
{assign var=captcha value=func->get_captcha()}
{if $captcha}
{if $captcha.show_field}
< label class = "label" for = "verification_code" > Verification Code< / label >
{load_captcha captcha=$captcha load=field field_params = ' id="verification_code" '}
< div class = "clearfix" > < / div >
{/if}
< label class = "label" > < / label >
< div class = "input_container" >
{load_captcha captcha=$captcha load=function}
< / div >
< div class = "clearfix" > < / div >
{/if}
2009-12-04 21:03:27 +00:00
< div align = "center" >
< input name = "agree" type = "checkbox" id = "agree" value = "yes" checked = "checked" / >
2010-01-01 13:01:53 +00:00
- {$LANG.user_i_agree_to_the} < a href = "{$cbpage->get_page_link(1)}" target = "_blank" style = "text-decoration:underline" > {lang code='terms_of_serivce'}< / a > and < a href = "{$cbpage->get_page_link(2)}" target = "_blank" style = "text-decoration:underline" > {lang code='privacy_policy'}< / a >
2009-12-04 21:03:27 +00:00
< / div >
< label for = "" class = "label" > < / label >
< div class = "input_container" >
< input type = "submit" name = "signup" class = "cb_button_2" value = "{lang code='signup'}" style = "margin-top:10px" / >
< / div >
< div class = "clearfix" > < / div >
< / form >
< / div >
< / div >
2010-01-21 14:03:41 +00:00
{/if}
2009-12-04 21:03:27 +00:00
< div class = "clearfix" > < / div >