comparison Owls.php @ 4:3cacc24e1774

large CSS improvements; modified banner
author Meillo r e t u r n s <meillo@marmaro.de>
date Tue, 12 Dec 2006 22:09:47 +0100
parents ab74e95a8040
children 144bc36a6c27
comparison
equal deleted inserted replaced
3:92a8978e68c5 4:3cacc24e1774
180 echo ' <div id="content">'."\n"; 180 echo ' <div id="content">'."\n";
181 181
182 // display admin controls if logged in 182 // display admin controls if logged in
183 if ($lsys->loggedIn()) { 183 if ($lsys->loggedIn()) {
184 ?> 184 ?>
185 <div class="ctrl" style="font-size: 0.8em;"> 185 <div class="ctrl">
186 <a href="<?php echo $row['id'] .'n'; ?>">new</a> 186 <a href="<?php echo $row['id'] .'n'; ?>">new</a>
187 <a href="<?php echo $row['id'] .'e'; ?>">edit</a> 187 <a href="<?php echo $row['id'] .'e'; ?>">edit</a>
188 <?php 188 <?php
189 if ($row['id'] != 1) { 189 if ($row['id'] != 1) {
190 echo '<a href="javascript:sureToDelete('. $row['id'] .')">delete</a>'; 190 echo '<a href="javascript:sureToDelete('. $row['id'] .')">delete</a>';
218 $sql = "select * from ". DB_PREFIX ."Owls where id=$_GET[id]"; 218 $sql = "select * from ". DB_PREFIX ."Owls where id=$_GET[id]";
219 $result = mysql_query($sql) or die(mysql_error()); 219 $result = mysql_query($sql) or die(mysql_error());
220 $row = mysql_fetch_array($result); 220 $row = mysql_fetch_array($result);
221 echo '<div id="content">'; 221 echo '<div id="content">';
222 ?> 222 ?>
223 <div id="edit"> 223 <div id="edit" style="position: relative; width: 99%">
224 <form action="<?php echo $row['id']; ?>" method="post" enctype="multipart/form-data"> 224 <form action="<?php echo $row['id']; ?>" method="post" enctype="multipart/form-data">
225 <?php 225 <?php
226 if ($_GET['id'] != 1) { 226 if ($_GET['id'] != 1) {
227 ?> 227 ?>
228 <select name="editDoc_idCategory" style="width: 99%;"> 228 <select name="editDoc_idCategory" style="width: 99%;">