Poorly written, but I guess at least it works.
Code:
<html>
<head>
<title>Admin Page</title>
<link type="text/css" rel="stylesheet" href="css/style.css">
</head>
<body bgcolor="#E6E6E6">
<div id="login1">
<div id="login2">
<a href="delete.php?postID=<?=$postID?>">CONFIRM DELETE</a><br />
<a href="edit.php?postID=<?=$postID?>">GO BACK</a><br />
</div>
</div>
</body>
</html>
CSS in a <body> tag for no reason. Nested <div> tags and with their own IDs for no reason. All caps text. No DOCTYPE.
Code:
<body onload = "getDate()">
<div class="container">
<div class="header">
</div>
<table height="100%"><tr><td>
<div class="menu-container">
<div class="menu">
<?php include('layout/menu.html'); ?>
</div>
</div>
<div class="main-container">
<div class="main">
<form action="action.php" method="post">
<h3>New Post: </h3>
Title: <input type="text" maxlength="50" name="title" />
<input type="text" maxlength="50" name="date" id="dateText" hidden="true" />
<input type="text" maxlength="50" name="month" id="monthText" hidden="true" />
<br />
<textarea cols="90" rows="30" name="content"></textarea>
<br />
<input type="submit">
</form>
</div>
</div>
</td><td>
<div class="images-container">
<div class="images">
<?php include('layout/images.html'); ?>
</div>
</div>
</td></tr></table>
<div class="footer">
</div>
</div>
Empty <div> tags. A somewhat table based layout. Over usage of classes.
That's just in the first two random pages I came across. I'm ok with it not being fully functional, but it needs to pass the basics for being well written in the first place.
Bookmarks