예제 #1
0
<?php

session_start();
require_once 'database.php';
if ($_SESSION['Email'] == null && $_SESSION['password'] == null && $_SESSION['option'] == null) {
    header("location:" . 'sign_in_type.php');
}
$conn = new Data_control();
if (isset($_POST['contact'])) {
    $contact = $conn->contact($_POST['contact']);
    header("location:" . 'contact.php');
}
$contact = $conn->contact_show();
require_once 'login_header.php';
?>

			<div class="row">
				<div class="col-md-12">
					<div class="padding">
						<div class="row">
							<div class="col-md-2">
								<?php 
require_once 'login_left_padding.php';
?>
							
							</div>
							<div class="col-md-9">
								<div class="righ_pad">
									 <h2>SET CONTACT</h2>	
							
									<form class="form-horizontal" action="contact.php" method="post" enctype="multipart/form-data">