<?php require_once 'header.php'; $controller = new ControllerTicket(); $ticket = $controller->getTicket(); ?> <!DOCTYPE html> <html lang="en"><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <link rel="shortcut icon" href="bootstrap/images/favicon.ico" type="image/x-icon" /> <title>2CITY ADMIN</title> <!-- Bootstrap core CSS --> <link href="bootstrap/css/bootstrap.css" rel="stylesheet"> <!-- Custom styles for this template --> <link href="bootstrap/css/navbar-fixed-top.css" rel="stylesheet"> <link href="bootstrap/css/custom.css" rel="stylesheet"> <!-- Just for debugging purposes. Don't actually copy this line! --> <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]--> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<?php require_once 'header.php'; $controller = new ControllerTicket(); $ticket = $controller->getTicket(); if (isset($_POST['submit'])) { $itm = new Ticket(); $itm->ticket_url = htmlspecialchars(trim(strip_tags($_POST['ticket_url'])), ENT_QUOTES); $controller->updateTicket($itm); echo "<script type='text/javascript'>location.href='ticket.php';</script>"; } ?> <!DOCTYPE html> <html lang="en"><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <link rel="shortcut icon" href="bootstrap/images/favicon.ico" type="image/x-icon" /> <title>2CITY ADMIN</title> <!-- Bootstrap core CSS --> <link href="bootstrap/css/bootstrap.css" rel="stylesheet"> <!-- Custom styles for this template --> <link href="bootstrap/css/navbar-fixed-top.css" rel="stylesheet"> <link href="bootstrap/css/custom.css" rel="stylesheet">