function cancelEditBanner()
{
    global $database;
    josSpoofCheck();
    $row = new mosBanner($database);
    $row->bind($_POST);
    $row->checkin();
    mosRedirect('index2.php?option=com_banners');
}
Example #2
0
function cancelEditBanner()
{
    global $database;
    $row = new mosBanner($database);
    $row->bind($_POST);
    $row->checkin();
    // sanitize
    $row->id = intval($row->id);
    mosRedirect('index2.php?option=com_banners');
}
Example #3
0
function cancelEditBanner($option)
{
    global $database;
    $row = new mosBanner($database);
    $row->bind($_POST);
    $row->checkin();
    mosRedirect("index2.php?option={$option}");
}