|
@ -12,7 +12,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<!-- Input Group --> |
|
|
<!-- Input Group --> |
|
|
<div class="row clearfix"> |
|
|
<div class="row clearfix"> |
|
|
<form class="col-lg-12 col-md-12 col-sm-12 col-xs-12" method="POST" action="#" enctype="multipart/form-data"> |
|
|
<form class="col-lg-12 col-md-12 col-sm-12 col-xs-12" method="POST" action="#" id="uploadform" enctype="multipart/form-data"> |
|
|
<div class="card"> |
|
|
<div class="card"> |
|
|
<div class="header"> |
|
|
<div class="header"> |
|
|
<?php |
|
|
<?php |
|
@ -108,9 +108,11 @@ |
|
|
<button type="button" class="btn bg-indigo waves-effect" onclick="document.getElementById('formfile').click();" style="vertical-align: text-top;"> |
|
|
<button type="button" class="btn bg-indigo waves-effect" onclick="document.getElementById('formfile').click();" style="vertical-align: text-top;"> |
|
|
<i class="material-icons">upload</i> |
|
|
<i class="material-icons">upload</i> |
|
|
</button> |
|
|
</button> |
|
|
<button type="button" class="btn bg-green waves-effect" style="vertical-align: text-top;"> |
|
|
<a href="<?php echo $curdir; ?>API/request.php?type=image&subtype=<?php if($type == 2){ echo "company"; }else{ echo "school"; } ?>&id=<?php echo $selschvals["id"]; ?>" download="<?php if($type == 2){ echo "vallalat"; }else{ echo "iskola"; } ?>foto"> |
|
|
<i class="material-icons">download</i> |
|
|
<button type="button" class="btn bg-green waves-effect" style="vertical-align: text-top;"> |
|
|
</button> |
|
|
<i class="material-icons">download</i> |
|
|
|
|
|
</button> |
|
|
|
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -327,5 +329,8 @@ |
|
|
$('.masked-input').find('.phone-number').inputmask('+36 99/999-9999', { placeholder: '+__ __/___-____' }); |
|
|
$('.masked-input').find('.phone-number').inputmask('+36 99/999-9999', { placeholder: '+__ __/___-____' }); |
|
|
$('.masked-input').find('.postal-code').inputmask('9999', { placeholder: '____' }); |
|
|
$('.masked-input').find('.postal-code').inputmask('9999', { placeholder: '____' }); |
|
|
}); |
|
|
}); |
|
|
|
|
|
document.getElementById("formfile").onchange = function() { |
|
|
|
|
|
document.getElementById("uploadform").submit.click(); |
|
|
|
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|
<?php mysqli_free_result($result); include "../footer.php"; ?> |
|
|
<?php mysqli_free_result($result); include "../footer.php"; ?> |