<?php
include_once 'includes.php';

if(isSet($_POST['ads_title']) && isSet($_POST['ads_description']) && isSet($_POST['ads_url']) && isSet($_POST['ads_durl']) && isSet($_POST['ads_img'])) {
   $ads_title=$_POST['ads_title'];
   $ads_description=$_POST['ads_description'];
   $ads_url=$_POST['ads_url'];
   $ads_durl=$_POST['ads_durl'];
   $ads_img=$_POST['ads_img'];
   $data=$MatAdmin->Insert_Advertisment($ads_title,$ads_description,$ads_url,$ads_durl,$ads_img);
}
?>
