예제 #1
0
function cancelEditBanner()
{
    global $database;
    josSpoofCheck();
    $row = new mosBanner($database);
    $row->bind($_POST);
    $row->checkin();
    mosRedirect('index2.php?option=com_banners');
}
예제 #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');
}
예제 #3
0
파일: admin.banners.php 프로젝트: cwcw/cms
function cancelEditBanner($option)
{
    global $database;
    $row = new mosBanner($database);
    $row->bind($_POST);
    $row->checkin();
    mosRedirect("index2.php?option={$option}");
}