-
Notifications
You must be signed in to change notification settings - Fork 0
/
create.php
113 lines (94 loc) · 4.48 KB
/
create.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Veoow MS!</title>
<link id="favicon" rel="icon" type="image/png" href="img/Ico-zilla.png" />
<!-- CSS/Js/Includes -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="style.css?c=10" rel="stylesheet">
<link href="css/lightbox.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<?php
// Inclui o arquivo de configuração
include('login/config.php');
// Inclui o arquivo de verificação de login
include('login/verifica_login.php');
// Se não for permitido acesso nenhum ao arquivo
// Inclua o trecho abaixo, ele redireciona o usuário para
// o formulário de login
include('login/redirect.php');
?>
</head>
<body class="body-custom">
<nav class="navbar navbar-inverse navbar-customized">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand navbar-brand-customized fadeIn" id="VMS" href="panel.php">
<font id="Neo">Veoow <span>MS!</span></font>
</a>
</div>
<div align="right" class="navbar-collapse collapse navbar-collapse-customized">
<section id="user" class="user">
Olá <b><?php echo $_SESSION['nome_usuario']?></b>, <a id="logout" href="login/sair.php">clique aqui</a> para sair.
</section>
</div>
<!--/.navbar-collapse -->
</div>
</nav>
<div class="container" id="menu" align="center">
<div class="row">
<ul class="nav navbar-nav col-xs-3 col-md-12">
<li class="col-xs-3 col-md-4" id="menu">
<a align="center" class="btn-panel" id="btn" href="panel.php">
Home
</a>
</li>
<li class="col-xs-3 col-md-4" id="menu">
<a class="button btn-panel" id="btn" href="suporte.php">
Suporte
</a>
</li>
<div class="col-xs-3 col-md-4">
<div class="dropdown">
<button class="btn dropdown-toggle btn-panel-dropdown" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="
padding-right: 0px;">Serviços<span class="caret"></span>
</button>
<ul class="dropdown-menu btn-panel-dropdown" id="drop" aria-labelledby="dropdownMenu1">
<li><a href="create.php">Create</a></li>
<li><a href="update.php">Update</a></li>
</ul>
</div>
</div>
</ul>
</div>
<!--/.nav-collapse -->
<div align="center" class="container">
<div class="starter-template registro">
<form action="insertuser.php" class="form-signin" method="POST">
<h2 class="form-signin-heading" align="center"><font id="Neo"><b>Registre um serviço aqui!</b></font></h2>
<hr class="underline">
<br>
<br>
<input type="radio" name="empregado" value="<?php echo $_SESSION['nome_usuario']?>" checked><b><?php echo $_SESSION['nome_usuario']?></b><br>
<label for="inputEmail" class="sr-only">Trabalho</label>
<input name="trabalho" type="trabalho" id="trabalho" class="form-control" placeholder="Trabalho" >
<label for="inputEmail" class="sr-only">Situação</label>
<input name="situacao" type="situacao" id="situacao" class="form-control" placeholder="Situação" >
<label for="inputEmail" class="sr-only">Imagem</label>
<input name="arquivo" type="file" id="arquivo" class="form-control">
<br>
<button class="btn-panel" id="btn" type="submit">Register</button>
</form>
</div><!-- /.container -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/lightbox.js"></script>
</body>
</html>