Advertisement
Guest User

Untitled

a guest
Dec 30th, 2017
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.15 KB | None | 0 0
  1. <!-- INCLUDE header.tpl -->
  2.  
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-lg-12">
  6. <ol class="breadcrumb">
  7. <li><a href="{virtual_path}" class="breadcrumb_home" >Home</a></li>
  8. <li class="active">{anchor:url1="account/register/",url2="index.php?m=account_register",name="register|new_user"}</li>
  9. </ol>
  10. </div>
  11.  
  12.  
  13. <div class="col-sm-12">
  14. <!-- INCLUDE message.tpl -->
  15. </div>
  16. <div class="col-sm-9">
  17.  
  18. <!-- IF hide_content != "1" -->
  19.  
  20. <!-- IF member_username != "" -->
  21. <div class="panel panel-default">
  22. <div class="panel-heading">Get in touch with {member_username}</div>
  23. <div class="panel-body">
  24. <div class="row">
  25. <div class="col-sm-3"><!-- INCLUDE member_sections_picture.tpl --></div>
  26. <div class="col-sm-9">
  27. <p>Registration on our site is really quick and easy. You will be able to contact <strong>{member_username}</strong> in some seconds.</p>
  28. <div>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.
  29. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
  30. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.
  31. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
  32. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.</div>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. <!-- ENDIF -->
  38.  
  39.  
  40. <div class="panel panel-default">
  41. <div class="panel-heading">{lang:"register","frm_register"}</div>
  42. <div class="panel-body ">
  43. <div class="row">
  44. <div class="col-sm-8" >
  45. <form name="register" method="post" id="regwrapper" class="form-horizontal clearfix" action="{virtual_path}account/register" onsubmit="return validateRequired() " enctype="multipart/form-data">
  46.  
  47. <div id="vt_reg_tab1">
  48. <div class="form-group">
  49. <label class="control-label col-sm-3">{lang:"register","username"}</label>
  50. <div class="col-sm-9">
  51. <input type="text" class="form-control validate_required" placeholder="{lang:"register","username"}" onkeypress="validateCurrent(this)" id="field_username" onblur="checkusername(this.value);validateCurrent(this)" name="username" value="{registration_username}" maxlength="32" size="32" />
  52. </div>
  53. </div>
  54.  
  55. <div id="field_username_status" style="display:none"></div>
  56.  
  57. <div class="form-group">
  58. <label class="control-label col-sm-3">{lang:"register","password"}</label>
  59. <div class="col-sm-9">
  60. <input type="password" placeholder="{lang:"register","password"}" class="form-control validate_required" onkeypress="validateCurrent(this)" onblur="validateCurrent(this)" id="field_password" name="password" value="{registration_password}" size="20" maxlength="32" />
  61. </div>
  62. </div>
  63. <div class="form-group">
  64. <label class="control-label col-sm-3">{lang:"register","password_confirm"}</label>
  65. <div class="col-sm-9">
  66. <input type="password" placeholder="{lang:"register","password_confirm"}" class="form-control validate_required" onkeypress="validateCurrent(this)" onblur="validateCurrent(this)" id="field_password_confirm" name="password_confirm" value="{registration_password_confirm}" size="20" maxlength="32" />
  67. </div>
  68. </div>
  69.  
  70. <div class="form-group">
  71. <label class="control-label col-sm-3">{lang:"register","email"}</label>
  72. <div class="col-sm-9">
  73. <input type="email" placeholder="{lang:"register","email"}" class="form-control validate_required" id="field_email" onkeypress="validateCurrent(this)" onblur="validateCurrent(this)" name="email" value="{registration_email}" size="32" maxlength="64" >
  74. </div>
  75. </div>
  76.  
  77. <div class="form-group">
  78. <label class="control-label col-sm-3">{lang:"register","email_confirm"}</label>
  79. <div class="col-sm-9">
  80. <input type="email" placeholder="{lang:"register","email_confirm"}" class="form-control validate_required" id="field_email_confirm" onkeypress="validateCurrent(this)" onblur="validateCurrent(this)" name="email_confirm" value="{registration_email_confirm}" size="32" maxlength="64" >
  81. </div>
  82. </div>
  83.  
  84.  
  85. <div class="form-group" <!-- IF count.profiletypes == "1" --> style="display:none" <!-- ENDIF --> >
  86.  
  87. <div class="col-sm-12">
  88. <select name="type_id" class="form-control" id="field_type_id" onchange="toggleProfileFields(this.value);return false;" >
  89. {dropdownlist:profiletypes,registration_type_id}
  90. </select>
  91. </div>
  92. </div>
  93.  
  94.  
  95. <button onclick="return openSecondRegTab()" style="display:none" id="reg_second" class="btn btn-success pull-right">{vldthemes:a="lang",key="register_nextstep"}</button>
  96. </div>
  97.  
  98.  
  99.  
  100. <div id="vt_reg_tab2">
  101.  
  102.  
  103.  
  104.  
  105. <!-- BEGIN profile_types -->
  106.  
  107. <div id="profile_type_{type_id}" class="profile_type" style="<!-- IF type_id != top.registration_type_id --> display:none <!-- ENDIF -->">
  108.  
  109. <!-- BEGIN profile_groups -->
  110.  
  111. <!-- BEGIN profile_fields -->
  112. <div class="form-group">
  113. <label class="col-sm-3 control-label" for="field_{field_label}">{field_name} {ifelse:field_required,"1","<i>*</i>",""}</label>
  114.  
  115.  
  116.  
  117. <div class="col-sm-9">
  118. <!-- IF field_type = "text" -->
  119. <input type="text" class="form-control" id="field_{field_label}" name="{field_label}" style="width: {field_width}" value="{htmlentities:field_value}" maxlength="{field_maxlength}" />
  120. <!-- ELSEIF field_type = "image" -->
  121.  
  122. <input type="file" class=" form-control" id="field_{field_label}" name="{field_label}" />
  123.  
  124. <!-- IF field_value != "" -->
  125. <a target="_blank" href="{top.virtual_pic_path}{field_value}">View file</a>&nbsp;
  126.  
  127.  
  128. <label><input class="checkbox" id="{field_label}_remove" name="{field_label}_remove" type="checkbox" value="1">&nbsp;{lang:"profile","remove"}</label>
  129. <!-- ENDIF -->
  130. <!-- ELSEIF field_type = "textarea" -->
  131. <textarea class="form-control" id="field_{field_label}" name="{field_label}" style="width: {field_width}; height: {field_height}">{htmlentities:field_value}</textarea>
  132. <!-- ELSEIF field_type = "checkbox" -->
  133.  
  134.  
  135. <ul class="fielditems">
  136. <!-- INBEGIN field_items -->
  137. <li><label>{checkboxes:parent.field_label,rowcnt,parent.field_value,inner_key}&nbsp;{inner_value}</label></li>
  138. <!-- END field_items -->
  139. </ul>
  140.  
  141. <!-- ELSEIF field_type = "radio" -->
  142. <ul class="fielditems">
  143. <!-- INBEGIN field_items -->
  144. <li><label>{radiobuttons:parent.field_label,rowcnt,parent.field_value,inner_key}&nbsp;{inner_value}</label></li>
  145. <!-- END field_items -->
  146. </ul>
  147.  
  148. <!-- ELSEIF field_type = "combo" -->
  149. <select class="form-control select" id="field_{field_label}" name="{field_label}">{dropdownlist:field_items,field_value}</select>
  150. <!-- ELSEIF field_type = "birthday" -->
  151. <div class="form-inline">
  152. <!-- IF session.timeformat -->
  153. <select class="form-control select" name="{field_label}_month">{dropdownlist:top.months,field_value_month}</select>
  154. <select class="form-control select" name="{field_label}_day">{dropdownlist:top.days,field_value_day}</select>
  155. <!-- ELSE -->
  156. <select class="form-control select" name="{field_label}_day">{dropdownlist:top.days,field_value_day}</select>
  157. <select class="form-control select" name="{field_label}_month">{dropdownlist:top.months,field_value_month}</select>
  158. <!-- ENDIF -->
  159.  
  160. <select class="form-control select" name="{field_label}_year">{dropdownlist:top.birthday_years,field_value_year}</select>
  161. </div>
  162. <!-- ELSEIF field_type = "date" -->
  163. <div class="form-inline">
  164. <select class="form-control select" name="{field_label}_month">{dropdownlist:top.months,field_value_month}</select>
  165. <select class="form-control select" name="{field_label}_day">{dropdownlist:top.days,field_value_day}</select>
  166. <select class="form-control select" name="{field_label}_year">{dropdownlist:years,field_value_year}</select>
  167. </div>
  168. <!-- ELSEIF field_type = "time" -->
  169. <div class="form-inline">
  170. <select class="form-control select" name="{field_label}_hour">{dropdownlist:top.hours,field_value_hour}</select>
  171. <select class="form-control select" name="{field_label}_minute">{dropdownlist:top.minutes,field_value_minute}</select>
  172. </div>
  173. <!-- ELSEIF field_type = "datetime" -->
  174. <div class="form-inline">
  175. <select class="form-control select" name="{field_label}_month">{dropdownlist:top.months,field_value_month}</select>
  176. <select class="form-control select" name="{field_label}_day">{dropdownlist:top.days,field_value_day}</select>
  177. <select class="form-control select" name="{field_label}_year">{dropdownlist:years,field_value_year}</select> @
  178. <select class="form-control select" name="{field_label}_hour">{dropdownlist:top.hours,field_value_hour}</select>
  179. <select class="form-control select" name="{field_label}_minute">{dropdownlist:top.minutes,field_value_minute}</select>
  180. </div>
  181. <!-- ENDIF -->
  182.  
  183. </div>
  184. </div>
  185. <!-- END profile_fields -->
  186.  
  187.  
  188. <!-- END profile_groups -->
  189.  
  190. </div>
  191.  
  192. <!-- END profile_types -->
  193.  
  194. <!-- IF settings.enable_registration_photo -->
  195. <div class="form-group" >
  196. <label class="control-label col-sm-3 ">{vldthemes:a="lang",key="reg_avatar"}</label>
  197. <div class="col-sm-9">
  198. <input id="field_photo" type="file" name="photo" value="" >
  199.  
  200. </div>
  201. </div>
  202. <!-- ENDIF -->
  203.  
  204. <!-- IF is_captcha -->
  205. <div class="form-group" >
  206. <label class="control-label col-sm-3 ">{lang:"register","verify_number"}</label>
  207. <div class="col-sm-9 form-inline">
  208. <input type="form-control" id="field_captcha" class="form-control" name="captcha" maxlength="5" />
  209. <img src="{virtual_path}includes/fns/fns.captcha.php" alt="" border="0" />
  210. </div>
  211. </div>
  212. <!-- ENDIF -->
  213.  
  214. <!-- IF is_tos -->
  215. <div class="form-group" >
  216. <label class="control-label col-sm-3 ">&nbsp;</label>
  217. <div class="col-sm-9">
  218. <input type="checkbox" value="1" name="tos">
  219. <small>{lang:"register","accept_tos"} <a target="_blank" href="{virtual_path}{ifelse:settings.fancy_urls,"1","page/tos/","index.php?m=pages&p=tos"}">{lang:"register","tos"}</a></small>
  220. </div>
  221. </div>
  222. <!-- ENDIF -->
  223.  
  224.  
  225. <input type="hidden" name="isregister" value="1" />
  226. <button onclick="return openFirstRegTab()" style="display:none" class="btn-default btn pull-left">{vldthemes:a="lang",key="reg_back_first"}</button>
  227. <input class="btn-primary btn pull-right" name="submit" value="{lang:"register","submit"}" type="submit" />
  228.  
  229. </div>
  230.  
  231.  
  232. <script type="text/javascript" language="javascript">
  233.  
  234. function toggleProfileFields(type_id){
  235. $("div.profile_type").hide();
  236. if ( type_id ){ $("#profile_type_" + type_id).show(); }
  237. }
  238.  
  239. toggleProfileFields('{registration_type_id}');
  240.  
  241. </script>
  242.  
  243.  
  244. </form>
  245. </div>
  246. <!-- ENDIF -->
  247. </div>
  248.  
  249. </div>
  250. </div>
  251. </div>
  252. <div class="col-sm-3">
  253. <!-- INCLUDE webffo_sidebar.tpl -->
  254. </div>
  255. </div>
  256. </div>
  257.  
  258.  
  259. <!-- INCLUDE footer.tpl -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement