nvm., i got it.
and btw, i'll test out if my mysql is made.
( Holo.BE )
Printable View
nvm., i got it.
and btw, i'll test out if my mysql is made.
( Holo.BE )
ok im working on the mysql now
ok i just added the mysql
there being edited to .tpl
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--Estructura de tabla para la tabla `groups_memberships`
--
CREATE TABLE I' at line 9
I have the sql in it, now i'll get this error on the page
Notice: Undefined variable: lefts in C:\xampp\htdocs\groepen.php on line 50
Notice: Undefined variable: rights in C:\xampp\htdocs\groepen.php on line 51
Wrong. MySQL is over-kill for the HDD. If you computer experience you will realise that HDD's are a bottle neck. It's the only moving part in your machine. Hence making it the slowest.
If you knew how to properly optimize things, code around your emulator to build up a proper Cache system you could easily handle 500 online with <2GB RAM.
It's important to cache as many things as you can with critical applications that serve clients. Relying on MySQL to do all the work is death for your machine
RAM is random access memory (if you didn't know). MySQL only uses RAM to process queries.
I've had 700 online on my old hotel with 2 GB RAM. Less than 1 GB RAM was used because the server was properly optimized.
Enough of that anyways..
'RawCMS' What the fuck is this ? It's UberCMS. You have no right to re-name some one else's software. It's cancer like you killing this sectionQuote:
<?php
/*===================================================+
|| # RawCMS - Website and Content Management System
|+===================================================+
|| # Copyright © 2008 Meth0d. All rights reserved.
|| # Meth0d dot org – stuff goes here
|+===================================================+
|| # RawCMS is provided "as is" and comes without
|| # warrenty of any kind. SWECMS is free software!
# you can use for habbo retros if you know what it is (Uber)
|+===================================================*/
Good release!!
killing our section one release at a time..
thanks mate. very good but very much to do still :P
where must i put in this text , in which .php file or .tpl file ??
which file in htdocs ??Code:<?php
/*===================================================+
|| # RawCMS - Website and Content Management System
|+===================================================+
|| # Copyright © 2008 Meth0d. All rights reserved.
|| # http://www.meth0d.org
|+===================================================+
|| # RawCMS is provided "as is" and comes without
|| # warrenty of any kind. SWECMS is free software!
# you can use for habbo retros if you know what it is (Uber)
|+===================================================*/
require_once "global.php";
?>
<div id="groups-habblet-list-container" class="habblet-list-container groups-list">
<?php
$get_em = mysql_query("SELECT * FROM groups_details ORDER BY rand() LIMIT 12") or die(mysql_error());
$groups = mysql_num_rows($get_em);
echo "\n <ul class=\"habblet-list two-cols clearfix\">";
$num = 0;
while($row = mysql_fetch_assoc($get_em)){
$num++;
if(IsEven($num)){
$pos = "right";
$rights++;
} else {
$pos = "left";
$lefts++;
}
if(IsEven($lefts)){
$oddeven = "odd";
} else {
$oddeven = "even";
}
$group_id = $row['id'];
$groupdata = $row;
echo " <li class=\"".$oddeven." ".$pos."\" style=\"background-image: url(./habbo-imaging/badge.php?badge=".$groupdata['badge'].")\">\n <a class=\"item\" href=\"group_profile.php?id=".$group_id."\">".UberText($groupdata['name'])."</a>\n </li>\n\n";
}
$rights_should_be = $lefts;
if($rights !== $rights_should_be){
echo "<li class=\"".$oddeven." right\"><div class=\"item\"> </div></li>";
}
echo "\n </ul>";
?>
<div class="habblet-button-row clearfix"><a class="new-button" id="purchase-group-button" href="#"><b>Create/buy a Group</b><i></i></a></div>
</div>
<div id="groups-habblet-group-purchase-button" class="habblet-list-container"></div>
<script type="text/javascript">
$("purchase-group-button").observe("click", function(e) { Event.stop(e); GroupPurchase.open(); });
</script>
</div>
lulz that is a PHP File but Not completed! Wait until LIVE has fixed it..
-Slaxxer
Posted via Mobile Device