/    Sign up×
Community /Pin to ProfileBookmark

Blog management system

I have built my own blog management system.
Please check it out and let others that may be interested know about it. Any constructive feedback is much apreachiated!

[url]http://www.snuffypot11.com/projects.php[/url]

Please note that this is not yet fully featured as it was a weekend project.

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@spufiMar 05.2012 — Poorly written, but I guess at least it works.

<i>
</i>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Admin Page&lt;/title&gt;

&lt;link type="text/css" rel="stylesheet" href="css/style.css"&gt;

&lt;/head&gt;
&lt;body bgcolor="#E6E6E6"&gt;

&lt;div id="login1"&gt;
&lt;div id="login2"&gt;

<i> </i>&lt;a href="delete.php?postID=&lt;?=$postID?&gt;"&gt;CONFIRM DELETE&lt;/a&gt;&lt;br /&gt;
<i> </i>&lt;a href="edit.php?postID=&lt;?=$postID?&gt;"&gt;GO BACK&lt;/a&gt;&lt;br /&gt;

&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;


CSS in a <body> tag for no reason. Nested <div> tags and with their own IDs for no reason. All caps text. No DOCTYPE.

<i>
</i>&lt;body onload = "getDate()"&gt;
&lt;div class="container"&gt;
&lt;div class="header"&gt;
&lt;/div&gt;
&lt;table height="100%"&gt;&lt;tr&gt;&lt;td&gt;
&lt;div class="menu-container"&gt;
&lt;div class="menu"&gt;
&lt;?php include('layout/menu.html'); ?&gt;
&lt;/div&gt;

<i> </i>&lt;/div&gt;

<i> </i>&lt;div class="main-container"&gt;

<i> </i> &lt;div class="main"&gt;
<i> </i> &lt;form action="action.php" method="post"&gt;
<i> </i> &lt;h3&gt;New Post: &lt;/h3&gt;
<i> </i> Title: &lt;input type="text" maxlength="50" name="title" /&gt;
<i> </i> &lt;input type="text" maxlength="50" name="date" id="dateText" hidden="true" /&gt;
<i> </i> &lt;input type="text" maxlength="50" name="month" id="monthText" hidden="true" /&gt;
<i> </i> &lt;br /&gt;
<i> </i> &lt;textarea cols="90" rows="30" name="content"&gt;&lt;/textarea&gt;
<i> </i> &lt;br /&gt;
<i> </i> &lt;input type="submit"&gt;
<i> </i> &lt;/form&gt;
<i> </i> &lt;/div&gt;

<i> </i>&lt;/div&gt;

<i> </i>&lt;/td&gt;&lt;td&gt;

<i> </i>&lt;div class="images-container"&gt;

<i> </i> &lt;div class="images"&gt;

<i> </i> &lt;?php include('layout/images.html'); ?&gt;

<i> </i> &lt;/div&gt;

<i> </i>&lt;/div&gt;
<i> </i>&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

<i> </i>&lt;div class="footer"&gt;
<i> </i>&lt;/div&gt;

&lt;/div&gt;


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.
×

Success!

Help @Snuffypot11 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...