function quest_admin_editdialogstory($lilo_id = NULL)
{
    if (!isset($lilo_id)) {
        $lilo_id = func_arg(0);
    }
    if (!isset($lilo_id)) {
        return false;
    }
    $dialog_story_detail = quest_admin_dialogstorydetailbyid($lilo_id);
}
Exemple #2
0
function quest_admin_editdialogstory($lilo_id = NULL)
{
    if (!isset($lilo_id)) {
        $lilo_id = func_arg(0);
    }
    if (!isset($lilo_id)) {
        return false;
    }
    $dialog_story_detail = quest_admin_dialogstorydetailbyid($lilo_id);
    $template = new Template();
    $logged_in = user_user_loggedin();
    // Deteksi User Agent
    $template->logged_in = $logged_in;
    $template->basepath = $_SESSION['basepath'];
    $template->lilo_id = $lilo_id;
    $template->dialog_story_detail = $dialog_story_detail;
    //json_encode($dialog_story_detail);
    $return = $template->render("modules/006_quest_engine/templates/quest_admin_editdialogstory.php");
    return $return;
}