Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[Release] CryCMS 3.5 [Mysqli] [Base] [Unfinished]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="LeChris" data-source="post: 271391" data-attributes="member: 37998"><p style="text-align: center"><img src="http://i.sharefa.st/Aav7tbIfxBN0.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center">I have been speaking on not only Cry's latest release thread, but on other threads, and just to others generally about CryCMS 3.5 I have only been working on this for about a day, or two...and it has the basics of mysqli. You currently cannot login, register, etc, as I have pretty much fucked Rev over. The only way to save those functions is to upgrade them, I planned on this CMS taking me generally a week at the most, but something has came up recently...and honestly I have no time to spare for coding anymore. I am not saying that I am 100% done with coding all together, I am saying that this will most likely be my last release for a while. </p> <p style="text-align: center">Features (As Of Right Now)</p> <p style="text-align: center">-Mysqli</p> <p style="text-align: center">-Page System (url/(PAGE NAME)</p> <p style="text-align: center">-Widget System (Only Gets Widgets For The Current Page)</p> <p style="text-align: center">Download</p> <p style="text-align: center"><a href="http://www.mediafire.com/download/hz7p1nnij7xgga2/CryCMS3.5.BETA.zip" target="_blank">http://www.mediafire.com/download/hz7p1nnij7xgga2/CryCMS3.5.BETA.zip</a></p> <p style="text-align: center">Snippet (Main File TBH, but you do need some of the files from that download still)</p><p>[PHP]<?php</p><p>define('IN_INDEX', 1);</p><p>$page= $_GET['page'];</p><p>/* CryCMS 3.1.0 Mysqli Edition */</p><p>require_once 'global.php';</p><p>/* Automatically Applies The Basics To Every Page */</p><p>if ($page == Index) {$template->write('{css} {title} {header} {logo} {end} {container}');}</p><p>if ($page == index) {$template->write('{css} {title} {header} {logo} {end} {container}');}</p><p>else {$template->write('{css} {title} {header} {logo} {navi} {end} {container}');} </p><p>$template->outputTPL();</p><p>/* Start Mysqli Connection */</p><p>$mysqli = new mysqli("localhost", "root", "", "phoenix");</p><p>/* 404 Query */</p><p>$get_page = "SELECT * FROM cry_pages WHERE name='".$page."'";</p><p>$query_page = $mysqli->query($get_page);</p><p>if ($query_page){ </p><p>if($query_page->num_rows) {}</p><p>else { echo '<div class="container"><div class="title">404 Page Not Found</div><div class="content"><p><a href="Index" class="button" style="text-decoration:none;">Go back to a working page</a></p></div></div>'; }</p><p>}</p><p>/* Widgets */</p><p>$fetch_widgets = "SELECT * FROM cry_page_widgets WHERE page='".$page."'";</p><p>$query_widgets = $mysqli->query($fetch_widgets);</p><p>while($wg= $query_widgets->fetch_array(MYSQLI_ASSOC)) {</p><p></p><p>$widget=$wg["widget_id"];</p><p></p><p>$get_dem_widgets = "SELECT * FROM cry_widgets WHERE id='".$widget."'";</p><p>$get_widgets = $mysqli->query($get_dem_widgets);</p><p>while($w= $get_widgets->fetch_array(MYSQLI_ASSOC)) {</p><p>$php='<?php';</p><p>$nphp='?>';</p><p>echo '<div id="'.$w["column"].'"><div class="container"><div class="title">'.$w["title"].'</div><div class="content"><p>'.$w["content"].'</p></div></div></div>';</p><p>}}</p><p>if ($query_page == false) { echo '<div class="title">404</div>'; }</p><p>/* Close Connections */</p><p>$query_page->free();</p><p>$query_widgets->free();</p><p>$get_dem_widgets->free();</p><p>$mysqli->close();</p><p>?>[/PHP]</p></blockquote><p></p>
[QUOTE="LeChris, post: 271391, member: 37998"] [CENTER][IMG]http://i.sharefa.st/Aav7tbIfxBN0.png[/IMG] I have been speaking on not only Cry's latest release thread, but on other threads, and just to others generally about CryCMS 3.5 I have only been working on this for about a day, or two...and it has the basics of mysqli. You currently cannot login, register, etc, as I have pretty much fucked Rev over. The only way to save those functions is to upgrade them, I planned on this CMS taking me generally a week at the most, but something has came up recently...and honestly I have no time to spare for coding anymore. I am not saying that I am 100% done with coding all together, I am saying that this will most likely be my last release for a while. Features (As Of Right Now) -Mysqli -Page System (url/(PAGE NAME) -Widget System (Only Gets Widgets For The Current Page) Download [url]http://www.mediafire.com/download/hz7p1nnij7xgga2/CryCMS3.5.BETA.zip[/url] Snippet (Main File TBH, but you do need some of the files from that download still)[/CENTER] [PHP]<?php define('IN_INDEX', 1); $page= $_GET['page']; /* CryCMS 3.1.0 Mysqli Edition */ require_once 'global.php'; /* Automatically Applies The Basics To Every Page */ if ($page == Index) {$template->write('{css} {title} {header} {logo} {end} {container}');} if ($page == index) {$template->write('{css} {title} {header} {logo} {end} {container}');} else {$template->write('{css} {title} {header} {logo} {navi} {end} {container}');} $template->outputTPL(); /* Start Mysqli Connection */ $mysqli = new mysqli("localhost", "root", "", "phoenix"); /* 404 Query */ $get_page = "SELECT * FROM cry_pages WHERE name='".$page."'"; $query_page = $mysqli->query($get_page); if ($query_page){ if($query_page->num_rows) {} else { echo '<div class="container"><div class="title">404 Page Not Found</div><div class="content"><p><a href="Index" class="button" style="text-decoration:none;">Go back to a working page</a></p></div></div>'; } } /* Widgets */ $fetch_widgets = "SELECT * FROM cry_page_widgets WHERE page='".$page."'"; $query_widgets = $mysqli->query($fetch_widgets); while($wg= $query_widgets->fetch_array(MYSQLI_ASSOC)) { $widget=$wg["widget_id"]; $get_dem_widgets = "SELECT * FROM cry_widgets WHERE id='".$widget."'"; $get_widgets = $mysqli->query($get_dem_widgets); while($w= $get_widgets->fetch_array(MYSQLI_ASSOC)) { $php='<?php'; $nphp='?>'; echo '<div id="'.$w["column"].'"><div class="container"><div class="title">'.$w["title"].'</div><div class="content"><p>'.$w["content"].'</p></div></div></div>'; }} if ($query_page == false) { echo '<div class="title">404</div>'; } /* Close Connections */ $query_page->free(); $query_widgets->free(); $get_dem_widgets->free(); $mysqli->close(); ?>[/PHP] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[Release] CryCMS 3.5 [Mysqli] [Base] [Unfinished]
Top