|
|
@ -12,7 +12,7 @@ |
|
|
|
</div> |
|
|
|
<!-- Input Group --> |
|
|
|
<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="header"> |
|
|
|
<?php |
|
|
@ -108,9 +108,11 @@ |
|
|
|
<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> |
|
|
|
</button> |
|
|
|
<button type="button" class="btn bg-green waves-effect" style="vertical-align: text-top;"> |
|
|
|
<i class="material-icons">download</i> |
|
|
|
</button> |
|
|
|
<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"> |
|
|
|
<button type="button" class="btn bg-green waves-effect" style="vertical-align: text-top;"> |
|
|
|
<i class="material-icons">download</i> |
|
|
|
</button> |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -327,5 +329,8 @@ |
|
|
|
$('.masked-input').find('.phone-number').inputmask('+36 99/999-9999', { placeholder: '+__ __/___-____' }); |
|
|
|
$('.masked-input').find('.postal-code').inputmask('9999', { placeholder: '____' }); |
|
|
|
}); |
|
|
|
document.getElementById("formfile").onchange = function() { |
|
|
|
document.getElementById("uploadform").submit.click(); |
|
|
|
}; |
|
|
|
</script> |
|
|
|
<?php mysqli_free_result($result); include "../footer.php"; ?> |