commit 1667e9ac3098be2b56bf10c7de9501a1bbd4e17b Author: xeons Date: Sat Jul 4 04:58:36 2015 -0500 Initial commit diff --git a/bottom.php b/bottom.php new file mode 100644 index 0000000..fd0e0f4 --- /dev/null +++ b/bottom.php @@ -0,0 +1,14 @@ + + + +

+
+ + + + + + + + + \ No newline at end of file diff --git a/checkpw.php b/checkpw.php new file mode 100644 index 0000000..760dff4 --- /dev/null +++ b/checkpw.php @@ -0,0 +1,11 @@ + \ No newline at end of file diff --git a/dbconn.php b/dbconn.php new file mode 100644 index 0000000..693f05c --- /dev/null +++ b/dbconn.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/editentry.php b/editentry.php new file mode 100644 index 0000000..465d0ee --- /dev/null +++ b/editentry.php @@ -0,0 +1,325 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subject: + +
Date:$postdate
Name:$name
AIM:$aim
Email:$email
Emoticon: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + +
Emoticons from PsyGuy
+ http://www.psyguy.com
+
+
News: + +
+
+ +
+
+ +"; +} else { +echo "You are not logged in."; +} include("bottom.php");?> \ No newline at end of file diff --git a/emoticons/1.gif b/emoticons/1.gif new file mode 100644 index 0000000..bce7a78 Binary files /dev/null and b/emoticons/1.gif differ diff --git a/emoticons/10.gif b/emoticons/10.gif new file mode 100644 index 0000000..b58e44f Binary files /dev/null and b/emoticons/10.gif differ diff --git a/emoticons/11.gif b/emoticons/11.gif new file mode 100644 index 0000000..7c16952 Binary files /dev/null and b/emoticons/11.gif differ diff --git a/emoticons/12.gif b/emoticons/12.gif new file mode 100644 index 0000000..ccd4e53 Binary files /dev/null and b/emoticons/12.gif differ diff --git a/emoticons/13.gif b/emoticons/13.gif new file mode 100644 index 0000000..ddbc14e Binary files /dev/null and b/emoticons/13.gif differ diff --git a/emoticons/14.gif b/emoticons/14.gif new file mode 100644 index 0000000..17df758 Binary files /dev/null and b/emoticons/14.gif differ diff --git a/emoticons/15.gif b/emoticons/15.gif new file mode 100644 index 0000000..3aa0bc4 Binary files /dev/null and b/emoticons/15.gif differ diff --git a/emoticons/16.gif b/emoticons/16.gif new file mode 100644 index 0000000..58bc3fd Binary files /dev/null and b/emoticons/16.gif differ diff --git a/emoticons/17.gif b/emoticons/17.gif new file mode 100644 index 0000000..d29b0db Binary files /dev/null and b/emoticons/17.gif differ diff --git a/emoticons/18.gif b/emoticons/18.gif new file mode 100644 index 0000000..14c3412 Binary files /dev/null and b/emoticons/18.gif differ diff --git a/emoticons/19.gif b/emoticons/19.gif new file mode 100644 index 0000000..3b8189b Binary files /dev/null and b/emoticons/19.gif differ diff --git a/emoticons/2.gif b/emoticons/2.gif new file mode 100644 index 0000000..d1b2dff Binary files /dev/null and b/emoticons/2.gif differ diff --git a/emoticons/20.gif b/emoticons/20.gif new file mode 100644 index 0000000..da9ce5e Binary files /dev/null and b/emoticons/20.gif differ diff --git a/emoticons/21.gif b/emoticons/21.gif new file mode 100644 index 0000000..fc5cf75 Binary files /dev/null and b/emoticons/21.gif differ diff --git a/emoticons/22.gif b/emoticons/22.gif new file mode 100644 index 0000000..07eaa24 Binary files /dev/null and b/emoticons/22.gif differ diff --git a/emoticons/23.gif b/emoticons/23.gif new file mode 100644 index 0000000..68c7f6e Binary files /dev/null and b/emoticons/23.gif differ diff --git a/emoticons/24.gif b/emoticons/24.gif new file mode 100644 index 0000000..9e54411 Binary files /dev/null and b/emoticons/24.gif differ diff --git a/emoticons/25.gif b/emoticons/25.gif new file mode 100644 index 0000000..03e8b96 Binary files /dev/null and b/emoticons/25.gif differ diff --git a/emoticons/26.gif b/emoticons/26.gif new file mode 100644 index 0000000..6b1d21d Binary files /dev/null and b/emoticons/26.gif differ diff --git a/emoticons/27.gif b/emoticons/27.gif new file mode 100644 index 0000000..988da8e Binary files /dev/null and b/emoticons/27.gif differ diff --git a/emoticons/28.gif b/emoticons/28.gif new file mode 100644 index 0000000..73f51ec Binary files /dev/null and b/emoticons/28.gif differ diff --git a/emoticons/29.gif b/emoticons/29.gif new file mode 100644 index 0000000..2e302f2 Binary files /dev/null and b/emoticons/29.gif differ diff --git a/emoticons/3.gif b/emoticons/3.gif new file mode 100644 index 0000000..8b5f4c3 Binary files /dev/null and b/emoticons/3.gif differ diff --git a/emoticons/30.gif b/emoticons/30.gif new file mode 100644 index 0000000..cb63ab8 Binary files /dev/null and b/emoticons/30.gif differ diff --git a/emoticons/31.gif b/emoticons/31.gif new file mode 100644 index 0000000..cc2d471 Binary files /dev/null and b/emoticons/31.gif differ diff --git a/emoticons/32.gif b/emoticons/32.gif new file mode 100644 index 0000000..cdcafb7 Binary files /dev/null and b/emoticons/32.gif differ diff --git a/emoticons/33.gif b/emoticons/33.gif new file mode 100644 index 0000000..959efc1 Binary files /dev/null and b/emoticons/33.gif differ diff --git a/emoticons/34.gif b/emoticons/34.gif new file mode 100644 index 0000000..450a218 Binary files /dev/null and b/emoticons/34.gif differ diff --git a/emoticons/35.gif b/emoticons/35.gif new file mode 100644 index 0000000..caba336 Binary files /dev/null and b/emoticons/35.gif differ diff --git a/emoticons/36.gif b/emoticons/36.gif new file mode 100644 index 0000000..bf83c05 Binary files /dev/null and b/emoticons/36.gif differ diff --git a/emoticons/37.gif b/emoticons/37.gif new file mode 100644 index 0000000..2bbd02f Binary files /dev/null and b/emoticons/37.gif differ diff --git a/emoticons/38.gif b/emoticons/38.gif new file mode 100644 index 0000000..2e777df Binary files /dev/null and b/emoticons/38.gif differ diff --git a/emoticons/39.gif b/emoticons/39.gif new file mode 100644 index 0000000..2dd5648 Binary files /dev/null and b/emoticons/39.gif differ diff --git a/emoticons/4.gif b/emoticons/4.gif new file mode 100644 index 0000000..c3cc02c Binary files /dev/null and b/emoticons/4.gif differ diff --git a/emoticons/40.gif b/emoticons/40.gif new file mode 100644 index 0000000..fca4272 Binary files /dev/null and b/emoticons/40.gif differ diff --git a/emoticons/41.gif b/emoticons/41.gif new file mode 100644 index 0000000..8bc8452 Binary files /dev/null and b/emoticons/41.gif differ diff --git a/emoticons/42.gif b/emoticons/42.gif new file mode 100644 index 0000000..4cedfa8 Binary files /dev/null and b/emoticons/42.gif differ diff --git a/emoticons/43.gif b/emoticons/43.gif new file mode 100644 index 0000000..f01afa0 Binary files /dev/null and b/emoticons/43.gif differ diff --git a/emoticons/44.gif b/emoticons/44.gif new file mode 100644 index 0000000..55b974f Binary files /dev/null and b/emoticons/44.gif differ diff --git a/emoticons/45.gif b/emoticons/45.gif new file mode 100644 index 0000000..f1e7045 Binary files /dev/null and b/emoticons/45.gif differ diff --git a/emoticons/46.gif b/emoticons/46.gif new file mode 100644 index 0000000..0bc5e00 Binary files /dev/null and b/emoticons/46.gif differ diff --git a/emoticons/47.gif b/emoticons/47.gif new file mode 100644 index 0000000..e0bbe32 Binary files /dev/null and b/emoticons/47.gif differ diff --git a/emoticons/48.gif b/emoticons/48.gif new file mode 100644 index 0000000..e45a05a Binary files /dev/null and b/emoticons/48.gif differ diff --git a/emoticons/49.gif b/emoticons/49.gif new file mode 100644 index 0000000..fe6f730 Binary files /dev/null and b/emoticons/49.gif differ diff --git a/emoticons/5.gif b/emoticons/5.gif new file mode 100644 index 0000000..5a6db74 Binary files /dev/null and b/emoticons/5.gif differ diff --git a/emoticons/50.gif b/emoticons/50.gif new file mode 100644 index 0000000..18884dc Binary files /dev/null and b/emoticons/50.gif differ diff --git a/emoticons/51.gif b/emoticons/51.gif new file mode 100644 index 0000000..7431c56 Binary files /dev/null and b/emoticons/51.gif differ diff --git a/emoticons/52.gif b/emoticons/52.gif new file mode 100644 index 0000000..92a39a0 Binary files /dev/null and b/emoticons/52.gif differ diff --git a/emoticons/53.gif b/emoticons/53.gif new file mode 100644 index 0000000..3bc2f7d Binary files /dev/null and b/emoticons/53.gif differ diff --git a/emoticons/54.gif b/emoticons/54.gif new file mode 100644 index 0000000..5933713 Binary files /dev/null and b/emoticons/54.gif differ diff --git a/emoticons/55.gif b/emoticons/55.gif new file mode 100644 index 0000000..99ca5c0 Binary files /dev/null and b/emoticons/55.gif differ diff --git a/emoticons/56.gif b/emoticons/56.gif new file mode 100644 index 0000000..609ad9f Binary files /dev/null and b/emoticons/56.gif differ diff --git a/emoticons/57.gif b/emoticons/57.gif new file mode 100644 index 0000000..958d447 Binary files /dev/null and b/emoticons/57.gif differ diff --git a/emoticons/6.gif b/emoticons/6.gif new file mode 100644 index 0000000..fdf0a79 Binary files /dev/null and b/emoticons/6.gif differ diff --git a/emoticons/7.gif b/emoticons/7.gif new file mode 100644 index 0000000..0318387 Binary files /dev/null and b/emoticons/7.gif differ diff --git a/emoticons/8.gif b/emoticons/8.gif new file mode 100644 index 0000000..d622d4f Binary files /dev/null and b/emoticons/8.gif differ diff --git a/emoticons/9.gif b/emoticons/9.gif new file mode 100644 index 0000000..89893b7 Binary files /dev/null and b/emoticons/9.gif differ diff --git a/emoticons/Thumbs.db b/emoticons/Thumbs.db new file mode 100644 index 0000000..de21386 Binary files /dev/null and b/emoticons/Thumbs.db differ diff --git a/index.php b/index.php new file mode 100644 index 0000000..d3b9d64 --- /dev/null +++ b/index.php @@ -0,0 +1,25 @@ +
Welcome $username to Twisted News!
Back to Twisted Dreams


+
+
+ + + + + + +
+ + + + + +
+ "; +} else { +echo "
You are not logged into Twisted News, Click here to login!"; +} include("bottom.php"); ?> diff --git a/login.php b/login.php new file mode 100644 index 0000000..3be344c --- /dev/null +++ b/login.php @@ -0,0 +1,14 @@ +Continue"; +?> \ No newline at end of file diff --git a/loginpage.php b/loginpage.php new file mode 100644 index 0000000..8f9079e --- /dev/null +++ b/loginpage.php @@ -0,0 +1,19 @@ + +You are already logged in as $username
To Control Panel"; +} else { +echo " +

+ +News Script Login: +

+Username:
+Password:
+
+

+
+
"; +}include("bottom.php");?> \ No newline at end of file diff --git a/logout.php b/logout.php new file mode 100644 index 0000000..d86e9af --- /dev/null +++ b/logout.php @@ -0,0 +1,5 @@ + Login as a new User!"; + ?> \ No newline at end of file diff --git a/modifynews.php b/modifynews.php new file mode 100644 index 0000000..8af8789 --- /dev/null +++ b/modifynews.php @@ -0,0 +1,53 @@ +

"; +if ($action == 1) { +$result = mysql_query("delete from news where eid='$eid'"); +echo "The news entry has been deleted.


"; +} +echo " +Modify News: +

"; + +$result = mysql_query("select uid from users where userid='$username'"); +$aid=mysql_result($result, 0); +if ($username == "Brandon") { + $resultafff = mysql_query("select * from news order by eid DESC"); +} else { + $resultafff = mysql_query("select * from news where pid='$aid' order by eid DESC"); +} + +if (mysql_num_rows($resultafff)) { + while ($row=mysql_fetch_assoc($resultafff)) { + $eid = $row["eid"]; + $pid = $row["pid"]; + $subject = $row["subject"]; + $date = $row["date"]; + $emoticon = $row["emoticon"]; + $txtnews = $row["txtnews"]; + + $userinfo = mysql_query("select * from users where uid='$pid'"); + while ($row=mysql_fetch_assoc($userinfo)) { + $name = $row["userid"]; + $aim = $row["aim"]; + $email = $row["email"]; + $txtnews = str_replace ("\n", "
", $txtnews); + $txtnews = str_replace ("8-)", "", $txtnews); + $txtnews = str_replace (":-)", "", $txtnews); + $txtnews = str_replace (">:-(", "", $txtnews); + $txtnews = str_replace (">:o", "", $txtnews); + $txtnews = str_replace (";-)", "", $txtnews); + $txtnews = str_replace (":-(", "", $txtnews); + $txtnews = str_replace (":-D", "", $txtnews); + echo "Subject: $subject
User: $name
$txtnews
Delete - Edit Entry

"; +} +} +} else { +echo "No News post yet."; +} +echo "

+Return to Control Panel"; +} else { +echo "You are not logged in."; +} +include("bottom.php"); ?> \ No newline at end of file diff --git a/post_before.htm b/post_before.htm new file mode 100644 index 0000000..a0dac4d --- /dev/null +++ b/post_before.htm @@ -0,0 +1,303 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subject: + +
Date:$date
Name:$name
AIM:$aim
Email:$email
Emoticon: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + +
Emoticons from PsyGuy
+ http://www.psyguy.com
+
+
News: + +
+
+ +
+
+
+
diff --git a/postit.php b/postit.php new file mode 100644 index 0000000..aa1f976 --- /dev/null +++ b/postit.php @@ -0,0 +1,18 @@ +Back to Control Panel"; +} else { +echo "You are not logged in, Therfore you cannot post news on Twisted Dreams. Login In Now!"; +} ?> \ No newline at end of file diff --git a/postnews.php b/postnews.php new file mode 100644 index 0000000..1a7d00a --- /dev/null +++ b/postnews.php @@ -0,0 +1,317 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subject: + +
Date:$date
Name:$name
AIM:$aim
Email:$email
Emoticon: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + +
Emoticons from PsyGuy
+ http://www.psyguy.com
+
+
News: + +
+
+ +
+
+ +
+"; +} else { +echo "You are not logged in."; +} include("bottom.php");?> \ No newline at end of file diff --git a/postsettings.php b/postsettings.php new file mode 100644 index 0000000..02cc114 --- /dev/null +++ b/postsettings.php @@ -0,0 +1,13 @@ +

"; +if ($action == 1) { +$result = mysql_query("update news set subject='$subject', emoticon='$emoticon', txtnews='$txtnews' where eid='$eid'"); +echo "The news entry has been updated.

Back to Control Panel"; +} else { +echo "Unknown Action


"; +} +} else { +echo "Not Logged In


"; +} +include("bottom.php"); ?> \ No newline at end of file diff --git a/smileys/Thumbs.db b/smileys/Thumbs.db new file mode 100644 index 0000000..4b84619 Binary files /dev/null and b/smileys/Thumbs.db differ diff --git a/smileys/cool.gif b/smileys/cool.gif new file mode 100644 index 0000000..4a23330 Binary files /dev/null and b/smileys/cool.gif differ diff --git a/smileys/happy.gif b/smileys/happy.gif new file mode 100644 index 0000000..06906b2 Binary files /dev/null and b/smileys/happy.gif differ diff --git a/smileys/mad.gif b/smileys/mad.gif new file mode 100644 index 0000000..64b0fc9 Binary files /dev/null and b/smileys/mad.gif differ diff --git a/smileys/reallyhappy.gif b/smileys/reallyhappy.gif new file mode 100644 index 0000000..ca683bd Binary files /dev/null and b/smileys/reallyhappy.gif differ diff --git a/smileys/sad.gif b/smileys/sad.gif new file mode 100644 index 0000000..d9df23a Binary files /dev/null and b/smileys/sad.gif differ diff --git a/smileys/winking.gif b/smileys/winking.gif new file mode 100644 index 0000000..fd57f1f Binary files /dev/null and b/smileys/winking.gif differ diff --git a/smileys/yelling.gif b/smileys/yelling.gif new file mode 100644 index 0000000..e754658 Binary files /dev/null and b/smileys/yelling.gif differ diff --git a/top.php b/top.php new file mode 100644 index 0000000..f4fb1b7 --- /dev/null +++ b/top.php @@ -0,0 +1,49 @@ + + +Twisted Dreams - Version 3.0 + + + + +
+ + + + + +
+ + + +
+

+
+

+ + + + + + + + + + +
+
Please + Support us, Click the AD!
+
\ No newline at end of file diff --git a/viewnews.php b/viewnews.php new file mode 100644 index 0000000..ac56c52 --- /dev/null +++ b/viewnews.php @@ -0,0 +1,72 @@ +", $txtnews); + $txtnews = str_replace ("8-)", "", $txtnews); + $txtnews = str_replace (":-)", "", $txtnews); + $txtnews = str_replace (">:-(", "", $txtnews); + $txtnews = str_replace (">:o", "", $txtnews); + $txtnews = str_replace (";-)", "", $txtnews); + $txtnews = str_replace (":-(", "", $txtnews); + $txtnews = str_replace (":-D", "", $txtnews); + echo " + + + + + + + + + +
+
$subject
+
+ + + + + + + + + + + + + + + + + +
User: +$name +
+
+
+
Date: +$date
Email: +Email Me
 
+
$txtnews
+
+
+
+
"; +} +} +} else { +echo "No news Entries yet.
"; +} +?> \ No newline at end of file