Einchecken des Online-Codes
This commit is contained in:
34
admin/inhalte/stammdaten/schnitt/pd_over.php
Normal file
34
admin/inhalte/stammdaten/schnitt/pd_over.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
if ( $_SESSION['IsAdmin'] )
|
||||
{
|
||||
$sql = "SELECT * FROM Portale WHERE Aktiv = '1' ORDER BY Portal ASC;";
|
||||
$result = $db->query($sql);
|
||||
$anz = $result->num_rows;
|
||||
?>
|
||||
<table>
|
||||
<colgroup>
|
||||
<col width="55px" />
|
||||
<col width="705px" />
|
||||
</colgroup>
|
||||
<tr height="30">
|
||||
<th style="text-align:right;padding-right:10px;"><?php echo $anz; ?></th>
|
||||
<th style="text-align:left;">Portal</th>
|
||||
</tr>
|
||||
<?php
|
||||
while ( $nt = $result->fetch_assoc() )
|
||||
{
|
||||
?>
|
||||
<tr><form name="Edit<?php echo $nt['ID']; ?>" action="index.php?<?php echo $_SERVER['QUERY_STRING']; ?>" method="post">
|
||||
<input type="hidden" name="ID" value="<?php echo $nt['ID']; ?>" />
|
||||
<input type="hidden" name="action" value="Bearbeiten" />
|
||||
<td> </td>
|
||||
<td><a href="#" onclick="document.Edit<?php echo $nt['ID']; ?>.submit();"><?php echo $nt['Portal']; ?></a></td>
|
||||
</form></tr>
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user