a little less ugly
This commit is contained in:
+10
-2
@@ -15,12 +15,20 @@ body {
|
|||||||
|
|
||||||
.column {
|
.column {
|
||||||
display:block;
|
display:block;
|
||||||
float:top;
|
|
||||||
width:33%;
|
width:33%;
|
||||||
margin-left:0;
|
margin-left:auto;
|
||||||
margin-right:auto;
|
margin-right:auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.left {
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.right {
|
||||||
|
float:right;
|
||||||
|
width:66%;
|
||||||
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
background-color: rgb(219, 255, 235);
|
background-color: rgb(219, 255, 235);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|||||||
+5
-2
@@ -27,13 +27,13 @@ $result = $statement->execute();
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<div class="column left">
|
||||||
<?php
|
<?php
|
||||||
while($results=$result->fetchArray(SQLITE3_ASSOC))
|
while($results=$result->fetchArray(SQLITE3_ASSOC))
|
||||||
{
|
{
|
||||||
$comname = preg_replace('/ /', '_', $results['Com_Name']);
|
$comname = preg_replace('/ /', '_', $results['Com_Name']);
|
||||||
$comlink = "/By_Date/".date('Y-m-d')."/".$comname;
|
$comlink = "/By_Date/".date('Y-m-d')."/".$comname;
|
||||||
?>
|
?>
|
||||||
<div class="column">
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<form action="" method="POST">
|
<form action="" method="POST">
|
||||||
@@ -43,9 +43,10 @@ while($results=$result->fetchArray(SQLITE3_ASSOC))
|
|||||||
</form>
|
</form>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
<?php
|
<?php
|
||||||
}?>
|
}?>
|
||||||
|
</div>
|
||||||
|
<div class="column right">
|
||||||
<?php
|
<?php
|
||||||
if(isset($_POST['species'])){
|
if(isset($_POST['species'])){
|
||||||
$name = $_POST['species'];
|
$name = $_POST['species'];
|
||||||
@@ -83,5 +84,7 @@ while($results=$result->fetchArray(SQLITE3_ASSOC))
|
|||||||
</tr>";
|
</tr>";
|
||||||
|
|
||||||
}echo "</table>";}?>
|
}echo "</table>";}?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user