Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link rel="stylesheet" href="../css/blueprint/screen.css" type="text/css" media="screen, projection">
- <link rel="stylesheet" href="../css/nav.css" type="text/css" media="screen, projection">
- <link rel="stylesheet" type="text/css" href="../css/anytime.css" />
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="anytime.js"></script>
- <title>Capital Index</title>
- <style type="text/css">
- input.datetime
- {
- background-image:url("images/calendar.png");
- background-position:right center;
- background-repeat:no-repeat;
- border:1px solid #FFC030;
- color:#3090C0;
- font-weight:bold
- }
- label
- {
- width: 15em;
- float: left;
- text-align: left;
- margin-right: 0.5em;
- display: block
- }
- .submit input
- {
- margin-left: 5.5em;
- }
- </style>
- <script type="text/javascript">
- $(document).ready(function(){
- $('input[class="datetime"]').AnyTime_picker({ format: "%d/%m/%y %H:%i", firstDOW: 1});
- });
- </script>
- </head>
- <body>
- <div class="container">
- <div class="span-24">
- <hr>
- <h1>SOLST Capital Index</h1>
- <?php include '../nav.php'; ?>
- </div>
- <?php
- $database = new PDO('sqlite:capitalcalendar.sqlite');
- $obeliskdate = strtotime($_POST["obelisk"]);
- $providencedate = strtotime($_POST["providence"]);
- $morosdatedate = strtotime($_POST["moros"]);
- $revelationdate = strtotime($_POST["revelation"]);
- $thanatosdate = strtotime($_POST["thanatos"]);
- $archondate = strtotime($_POST["archon"]);
- $chimeradate = strtotime($_POST["chimera"]);
- $nidhoggurdate = strtotime($_POST["nidhoggur"]);
- $rorqualdate = strtotime($_POST["rorqual"]);
- $orcadate = strtotime($_POST["orca"]);
- $caprepdate = strtotime($_POST["caprep"]);
- $capsbdate = strtotime($_POST["capsb"]);
- $caprardate = strtotime($_POST["caprar"]);
- $caprsbdate = strtotime($_POST["caprsb"]);
- $capretdate = strtotime($_POST["capret"]);
- $triagedate = strtotime($_POST["triage"]);
- $siegedate = strtotime($_POST["siege"]);
- $indycoredate = strtotime($_POST["indycore"]);
- $dragonflydate = strtotime($_POST["dragonfly"]);
- $firbolgdate = strtotime($_POST["firbolg"]);
- $einherjidate = strtotime($_POST["einherji"]);
- $templardate = strtotime($_POST["templar"]);
- if($_POST["obelisk"] != "")
- {
- $query = "UPDATE calendar
- SET compdate = " . $obeliskdate .
- " WHERE id='obelisk';";
- $database->exec($query) or die(print_r($database->errorInfo(), true));
- }
- if($_POST["providence"] != "")
- {
- $query = "UPDATE calendar
- SET compdate = " . $providencedate .
- " WHERE id='providence';";
- $database->exec($query) or die(print_r($database->errorInfo(), true));
- }
- ?>
- <hr>
- <div class="span-12">
- <h2>New Price Form</h2>
- <form name="minprices" method="POST" action="capitalcalendarupdate.php" style="margin-left:50px;">
- <label for="obelisk">Obelisk </label><input type="text" class="datetime" id="obelisk" name="obelisk"><br>
- <label for="providence">Providence</label> <input type="text" name="providence" class="datetime" id="providence"><br>
- <label for="moros">Moros </label><input type="text" name="moros" class="datetime" id="moros"><br>
- <label for="revelation">Revelation </label><input type="text" name="revelation" class="datetime" id="revelation"><br>
- <label for="thanatos">Thanatos </label><input type="text" name="thanatos" class="datetime" id="thanatos"><br>
- <label for="archon">Archon </label><input type="text" name="archon" class="datetime" id="archon"><br>
- <label for="chimera">Chimera </label> <input type="text" name="chimera" class="datetime" id="chimera"><br>
- <label for="nidhoggur">Nidhoggur </label> <input type="text" name="nidhoggur" class="datetime" id="nidhoggur"><br>
- <label for="rorqual">Rorqual </label> <input type="text" name="rorqual" class="datetime" id="rorqual"><br>
- <label for="orca">Orca </label> <input type="text" name="orca" class="datetime" id="orca"><br>
- <label for="caprep">Capital Armor Repair </label> <input type="text" name="caprep" class="datetime" id="caprep"><br>
- <label for="capsb">Capital Shield Booster </label> <input type="text" name="capsb" class="datetime" id="capsb"><br>
- <label for="caprar">Capital Remote Armor Repair </label> <input type="text" name="caprar" class="datetime" id="caprar"><br>
- <label for="caprsb">Capital Shield Transporter </label> <input type="text" name="caprsb" class="datetime" id="caprsb"><br>
- <label for="capret">Capital Energy Transfer </label> <input type="text" name="capret" class="datetime" id="capret"><br>
- <label for="triage">Triage Module </label> <input type="text" name="triage" class="datetime" id="triage"><br>
- <label for="siege">Siege Module </label> <input type="text" name="siege" class="datetime" id="siege"><br>
- <label for="indycore">Industrial Core </label> <input type="text" name="indycore" class="datetime" id="indycore"><br>
- <label for="dragonfly">Dragonfly </label> <input type="text" name="dragonfly" class="datetime" id="dragonfly"><br>
- <label for="firbolg">Firbolg </label> <input type="text" name="firbolg" class="datetime" id="firbolg"><br>
- <label for="einherji">Einherji </label> <input type="text" name="einherji" class="datetime" id="einherji"><br>
- <label for="templar">Templar </label> <input type="text" name="templar" class="datetime" id="templar"><br>
- <br>
- <label for="password">Password </label> <input type="password" name="password"><br>
- <input type="submit" value="Submit">
- </form>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement