Logica de verificacion terminada

This commit is contained in:
2021-05-20 12:26:42 -03:00
parent 5a25331dc9
commit 9b934b2c95
9 changed files with 144 additions and 11 deletions

23
logic/messages.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
function error($string) {
return '<h2 class=`invalid`>'. $string . '</h2>';
}
function backToPreviusPage($secs, $linkPage) {
return '<h3 class=`backToPreviousPage`>Coming back to the previous page in ' . $secs . ' seconds' .
'<script>
function goBackPage() {
window.location.replace(`' . $linkPage . '`)
console.log(`funka`)
}
setTimeout(goBackPage, ' . $secs * 1000 . ')
</script>';
}
?>