-
Notifications
You must be signed in to change notification settings - Fork 0
/
add.php
125 lines (106 loc) · 3.66 KB
/
add.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Workout Diary</title>
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css">
<link rel="author" href="humans.txt">
</head>
<body>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="js/main.js"></script>
<div class="container">
<div class="page-header">
<h1>Workout Diary</small></h1>
</div>
</div>
<nav class="navbar navbar-default" role="navigation">
<div class="container">
<ul class="nav navbar-nav">
<li class="active"><a href="add.php">Adicionar Treino <span class="sr-only">(current)</span></a></li>
<li><a href="edit.php">Editar Treino</a></li>
<li><a href="list.php">Listar Treinos</a></li>
</ul>
</div>
</nav>
<div class="container">
<form role="form" method="post" action="insert_db.php">
<div class="row form-group">
<div class="col-lg-6">
<label for="exampleInputEmail1">Grupo muscular</label>
<select class="form-control" name="grupo" >
<option>Peitoral</option>
<option>Triceps</option>
<option>Costas</option>
<option>Biceps</option>
<option>Ombros</option>
<option>Pernas</option>
<option>Abdomen</option>
</select>
</div>
<div class="col-lg-6">
<label for="exampleInputEmail1">Tipo de treino</label>
<select class="form-control" name="tipo" >
<option>ABC2x</option>
<option>ABCD</option>
<option>ABCDE</option>
</select>
</div>
</div>
<div class="row form-group">
<div class="col-lg-6">
<div class="input-group input-group-lg">
<span class="input-group-addon"></span>
<input type="text" name="nome" class="form-control" placeholder="Nome do treino">
</div>
</div>
</div>
<div class="row form-group">
<div class="col-lg-6">
<div class="input-group input-group-lg">
<span class="input-group-addon"></span>
<input type="text" name="seriesx" class="form-control" placeholder="Séries X /">
</div>
</div>
<div class="col-lg-6">
<div class="input-group input-group-lg">
<span class="input-group-addon"></span>
<input type="text" name="seriesy" class="form-control" placeholder="De Y">
</div>
</div>
</div>
<div class="row form-group">
<div class="col-lg-6">
<div class="input-group input-group-lg">
<span class="input-group-addon"></span>
<input type="text" name="peso1" class="form-control" placeholder="Peso 1X">
</div>
</div>
<div class="col-lg-6">
<div class="input-group input-group-lg">
<span class="input-group-addon"></span>
<input type="text" name="peso2" class="form-control" placeholder="Peso 2X">
</div>
</div>
</div>
<div class="row form-group">
<div class="col-lg-6">
<div class="input-group input-group-lg">
<span class="input-group-addon"></span>
<input type="text" name="peso3" class="form-control" placeholder="Peso 3X">
</div>
</div>
<div class="col-lg-6">
<div class="input-group input-group-lg">
<span class="input-group-addon"></span>
<input type="text" name="peso4" class="form-control" placeholder="Peso 4X">
</div>
</div>
</div>
<button type="submit" class="btn btn-primary pull-right">Submit</button>
</form>
</div>
</body>
</html>