- Joined
- Jan 15, 2005
- Messages
- 498
- Reaction score
- 3
The revolution of RoseOnlineCMS.
Download:
- AdminCP - Completely Redesigned
- Edit User (Level, Stats, Zuly)
- Edit Acc (Accesslevel, Password);
- Ban
- Unban
- Rankings
- Register
- Guides (v1.1)
- User Add Stats (v1.1)
- Forums
- UserCP
- User Change Password
- Configuration.php Driven
- Hidden Secrets
- Quick Panel (v1.1)
You must be registered to see links
Enjoy!
Main Page
Before I saw sIN's post, I was like, "That looks familiar..." lol!
Small issue. I'm trying to edit the news through the AdminCP and I get this :
"Parse error: syntax error, unexpected $end in C:\xampplite\htdocs\modules\news.php on line 34"
can u help me at who's online i dont know what to do
i will do new php... then what i will put on the php???
thnx good release by the way
<?php
echo "<p class='b01'>";
?>
<div align="center" class="b01"><?php echo $cms['site']['title']; ?> Who's Playing RoseOnline <br />
<br />
<br />
<?php
$c = mysql_connect($cms['db']['host'], $cms['db']['user'],$cms['db']['pass']);
mysql_select_db($cms['db']['name'], $c);
$result = mysql_query("SELECT char_name FROM accounts join characters on accounts.lastchar = characters.char_name WHERE accounts.online = '1'")
or die(mysql_error());
echo "<table border='0' class='b01'>";
// keeps getting the next row until there are no more to get
while($row = mysql_fetch_array( $result )) {
// Print out the contents of each row into a table
echo "<tr><td bgcolor=''>";
echo $row['char_name'];
echo "</td></tr>";
}
echo "</table>";
?>
<?php
echo "</p>";
?>
</div>