Compare commits
No commits in common. "829ee5c98247d1eb554b4a91c054d95474f3528e" and "de58d64213d66f6bbb7eedd70cb1dcf73987be15" have entirely different histories.
829ee5c982
...
de58d64213
|
@ -1,34 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
function check_post(){
|
|
||||||
if($_SERVER["REQUEST_METHOD"] == "POST"){
|
|
||||||
$num1 = $_POST["num1"];
|
|
||||||
$num2 = $_POST["num2"];
|
|
||||||
$_SESSION["num1"] = $num1;
|
|
||||||
$_SESSION["num2"] = $num2;
|
|
||||||
|
|
||||||
if ($num1>0&& $num2> 0){
|
|
||||||
return true;
|
|
||||||
} else{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function add(int $num1, int $num2){
|
|
||||||
return $num1 + $num2;
|
|
||||||
}
|
|
||||||
|
|
||||||
function add10(int $num){
|
|
||||||
return $num+=10;
|
|
||||||
}
|
|
||||||
|
|
||||||
function add11(&$num){
|
|
||||||
return $num+= 11;
|
|
||||||
}
|
|
||||||
|
|
||||||
function nincsertek($num = 100){
|
|
||||||
return $num;
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Függvények</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<form action="" method="POST">
|
|
||||||
<input type="number" name="num1"> +
|
|
||||||
<input type="number" name="num2">
|
|
||||||
<button type="submit">Összead</button>
|
|
||||||
</form>
|
|
||||||
<p><?php echo $value?></p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,21 +0,0 @@
|
||||||
<?php
|
|
||||||
session_start();
|
|
||||||
include("func.php");
|
|
||||||
if(check_post()){
|
|
||||||
//$value = add($_POST["num1"], $_POST["num2"]);
|
|
||||||
//$value = add($num1, $num2);
|
|
||||||
$value = add($_SESSION["num1"], $_SESSION["num2"]);
|
|
||||||
global $value;
|
|
||||||
echo add10(5);
|
|
||||||
echo "<br>";
|
|
||||||
$n1 = 5;
|
|
||||||
echo add11($n1);
|
|
||||||
echo "<br>";
|
|
||||||
echo $n1;
|
|
||||||
echo "<br>";
|
|
||||||
echo nincsertek();
|
|
||||||
echo "<br>";
|
|
||||||
echo nincsertek(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
include("html.php");
|
|
22
ppl.txt
22
ppl.txt
|
@ -1,22 +0,0 @@
|
||||||
Push
|
|
||||||
1. Comp Bench press | Preferably 4-6 sets, lower to higher rep ranges throughout the excersise
|
|
||||||
2. Weighted dips | ~3 sets
|
|
||||||
3. Military press | ~3 sets
|
|
||||||
4. Lateral raises | ~3 sets
|
|
||||||
5. Tricep extension | ~3 sets
|
|
||||||
|
|
||||||
Pull
|
|
||||||
|
|
||||||
Comp deadlift | Preferably 4-6 sets, lower to higher rep ranges throughout the excersise
|
|
||||||
Weighted pull-ups | ~3 sets
|
|
||||||
Wide grip machine rows | ~2 sets
|
|
||||||
Close grip machine rows | ~2 sets
|
|
||||||
Bicep curls (EZ bar || dumbbels) | ~3 sets
|
|
||||||
|
|
||||||
Leg
|
|
||||||
|
|
||||||
Squats | Preferably 4-6 sets, lower to higher rep ranges throughout the excersise
|
|
||||||
(Front squats || Zercher squats (optional | max 2 sets))
|
|
||||||
Hamstring curl | ~3 sets
|
|
||||||
Leg extension | ~3 sets
|
|
||||||
Calf raises | ~3 sets
|
|
Loading…
Reference in New Issue
Block a user