Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if(!defined("C_URL")) die('Can`t access file directly!'); ?>
- <script language="JavaScript">
- <!--
- // Select Multiple js-function: hld()
- function hld(nid){ln=nid.parentNode;if(nid.checked){ln.style.backgroundColor='#0a246a';ln.style.color='#fff';}else{ln.style.backgroundColor='#fff';ln.style.color='#000';}}
- var requpl = false;
- function IsReqPhoto()
- {
- <?if (PHOTO_ALLOW) {?>
- requpl = true;
- <? if(C_PH_REQ_GEN != '0') {?>
- requpl = false;
- var gn = '<?=C_PH_REQ_GEN?>';
- gnr = gn.split(",");
- for (i = 0; i < gnr.length; i++) {
- if (document.form.gender.selectedIndex == gnr[i]) requpl = true;
- }
- <?}?><?}?><? for($i = 0; $i < $wpn[0]; $i++) { if((C_PHOTOR) && ($i < C_REQ_PHOTO_NUM)) {?>
- if(requpl) document.getElementById('PhotoReq_<?=$i?>').innerHTML = '<?=$w[0]?>';
- else document.getElementById('PhotoReq_<?=$i?>').innerHTML = '';
- <?}}?>
- }
- function formCheck(form) {
- var cnt = form.elements.length;
- var flds = form.elements;
- <?if (USERNAME_ALLOW) {?>
- if (form.username.value == "") {
- alert("<?=USERNAME_ERROR?>");
- return false;
- }
- <?}?>
- <?if (FIRSTNAME_ALLOW) {?>
- if (form.fname.value == "") {
- alert("<?=FIRSTNAME_ERROR?>");
- return false;
- }
- <?}?>
- <?if (LASTNAME_ALLOW) {?>
- if (form.lname.value == "") {
- alert("<?=LASTNAME_ERROR?>");
- return false;
- }
- <?}?>
- if (form.pass.value == "") {
- alert("<?=PASSWORD_ERROR_1?>");
- return false;
- }
- if (form.rpass.value == "") {
- alert("<?=PASSWORD_ERROR_2?>");
- return false;
- }
- if (form.pass.value != form.rpass.value) {
- alert("<?=PASSWORD_ERROR_3?>");
- return false;
- }
- <?if (BIRTHDAY_ALLOW) {?>
- if ( (form.month.selectedIndex == "") || (form.day.selectedIndex == "") || (form.year.selectedIndex == "")) {
- alert("<?=BIRTHDAY_ERROR?>");
- return false;
- }
- <?}?>
- <?if (GENDER_ALLOW) {?>
- if (form.gender.selectedIndex=="") {
- alert("<?=GENDER_ERROR?>");
- return false;
- }
- <?}?>
- <?if (BODYTYPE_ALLOW) {?>
- if (form.bodytype.selectedIndex=="") {
- alert("<?=BODYTYPE_ERROR?>");
- return false;
- }
- <?}?>
- <?if (ORIENTATION_ALLOW) {?>
- if (form.orientation.selectedIndex=="") {
- alert("<?=ORIENTATION_ERROR?>");
- return false;
- }
- <?}?>
- <?if (SGENDER_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,7) == "sgender" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=SGENDER_ERROR?>");return false;}
- <?}?>
- <?if (PURPOSE_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,7) == "purpose" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=PURPOSE_ERROR?>");return false;}
- <?}?>
- <?if (ZIP_ALLOW) {?>
- if (form.zip.value=="") {
- alert("<?=ZIP_ERROR?>");
- return false;
- }
- <?}?>
- <?if (COUNTRY_ALLOW) {?>
- if (form.country.options[form.country.selectedIndex].value=="0") {
- alert("<?=COUNTRY_ERROR?>");
- return false;
- }
- <?}?>
- <?if (STATE_ALLOW) {?>
- if (form.state.value == "" && form.statelist.selectedIndex <= "0") {
- alert("<?=STATE_ERROR?>");
- return false;
- }
- <?}?>
- if (form.email.value == "") {
- alert("<?=EMAIL_ERROR?>");
- return false;
- }
- <?if (PHONE_ALLOW) {?>
- if (form.phone.value == "") {
- alert("<?=PHONE_ERROR?>");
- return false;
- }
- <?}?>
- <?if (CITY_ALLOW) {?>
- if (form.city.value == "") {
- alert("<?=CITY_ERROR?>");
- return false;
- }
- <?}?>
- <?if (ADDRESS_ALLOW) {?>
- if (form.address.value == "") {
- alert("<?=ADDRESS_ERROR?>");
- return false;
- }
- <?}?>
- <?if (MARSTAT_ALLOW) {?>
- if (form.marstat.selectedIndex=="") {
- alert("<?=MARSTAT_ERROR?>");
- return false;
- }
- <?}?>
- <?if (CHILD_ALLOW) {?>
- if (form.child.selectedIndex=="") {
- alert("<?=CHILD_ERROR?>");
- return false;
- }
- <?}?>
- <?if (HEIGHT_ALLOW) {?>
- if (form.height.selectedIndex=="") {
- alert("<?=HEIGHT_ERROR?>");
- return false;
- }
- <?}?>
- <?if (WEIGHT_ALLOW) {?>
- if (form.weight.selectedIndex=="") {
- alert("<?=WEIGHT_ERROR?>");
- return false;
- }
- <?}?>
- <?if (HAIR_ALLOW) {?>
- if (form.hcolor.selectedIndex=="") {
- alert("<?=HAIR_ERROR?>");
- return false;
- }
- <?}?>
- <?if (EYE_ALLOW) {?>
- if (form.ecolor.selectedIndex=="") {
- alert("<?=EYE_ERROR?>");
- return false;
- }
- <?}?>
- <?if (ETHNICITY_ALLOW) {?>
- if (form.etnicity.selectedIndex=="") {
- alert("<?=ETHNICITY_ERROR?>");
- return false;
- }
- <?}?>
- <?if (RELIGION_ALLOW) {?>
- if (form.religion.selectedIndex=="") {
- alert("<?=RELIGION_ERROR?>");
- return false;
- }
- <?}?>
- <?if (SMOKE_ALLOW) {?>
- if (form.smoke.selectedIndex=="") {
- alert("<?=SMOKE_ERROR?>");
- return false;
- }
- <?}?>
- <?if (DRINK_ALLOW) {?>
- if (form.drink.selectedIndex=="") {
- alert("<?=DRINK_ERROR?>");
- return false;
- }
- <?}?>
- <?if (EDUCATION_ALLOW) {?>
- if (form.education.selectedIndex=="") {
- alert("<?=EDUCATION_ERROR?>");
- return false;
- }
- <?}?>
- <?if (JOB_ALLOW) {?>
- if (form.job.value=="") {
- alert("<?=JOB_ERROR?>");
- return false;
- }
- <?}?>
- <?if (LANG_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,4) == "lang" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=LANG_ERROR?>");return false;}
- <?}?>
- <?if (HOBBY_ALLOW) {?>
- if (form.hobby.value=="") {
- alert("<?=HOBBY_ERROR?>");
- return false;
- }
- <?}?>
- <?if (INTERESTS_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,9) == "interests" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=INTERESTS_ERROR?>");return false;}
- <?}?>
- <?if (DESCRIPTION_SHOW) {?>
- function trim(s)
- {
- return s.replace(/^\s+|\s+$/, '');
- }
- if (trim(form.descr.value)=="") {
- alert("<?=DESCRIPTION_ERROR?>");
- return false;
- }
- <?}?>
- <?if (SCOUNTRY_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,8) == "scountry" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=SCOUNTRY_ERROR?>");return false;}
- <?}?>
- <?if (SMARSTAT_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,8) == "smarstat" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=SMARSTAT_ERROR?>");return false;}
- <?}?>
- <?if (SCHILD_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,6) == "schild" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=SCHILD_ERROR?>");return false;}
- <?}?>
- <?if (SHAIR_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,7) == "shcolor" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=SHAIR_ERROR?>");return false;}
- <?}?>
- <?if (SEYE_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,7) == "secolor" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=SEYE_ERROR?>");return false;}
- <?}?>
- <?if (SSMOKE_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,6) == "ssmoke" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=SSMOKE_ERROR?>");return false;}
- <?}?>
- <?if (SDRINK_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,6) == "sdrink" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=SDRINK_ERROR?>");return false;}
- <?}?>
- <?if (SEDUCATION_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,10) == "seducation" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=SEDUCATION_ERROR?>");return false;}
- <?}?>
- <?if (SETHNICITY_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,9) == "setnicity" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=SETHNICITY_ERROR?>");return false;}
- <?}?>
- <?if (SRELIGION_ALLOW) {?>
- var err = true;
- for (i=0; i < cnt; i++) { if(flds[i].name.substring(0,9) == "sreligion" && flds[i].checked == 1) {err = false;break;}}
- if (err) {alert("<?=SRELIGION_ERROR?>");return false;}
- <?}?>
- <?if (HDYFU_ALLOW) {?>
- if (form.hdyfu.selectedIndex=="") {
- alert("<?=HDYFU_ERROR?>");
- return false;
- }
- <?}?>
- <?if (PHOTO_ALLOW) {?>
- if ((form.file0.value == "") && (form.file1.value == "") && (form.file2.value == "")) {
- requpl = true;
- <? if(C_PH_REQ_GEN != '0') {?>
- requpl = false;
- var gnd = '<?=C_PH_REQ_GEN?>';
- gndr = gnd.split(",");
- for (ind = 0; ind < gndr.length; ind++) {
- if (form.gender.selectedIndex == gndr[ind]) {requpl = true;}
- }
- <?}?>
- if(requpl) {
- alert("<?=PHOTO_ERROR?>");
- return false;
- }
- }
- <?}?>
- <?if (VERIFY_ALLOW) {?>
- if (form.verifyimage.value == "") {
- alert("<?=VERIFY_ERROR?>");
- return false;
- }
- <?}?>
- <?if (REG_TERMS_ALLOW) {?>
- if (form.reg_terms.checked == 0) {
- alert("<?=REG_TERMS_ERROR?>");
- return false;
- }
- <?}?>
- if (document.form.submit.action != "") {
- document.form.submit.disabled=1;}
- }
- function CheckUncheckAll(itemname) {
- with(document.form) {
- for(i=0;i<elements.length;i++) {
- thiselm = elements[i];
- if(thiselm.name == itemname) thiselm.checked = !thiselm.checked
- }
- }
- }
- function ins(prop,type)
- {
- var input = document.form.descr;var mysel;var text;
- if (window.getSelection) mysel = window.getSelection();
- else if (document.selection) mysel = document.selection.createRange().text;
- else if (document.getSelection) mysel = document.getSelection();
- b = (type == 0) ? '['+prop+']' : prop;
- e = (type == 0) ? '[/'+prop+']' : '';
- if (input.createTextRange)
- {
- var text;
- input.focus(input.caretPos);
- input.caretPos = document.selection.createRange().duplicate();
- input.caretPos.text = (input.caretPos.text.length>0) ? b + input.caretPos.text + e : b + mysel + e;
- }
- else input.value += b + mysel + e;
- }
- // -->
- </script>
- <script language="JavaScript" src="<?=C_URL?>/classes/Ajax.js"></script>
- <script>
- function SR(force) {
- var username = '' + document.getElementById('username').value;
- var req = new Ajax();
- req.onreadystatechange = function() {
- if (req.readyState == 4) {
- if (req.resp) {
- document.getElementById('UsernameValue').innerHTML = req.resp.username;
- }
- }
- }
- req.caching = true;
- req.open('POST', '<?=C_URL?>/dl.php?l=<?=LANGUAGE?>', true);
- req.send({ check:'1',username: username});
- }
- </script>
- <script>
- $(document).ready(function() {
- $('select').material_select();
- });
- $(document).ready(function() {
- $('input#input_text, textarea#textarea1').characterCounter();
- });
- </script>
- <script language="JavaScript">
- var ids=new Array('state','statelist');
- function switchid(id){hideallids(); showdiv(id);}
- function hideallids(){for (var i=0;i<ids.length;i++){hidediv(ids[i]);}}
- function hidediv(id) {if (document.getElementById) {document.getElementById(id).style.display = 'none';}
- else {if (document.layers) {document.id.display = 'none';}
- else {document.all.id.style.display = 'none';}}}
- function showdiv(id) {
- if (document.getElementById) {document.getElementById(id).style.display = 'block';}
- else {if (document.layers) {document.id.display = 'block';}
- else {document.all.id.style.display = 'block';}}}
- var rc= new Array(500);
- <?=STATELIST_VALUE?>
- function GetIndex(index){var sc = rc[index];return sc.split(","); }
- function ShowRegion(index){
- if(<?=STATELIST_CHECK?>) {
- switchid('statelist');
- document.forms["form"].elements["state"].value = '';
- var ind = GetIndex(index);var cur = '<?=STATELIST_CUR?>';var cnt = ind.length;var lst = document.forms["form"].elements["statelist"];var lstOptionsCnt = lst.options.length;lst.length = 0;
- lst.options[0] = new Option('--------', '', false, false);
- for (i = 1; i < cnt; i++){
- lst.options[i] = (cur == ind[i]) ? new Option(ind[i], ind[i], true, false) : new Option(ind[i], ind[i], false, false);
- }
- } else {
- switchid('state');
- for (var i = 0; i < document.forms["form"].elements["statelist"].length; i++) {document.forms["form"].elements["statelist"].selected = false;}
- document.forms["form"].elements["statelist"].value = '';
- }
- }
- ShowRegion(document.forms["form"].elements["country"].options[document.forms["form"].elements["country"].options.selectedIndex].value);
- // -->
- </script>
- <style>
- /* label color */
- .input-field label {
- color: #000;
- }
- /* label focus color */
- .input-field input[type=text]:focus + label {
- color: #000;
- }
- /* label underline focus color */
- .input-field input[type=text]:focus {
- border-bottom: 1px solid #000;
- box-shadow: 0 1px 0 0 #000;
- }
- /* valid color */
- .input-field input[type=text].valid {
- border-bottom: 1px solid #000;
- box-shadow: 0 1px 0 0 #000;
- }
- /* invalid color */
- .input-field input[type=text].invalid {
- border-bottom: 1px solid #000;
- box-shadow: 0 1px 0 0 #000;
- }
- /* icon prefix focus color */
- .input-field .prefix.active {
- color: #000;
- }
- </style>
- <div class="container">
- <form class="col s12" action="<?=filename()?>" method="post" enctype="multipart/form-data" name=form OnSubmit="return formCheck(this)">
- <input type="hidden" name="l" value="<?=LANGUAGE?>">
- <input type="hidden" name="a" value="a">
- <span class=head>User Registration</span>
- <fieldset>
- <legend><b>Account Information:</b></legend>
- <div class="input-field col s6">
- <?if(USERNAME_ALLOW) {?>
- <i class="material-icons prefix">perm_identity</i>
- <label for="<?=USERNAME?>">Username</label>
- <?}?>
- <input class=input type="text" id="username" name="username" length="16" value="<?=USERNAME_VALUE?>" OnChange="SR(true)"><br><span id="UsernameValue" style="color:red"></span>
- </div>
- <div class="input-field col s6">
- <i class="material-icons prefix">email</i>
- <label for="<?=EMAIL?>" data-error="wrong" data-success="right">Email</label>
- <input class=input type="text" id="email" name="email" value="<?=EMAIL_VALUE?>">
- </div>
- <div class="input-field col s6">
- <i class="material-icons prefix">vpn_key</i>
- <label for="<?=PASSWORD?>">Password</label>
- <input class="input" type="password" name="pass" maxlength="<?=C_PASSB?>" value="<?=PASSWORD_VALUE?>">
- </div>
- <div class="input-field col s6">
- <i class="material-icons prefix">vpn_key</i>
- <label for="<?=RETYPE_PASSWORD?>">Retype Password</label>
- <input class="input" type="password" name="rpass" maxlength="<?=C_PASSB?>" value="<?=RETYPE_PASSWORD_VALUE?>">
- </div>
- <div class="input-field col s12">
- <?if(AGREEMENT){?>
- <label for="<?=AGREEMENT?>">Terms Of Use Agreement</label>
- <?}?>
- <textarea cols="60" rows="10" class=binput>
- <?include_once C_PATH.'/languages/'.LANGUAGE.'/agr.php';?>
- </textarea>
- </div>
- <div class="input-field col s12">
- <?if(REG_TERMS_SHOW) {?>
- <label for="<?=REG_TERMS?>"></label>
- <?}?>
- <input type=checkbox name=reg_terms value="<?=REG_TERMS_VALUE?>">
- </div>
- <div class="input-field col s12">
- <?if(REG_TERMS_SHOW) {?>
- <label for="<?=REG_TERMS?>"></label>
- <?}?>
- <input type=checkbox name=reg_terms value="<?=REG_TERMS_VALUE?>">
- </div>
- <?if(WANTPRIV_SHOW) {?>
- <?}?>
- <input type="checkbox" id="test5" name=wantpriv value="<?=WANTPRIV_VALUE?>" />
- <label for="test5">I agree with the Terms of Use Agreement</label>
- </p>
- </fieldset>
- <br>
- <br>
- <fieldset>
- <legend><b>Personal Information:</b></legend>
- <p>
- <div class="input-field col s6">
- <?if(FIRSTNAME_SHOW) {?><?}?>
- <i class="material-icons prefix">assignment_ind</i>
- <label for="<?=FIRSTNAME?>">First Name</label>
- <input class=input type=text name=fname maxlength="<?=C_FIRSTNB?>" value="<?=FIRSTNAME_VALUE?>">
- </p>
- </div>
- <div class="input-field col s6">
- <?if(LASTNAME_SHOW) {?><?}?>
- <i class="material-icons prefix">assignment_ind</i>
- <label for="<?=LASTNAME?>">Last Name</label>
- <input class=input type=text name=lname maxlength="<?=C_FIRSTNB?>" value="<?=LASTNAME_VALUE?>">
- </div>
- </fieldset>
- <br>
- <fieldset>
- <legend><b>Birtdate:</b></legend>
- <div class="input-field col s4">
- <i class="material-icons prefix">cake</i>
- <select name="month" class="minput"><?=MONTH_VALUE?></select>
- <label>Birthdate Month</label>
- </div>
- <div class="input-field col s4">
- <i class="material-icons prefix">cake</i>
- <select name="day" class="sinput"><?=DAY_VALUE?></select>
- <label>Birthdate Day</label>
- </div>
- <div class="input-field col s4">
- <i class="material-icons prefix">cake</i>
- <select name="year" class="sinput"><?=YEAR_VALUE?></select>
- <label>Birthdate Year</label>
- </div>
- </fieldset>
- </br>
- <fieldset>
- <legend><b>About You:</b></legend>
- <div class="input-field col s6">
- <?if(ORIENTATION_SHOW) {?><?}?>
- <i class="material-icons prefix">assignment_ind</i>
- <select name="orientation" class="input">
- <option value=0> Choose Orientation
- <?=ORIENTATION_VALUE?>
- </select>
- </div>
- <div class="input-field col s6">
- <?if(BODYTYPE_SHOW) {?><?}?>
- <i class="material-icons prefix">assignment_ind</i>
- <select name="bodytype" class="input">
- <option value=0>Choose Body Type
- <?=BODYTYPE_VALUE?>"
- </select>
- </div>
- </fieldset>
- <br>
- <fieldset>
- <legend><b>Who Do you Seek For:</b></legend>
- </fieldset>
- <br>
- <fieldset>
- <legend><b>Description:</b></legend>
- <div class="input-field col s6">
- <?if(DESCRIPTION_SHOW) {?><?}?>
- <i class="material-icons prefix"></i>
- <label for="<?=DESCRIPTION?>"></label>
- <?if(USE_SMILES || USE_BB){?><?}?>
- <?if(USE_SMILES){?><?$p=0;foreach ($smiles as $k=>$v){$p++;?><a href="javascript:ins(' <?=$k?> ',1)"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/forum/smiles/<?=$v?>" border=0 /></a>
- <?if(C_SMILES_NUMBER <= $p){?><br><a href="javascript:open_win('<?=C_URL?>/forum/smiles_show.php','_blank')"><?=$w[720]?></a><br><?break;}?><?}?><?}?>
- <?if(USE_BB && USE_SMILES){?><br><br><?}?>
- <?if(USE_BOLD){?><a href="javascript:ins('B',0)"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Bold.gif" border=0 /></a><?}?>
- <?if(USE_ITALIC){?><a href="javascript:ins('I',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Italic.gif" border=0 /></a><?}?>
- <?if(USE_UNDERLINE){?><a href="javascript:ins('U',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Underline.gif" border=0 /></a><?}?>
- <?if(USE_STRIKE){?><a href="javascript:ins('S',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Strike.gif" border=0 /></a><?}?>
- <?if(USE_MARQUEE){?><a href="javascript:ins('MARQUEE',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/marquee.png" border=0 /></a><?}?>
- <?if(USE_QUOTE){?><a href="javascript:ins('QUOTE',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Quote.gif" border=0 /></a><?}?>
- <?if(USE_URL){?><a href="javascript:ins('URL',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/URL.gif" border=0 /></a><?}?>
- <?if(USE_IMG){?><a href="javascript:ins('IMG',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Image.gif" border=0 /></a><?}?>
- <?if(USE_VIDEO){?><a href="javascript:ins('VIDEO',0);"><img src="<?=C_URL?>/templates/<?=C_TEMP?>/images/Video.gif" border=0 /></a><?}?>
- <textarea class=input cols=14 rows=8 name=descr><?=DESCRIPTION_VALUE?></textarea>
- </div>
- </fieldset>
- <br>
- <fieldset>
- <legend><b>The Muggs:</b></legend>
- <?if(PHOTO_SHOW) {?><?}?>
- <div class="file-field input-field">
- <div class="btn">
- <span>Photo</span>
- <input type="file">
- </div>
- <div class="file-path-wrapper">
- <input class="file-path validate" type="text" name="file<?=$p?>">
- </fieldset>
- <br>
- <button class="btn waves-effect waves-light" type="submit" name="action">Submit
- <i class="material-icons right">send</i>
- </button>
- </div>
- </div>
- </form>
- <script>IsReqPhoto();</script>
- </div>
- </fieldset>
Add Comment
Please, Sign In to add comment