コード例 #1
0
ファイル: update_application.php プロジェクト: nikeshydav/dts
<?php

ini_set('display_errors', 'off');
require_once 'include/session.php';
include "class.docket.php";
$obj = new docket();
if ($_GET['action'] == 'edit') {
    $id = $_GET['id'];
    $obj->edit_application($id);
}
if ($_GET['action'] == 'delete') {
    $id = $_REQUEST['id'];
    $obj->delete_application($id);
}
?>
<html> <!--  manifest="cache.appcache" -->
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Update Application</title>
        <link rel="stylesheet" href="css/jquery.fancybox.css" />
        <link rel="stylesheet" href="css/jquery-ui.css" />
        <link rel="stylesheet" href="css/custom.css" />
        <link rel="stylesheet" href="css/menu.css" />
        <script src="js/jquery-1.8.3.min.js"></script>
        <script src="js/jquery-ui.js"></script>
        <script src="js/jquery.fancybox.js"></script>
        <script src="js/custom.js"></script>

        <style>
            #addVar,#addStatusRecordals{background: none repeat scroll 0 0 #000000;color: #FFFFFF;padding: 3px;cursor: pointer;}
            .removeStatusRecordals {background: none repeat scroll 0 0 #8d8d8d;color: #FFFFFF;padding: 3px;cursor: pointer;}