Skip to content
Snippets Groups Projects
inaktive.php 420 B
Newer Older
<?php

$Class = Classloader('inaktive',true);


$zeit = strtotime($_POST['datum']."T00:00:00");


if($_POST['auswahl'] == 0){
	$InaktiveAusgabe = $Class->Suchen($zeit);
}

if($_POST['auswahl'] == 1){
	require_once($_SERVER['DOCUMENT_ROOT'].'/lib/extra/mail.php');
	$Mail = new send_smtp_mail;
	$InaktiveAusgabe = $Class->Erinnern($zeit,$Mail);
}

if($_POST['auswahl'] == 2){
	$InaktiveAusgabe = $Class->Delete($zeit);
}