<?php

require "Require.php";
include "Encoder_Header.php";
include "Includables.php";
$user = $_SESSION['Logged_In_User'];
$encoder = new Encoder_Controller($user);
//make an encoder object
if (isset($_GET['Ownership_ID'])) {
    $Ownership_ID = $_GET['Ownership_ID'];
}
$Single_Ownership = $encoder->Get_Single_Ownership($Ownership_ID);
$Single_Ownership = mysqli_fetch_array($Single_Ownership, MYSQLI_ASSOC);
$Name = $Single_Ownership['Name'];
$Name_Amharic = $Single_Ownership['Name_Amharic'];
?>

	<div class="col-sm-7 list_container margin_0">

		<div class="col-sm-12">

			<div class="panel panel-default">
				<div class="panel-body text-center">
					<h4>Delete Company Ownership</h4>
 				</div>
			</div>

			<?php 
if ($_SERVER['REQUEST_METHOD'] == "GET") {
    if (isset($_GET['error'])) {
        $error_msg = $_GET['error'];