Jump to content
MakeWebGames

[mccode] Owner Panel - Simple


sever104

Recommended Posts

Hi, I know this isn't one of the best owner panels around. But i thought i would post it for the new guys.

http://www.assassincity.com/owner.txt

Want any help installing post here. Just to let you know I own Allied Entertainment and well be posting more free mods/pages for you.

Thanks,

Blackberry/Sever104

P.S i removed some functions durning it was done for McCodes v2 not for McCodes v1.

Link to comment
Share on other sites

Re: Owner Panel - For free - Simple

Loggedin.php -

<?php

session_start();

require "global_func.php";

if($_SESSION['loggedin']==0) { header("Location: login.php");exit; }

$userid=$_SESSION['userid'];

require "header.php";

$h = new headers;

$h->startheaders();

include "mysql.php";

global $c;

$is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error());

$ir=mysql_fetch_array($is);

check_level();

$fm=money_formatter($ir['money']);

$cm=money_formatter($ir['crystals'],'');

$lv=date('F j, Y, g:i a',$ir['laston']);

$h->userdata($ir,$lv,$fm,$cm);

print "<center>Thanks for logging in<hr width='75%'>

 

";

$q=mysql_query("SELECT * FROM papercontent LIMIT 1",$c);

$content=mysql_result($q,0,0);

print "Your-Game-Name Latest News:

$content

 

<hr width='75%'>> <a href=index.php>Continue</a><hr width='75%'><center>Credits to Allied Entertainment, Ltd.";

$h->endpage();

?>

Link to comment
Share on other sites

Re: [mccode] Owner Panel - Simple

ok Ghetto.

He asked if you are re-writing the cpanel functions, you said:

Not so much rewriting... Ive used the orgi V2 staff functions but im adding/creating more and adding more stuff to the orig ones.

Thats imposible, and how you gonna edit cp function :S

Other way i think you meant, its illigal.

Have to write mod from begining all by yourself or else, its illigal.

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...