<?php 
if(!empty($_POST)){
 return;
}
?>
<?php

if (!empty($_GET["content_type_id"]) && (!is_array($_GET["content_type_id"]))) {
 $content_type_id = htmlentities($_GET["content_type_id"]);
} else {
 $new_content_types = new new_content_type();
 $new_content_type_object = array();
 array_push($new_content_type_object, $new_content_types);

 $content_type_references = new content_type_reference();
 $content_type_reference_object = array();
 array_push($content_type_reference_object, $content_type_references);
}

if (!empty($content_type_id)) {
 $new_content_type_object = new_content_type::find_fields_by_id($content_type_id);
 if (count($new_content_type_object) < 1) {
	$new_content_types = new new_content_type();
	$new_content_type_object = array();
	array_push($new_content_type_object, $new_content_types);
 }
}

$removeImage = '<li class="category_list"><label>
							 <img src="' . HOME_URL . 'themes/images/remove.png" alt="remove this line" class="remove_row_img" /> </label> ';
$addImage = '<li class="category_list"><label>
							 <img src="' . HOME_URL . 'themes/images/add.png" alt="add new line" class="add_row_img" /> </label> ';

?>
