Ejemplo n.º 1
0
<?php 
require_once '/var/www/html/app/model/connect.php';
require_once 'editRoundExe.php';
if (isset($_POST['submit'])) {
    editRound();
    header("Location:index.php");
}
?>
<html lang="en"><head>

    <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="">

    <title>Edit</title>

    <!-- Bootstrap Core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="css/landing-page.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
Ejemplo n.º 2
0
     $showList = true;
     savetour($smarty);
     reload($smarty);
     break;
 case "addround":
     $template = "tour_admin.tpl";
     $showDetail = true;
     $editDetail = true;
     $id = addround($smarty);
     editDetail($smarty, $id);
     break;
 case "editround":
     $template = "tour_admin.tpl";
     $showDetail = true;
     $editDetail = true;
     editRound($smarty);
     editDetail($smarty, $_REQUEST['id']);
     break;
 case "delround":
     $template = "tour_admin.tpl";
     $showDetail = true;
     $editDetail = true;
     delround($smarty);
     editDetail($smarty, $_REQUEST['id']);
     break;
 case "register":
     $template = "tour_register.tpl";
     $showList = true;
     showRegister($smarty);
     break;
 case "searchreg":