C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\zomplog\admin\members.php


1
<?php/* Written by Gerben Schmidt, http://scripts.zomp.nl */include_once("config.php");include('session.php');include('header.php');include("../language/$language");?><table width="600" border="0" cellspacing="0" cellpadding="0" class="admin">  <tr>    <td width="200" class="admin" valign="top"><?echo "<table width='200' border='0' cellspacing='0' class='admin'>";echo "<tr>";echo "<td class='admin'>&nbsp;</td>";echo "</tr>";echo "<tr><td class='admin_title'>$entries</tr></td>";echo "<tr><td class='admin'><a href='newentry.php'>$newentry</a></tr></td>";echo "<tr><td class='admin'><a href='editor_select.php'>$editentry</a></tr></td>";echo "<tr>";echo "<td>&nbsp;</td>";echo "</tr>";echo "<tr><td class='admin_title'>$personalsettings</b></tr></td>";echo "<tr><td class='admin'><a href='password.php'>$changepass</a></tr></td>";$username $_SESSION['login'];$query mysql_query("SELECT * FROM $table_users WHERE (login = '$username')"); while ($row mysql_fetch_array ($query)) {$admin $row['permissions'];$id $row['id'];if($admin!=0){echo "<tr>";echo "<td>&nbsp;</td>";echo "</tr>";echo "<tr><td class='admin_title'>$adminfeatures</b></tr></td>";echo "<tr><td class='admin'><a href='category.php'>$managecat</a></tr></td>";echo "<tr><td class='admin'><a href='users.php'>$manageusers</a></tr></td>";echo "<tr><td class='admin'><a href='editor_comments_select.php'>$managecomments</a></tr></td>";}}echo "<tr>";echo "<td>&nbsp;</td>";echo "</tr>";echo "</table>";?></td>    <td width="400" class="admin" valign="top"><?// latest 5 commentsecho "<table width='300' border='0' cellspacing='0' class='admin'>";echo "<tr>";echo "<td>&nbsp;</td>";echo "</tr>";echo "<tr>";echo "<td class='admin_title'>$latest5posts</td>";echo "</tr>";$query mysql_query("SELECT * FROM $table WHERE (userid = $id) ORDER BY 'id' DESC LIMIT 5");while($row mysql_fetch_array($query)) {$id $row['id'];$title $row['title'];$text $row['text'];$date $row['date'];echo "<tr>"; echo "<td width='300' class='admin'>";echo "$title";echo "</td>";echo "<td width='50'>&nbsp;</td>";echo "<td width='100'>";echo "<a href='editor.php?id=$id'>$edit</a> | <A HREF='schredder.php?tablename=$table&id=$id' onclick=\"return verify()\">$delete</A>";echo("");echo "</td>";echo "</tr>";}echo "<tr>";echo "<td>&nbsp;</td>";echo "</tr>";echo "</table>";?></td>  </tr></table><?include('footer.php');?>