-
Posts
2,722 -
Joined
-
Last visited
-
Days Won
93
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
I have to say this is where i started life on the good old HTML tehre are some excellent help sites out there dreamcoder dont be afraid to use them As from what i can see for your first attempts your doing a great job. I certainly have faith in your creating something unique because from what ive read and seen here your not one to give up easily... Excellent weldone :)
-
try nt to leave spaces ni your file names example BAD we love to rock.jpg GOOD welovetorock.jpg
-
try changing mysql_num_rows to mysql_fetch_assoc and see if that helps
-
opening and closing tags is sometimes a good thing especially when using net beans as you can insert html into a html section but not from an echo ;) if your using netbeans its a god
-
is decio the dead guy that died on msn and was re-incarnated into someone even dumber ?
-
Dayo your welcome to add any of my mods to your list as and when you wish too...
-
ok ive decided with both being level i get the final say so for everyone who voted thanks and ive taken everyones comments onboard and came to the conclusion this mod will be a Paid mod 5 customers at a price of $5 and any future updates i make for this mod they will receive at no extra cost..
-
on this you can use the $rand1 and $rand2 to echo values of Hex codes to see which best fits the colours for your game. example: if($line%2 == 0) print "<tr bgcolor=#$rand1> hex value for rand1 is #$rand1"; else print "<tr bgcolor=#$rand2> hex value for rand2 is #$rand2"; Then just copy the hex codes its gives and change both $rand1 and 2 to the hex of your choice.
-
ive never heared of him to be honest...
-
heres a nice little fiz that will get your inventory from looking like this.. To This a few seconds... open up inventory.php and find $lt=""; while($i=$db->fetch_row($inv)) { if($lt!=$i['itmtypename']) { $lt=$i['itmtypename']; print "\n<tr><td colspan=4>[b]{$lt}[/b]</td></tr>"; } if($i['weapon']) { $i['itmname']="<font color='red'>*</font>".$i['itmname']; } if($i['armor']) { $i['itmname']="<font color='green'>*</font>".$i['itmname']; } print "<tr><td>{$i['itmname']}"; if ($i['inv_qty'] > 1) { print "x{$i['inv_qty']}"; } and overwrite with this one... $lt=""; $rand=rand(000,255);$g=rand(000,255);$b=rand(000,255); $rand1=sprintf("%02x%02x%02x",$r,$g,$b); $rand2=sprintf("%02x%02x%02x",ceil($r*0.4),ceil($g*0.6),ceil($b*0.8)); $line=0; while ( $i = $db->fetch_row ( $inv ) ) { if ($lt != $i ['itmtypename']) { $lt = $i ['itmtypename']; print "\n<tr bgcolor=#002244 bordercolor=#ffeedd><td colspan=4>[b]{$lt}[/b]</td></tr>"; } if ($i ['weapon']) { $i ['itmname'] = "<font color='red'>*</font>" . $i ['itmname']; } if ($i ['armor']) { $i ['itmname'] = "<font color='green'>*</font>" . $i ['itmname']; } if($line%2 == 0) print "<tr bgcolor=#00986f>"; else print "<tr bgcolor=#00aa00>"; print "<td>{$i['itmname']}"; if ($i ['inv_qty'] > 1) { print "x{$i['inv_qty']}"; } This part in the new update can be altered to if($line%2 == 0) print "<tr bgcolor=#$rand1>"; else print "<tr bgcolor=#$rand2>"; By doing so will change the colour of the lists each time a user views the page or refreshes.
-
im all for this idea :)
-
ive developed a new Hospital and Jail system for mccv2 which doesnt require 1 minute crons.. How it works when a user gets sent to hosp or jail instead of a cron ive used TIME when your stint in either expires your deleted from hosp or jail to continue your game... However to make this work it uses a lot of new functions and a new hospital and jail SQL and hospital and jail php files and some ammendments to attacklost or if anyone has a searching script that needs ammending too.. My question is would this benefit a small audience IE paid or a larger audience to use FREE cast your votes
-
I gotta say i wasnt expecting the last person to slap her round the ehad and give her a damn good kick lol
-
http://www.stumbleupon.com/su/1Dfdaw/www.youtube.com/watch?v=QNbz47zdKR8/r:f keep watching too the end lmfbo
-
this one let you remove item types
-
doing a quick scan you have 125 Open brackets ( and 123 Closed Brackets ) not that these may cause an issue but it could slow down the script if things are missing
-
and Damn i re-read what i wrote and i think my keyboard went a bit dyslexic lol
-
Have you ever wanted to run a script at a certain point without running the whole file to see if errors occur or even just to see if things on certain lines are working correctly ? then here a nice program to use that will let you do anything with php.java and loads more.. NETBEANS By using this program you stop start a file a different points it will evne open up an other files that correspond to the file your working on that relate to that query..
-
Any chance this can be stickied
-
heres a few Tips and Tricks that you may find helpful in your quest to better your game..... PHPNUKE Phpnuke can offer some mind boggling ideas for your game. 1 = The theme Creator concept came from using PHPNUKE.. 2 = Grab a copy of phpnuke and see how the clickable smilies work. 3 = a site called futurenuke.com (free) Offers a version of Nuke with drag n drop abilities (could come in handy for users to reorder friendslist, their items) 4 = Admin Panel of nuke has a vast and bright array of functions getting rid of your side menu and adapting this idea could make all the difference. 5 = Email the emailing system of nuke is very easy to adapt to mcc and when done correctly will show you how Activation emails can be added. Infact i found around 30+ uses that PHPNUKE in small parts coud be useful for any mcc game... YAHOO Yahoo offer a Developing tools site to programming called YUI its basically like a college where you can have a list of how to do things from Drag n Drop in a vast amount of stages to controlling how forms work.. and can be found here >>>Yahoo Development Tools <<< RUNNING CRON JOBS ON XAMPP I havent tested these 2 sites but it says cronjobs are possible via Xampp Setup Crontabs on Windows Enable CURL with Xampp Windows XP
-
Someone to fix a problem with my ipn_donator
Uridium replied to konk353535's topic in Engine Support
silly question but have you also gone to your paypal account and changed the url for the ipn addy -
try removing the </table> from the links i added
-
updated <?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; 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(); $h->startheaders(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $kaperc=(int) ($ir['karma']/$ir['maxkarma']*100); $kaopp=100-$kaperc; $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print "<table width='100%'><tr><td valign='left' width='90%'><h3>User {$r['username']}'s Profile</h3></td><td valign='left' width='10%'>[url='walkthrough.php#viewuser'][img=/GFX/layout_images/help.gif][/url]</td></tr></table> <center>[img=/GFX/layout_images/topnav.gif]</center> "; $_GET['u'] = abs((int) $_GET['u']); if(!$_GET['u']) { print "<center>[b]Invalid Use Of File.[/b]</center>"; } else { $q=mysql_query("SELECT u.*,us.*,c.*,h.*,g.*,f.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN cities c ON u.location=c.cityid LEFT JOIN houses h ON u.maxwill=h.hWILL LEFT JOIN gangs g ON g.gangID=u.gang LEFT JOIN fedjail f ON f.fed_userid=u.userid WHERE u.userid={$_GET['u']}",$c); if(mysql_num_rows($q) == 0) { print "<center>[b]Sorry, We Could Not Find A User With That ID, Check Your Source.[/b]</center>"; } else { $r=mysql_fetch_array($q); if($r['gympass'] == 0) { $gym="<font color=red>No</font>"; } else if($r['gympass'] == 1) { $gym="<font color=green>Yes</font>";} if($r['user_level'] == 1) { $userl="Member"; } else if($r['user_level'] == 2) { $userl="Admin"; } else if ($r['user_level'] == 3) { $userl="Secretary"; } else if($r['user_level'] == 0) { $userl="NPC"; } else if($r['user_level']==4) { $userl="Moderator"; } else if($r['user_level']==5) { $userl="Assistant"; } else if($r['user_level'] == 6) { $userl="Watcher"; } else if($r['user_level'] == 7) { $userl="GFX"; } else if($r['user_level'] == 8) { $userl="I.A Officer"; } else if($r['user_level'] == 9) { $userl="Sales"; } else { $userl="Helper"; } $lon=date('F j, Y g:i:s a',$r['laston']); $sup=date('F j, Y g:i:s a',$r['signedup']); $ts=$r['strength']+$r['agility']+$r['guard']+$r['labour']+$r['IQ']; $d=""; $la=time()-$r['laston']; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } } $d=""; if($r['donatordays']) { $r['username'] = "<font color=darkblue>[b]{$r['username']}[/b]</font>";$d="[img=/GFX/layout_images/donator.gif]"; } $vp=""; if($r['vipdays']) { $r['username'] = "<font color=darkred>[b]{$r['username']}[/b]</font>";$vp="[img=GFX/layout_images/vip.gif]"; } $ww1=""; if($r['wknd_1_hours']) { $r['username'] = "<font color=red>[b]{$r['username']}[/b]</font>";$ww1="[img=GFX/layout_images/ww1.gif]"; } $ww2=""; if($r['wknd_2_hours']) { $r['username'] = "<font color=red>[b]{$r['username']}[/b]</font>";$ww2="[img=GFX/layout_images/ww2.gif]"; } $ww3=""; if($r['wknd_3_hours']) { $r['username'] = "<font color=red>[b]{$r['username']}[/b]</font>";$ww3="[img=GFX/layout_images/ww3.gif]"; } if($r['laston'] >= time()-15*60) { $on="<font color=green>[b]Online[/b]</font>"; } else { $on="<font color=red>[b]Offline[/b]</font>"; } print "<center><table width=90% border=1><tr><td>[b]<font size='3'>{$r['username']} $d $vp $ww1 $ww2 $ww3</font> {$r['conscious']}[/b]"; if($ir['userid'] == $r['userid']){ print" [[url='preferences.php?action=consciouschange'][b]Change[/b][/url]]"; } print "</table> <center><table width=90% border='1'><tr><td width='25%'>"; if($r['display_pic'] == '' AND $r['gender'] =='Female') { print "<center>[img=GFX/layout_images/female.gif]</center>"; } else if($r['display_pic'] == '' AND $r['gender'] =='Male') { print "<center>[img=GFX/layout_images/male.gif]</center>"; } else if($r['display_pic'] == '' AND $r['gender'] =='Private') { print "<center>[img=GFX/layout_images/anonomous.gif]</center>"; } else if($r['display_pic']) { print "<center>[img={$r[]</center>"; } print "<center><img src=/GFX/layout_images/karmadevil.gif width=16 height=16 title='Evil Karma'><img src=/GFX/bars/barred.gif width=$kaopp height=7><img src=/GFX/bars/barblue.gif width=$kaperc height=7><img src=/GFX/layout_images/karmaangel.gif width=16 height=16 title='Good Karma'></center>"; print "<center><a href=rating.php?change=up&ID={$r['userid']}><img src=positive.gif></a> {$r['rating']} <a href=rating.php?change=down&ID={$r['userid']}><img src=negative.gif></a></center>"; if($r['profileintro']) { print "<center></center>"; } else { print "<center>[b]This User Has No Intro Music[/b]</center>"; } print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; if($r['fedjail']) { print "[b]<font color=red>In Anarchy Asylum For {$r['fed_days']} Day(s). </font>[b]For:[/b]<font color=red> {$r['fed_reason']}</font> <center>[img=/GFX/layout_images/topnav.gif]</center>"; } if($r['hospital']) { print "[b]<font color=red>In Clinic For {$r['hospital']} Minutes. </font>[b]For:[/b]<font color=red> {$r['hospreason']}</font>[/b] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } if($r['jail']) { print "[b]<font color=red>In Grinder For {$r['jail']} Minutes. </font>[b]For:[/b]<font color=red> {$r['jailreason']}</font>[/b] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } if($r['trials'] > 0) { print "[b]<font color=blue>User Has Been Put On Trial {$r['trials']} Time(s).</font>[/b] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } print " [b]User ID:[/b] {$r['userid']} [b]Online Status:[/b] $on [b]User Level:[/b] $userl [b]Duties:[/b] {$r['duties']} [b]User Game Level:[/b] {$r['level']} [b]Signed Up:[/b] $sup [b]Days Old:[/b] {$r['daysold']} Days Old [b]Last Active:[/b] $lon [b]Last Action:[/b] $la $unit ago [b]Last Poked By:[/b] User {$r['pokedby']} "; $w=mysql_query("SELECT * FROM warnings WHERE user={$r['userid']}",$c); print " [b]Warnings:[/b]<font color=red> ".mysql_num_rows($w)." </font>"; if($ir['user_level'] > 1) { print "[<a href=warnings.php?action=index&user={$r['userid']}>[b]Manage[/b]</a>] "; } print "[b]Referrals:[/b] "; $rr=mysql_query("SELECT * FROM referals WHERE refREFER={$r['userid']}",$c); print mysql_num_rows($rr); $qqq=mysql_query("SELECT * FROM userbodytype WHERE userid=$userid",$c); $ub=mysql_fetch_array($qqq); print " <center>[img=/GFX/layout_images/topnav.gif]</center>"; $q_y=mysql_query("SELECT * FROM friendslist WHERE fl_ADDED={$r['userid']}",$c); $q_z=mysql_query("SELECT * FROM blacklist WHERE bl_ADDED={$r['userid']}",$c); print " [b]Health:[/b] {$r['hp']}/{$r['maxhp']} [b]Gender:[/b] {$r['gender']} [b]User Body Type:[/b] {$ub['bodytype']} [b]Bodytype Days Old:[/b] "; if($r['stds']) { print "[b]Diseased:[/b] <font color=red>Has A STD</font> "; } print " [b]District:[/b] [[url='hirespy.php?ID={$r['][b]Hire Spy[/b][/url]] [b]Property:[/b] {$r['hNAME']} "; $wo2=mysql_query("SELECT * From petowned WHERE userid={$_GET['u']}",$c); $ow2=mysql_fetch_array($wo2); $pe2=mysql_query("SELECT * FROM userpets WHERE userid={$_GET['u']}",$c) or die(mysql_error()); $pet2=mysql_fetch_array($pe2); if ($ow2['petowned'] == 0) { print "[b]Pet Owned:[/b] <font color='red'>[b]No[/b]</font> "; } else if ($ir['petowned'] == 1) { print "[b]Pet Owned:[/b] [url='petview.php?u={$pet2['][b]{$pet2['petname']}[/b][/url] "; } else { print "[b]Pet Owned:[/b] <font color=green>{$pet2['petname']}</font> "; } print "[b]Country:[/b] "; if(preg_match("/png/",$r['country'])) { print "[img=/GFX/flags/00.png] "; } else { print "[img=/GFX/flags/{$r[country]}.png] "; } print "[b]Faction:[/b] "; if($r['gang']) { print "[url='gangs.php?action=view&ID={$r['][b]{$r['gangNAME']}[/b][/url] "; } else { print "[b]N/A[/b] "; } print " [b]Friends:[/b] ".mysql_num_rows($q_y)." [b]Enemies:[/b] ".mysql_num_rows($q_z)." [b]Gym access:[/b] [b]$gym[/b] <center>[img=/GFX/layout_images/topnav.gif]</center>"; print " [b]Credits:[/b] \${$r['money']} [b]Liberty Pieces:[/b] {$r['libpieces']} [b]Gold Coins:[/b] {$r['crystals']} "; print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; print " [b]Battling Wins:[/b] {$r['wontimes_dc']} "; if($r['won']) { print "[b]Last Won:[/b] [b][url='viewuser.php?u={$r[']<font color='green'>{$r['username']} [{$r['won']}][/url]</font>[/b] "; } else { print "[b]Last Won:[/b] [b]<font color='green'>N/A</font>[/b] "; } if($r['lost']) { print "[b]Last Lost:[/b] [b][url='viewuser.php?u={$r[']<font color='red'>{$r['username']} [{$r['lost']}]</font>[/url][/b] "; } else { print "[b]Last Lost:[/b] [b]<font color='red'>N/A</font>[/b] "; } print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; print " [b]Been Busted Out:[/b] {$r['getbust']} Time(s) [b]Busted Out:[/b] {$r['bust']} Time(s) [b]Bust Failures:[/b] {$r['bustfail']} Attempt(s) [b]Been Breaked Out:[/b] {$r['getbreak']} Time(s) [b]Breaked Out:[/b] {$r['break']} Users [b]GTA Attempts:[/b] {$r['gtas']} Time(s) [b]GTA Success:[/b] {$r['gtasus']} Time(s) <center>[img=/GFX/layout_images/topnav.gif]</center>"; if($r['married'] == 1) { $marryq=mysql_query("SELECT * FROM `marriages` WHERE (`marriage_from` = '$r[userid]') OR (`marriage_to` = '$r[userid]')",$c); $mr=mysql_fetch_array($marryq); if($mr['marriage_from'] == $userid) { $from=2; $themid=$mr['marriage_to']; } else { $from=1; $themid=$mr['marriage_from']; } if($from == 1) { $uq=mysql_query("SELECT * FROM users WHERE userid='$mr[marriage_to]'",$c); } else { $uq=mysql_query("SELECT * FROM users WHERE userid='$mr[marriage_from]'",$c); } $marr=mysql_fetch_array($uq); $married="[url='viewuser.php?u=$themid'][b]".$marr['username']."[/b][/url]"; $marriagetxt=" ([url='marriageinfo.php?ID=$themid'][b]Info[/b][/url])"; } else { $married="<font color=red>[b]No[/b]</font>"; $marriagetxt=""; } print "[b]Married:[/b] $married$marriagetxt [b]Married:[/b] [b]".number_format($r['married_times'])." Time(s).[/b] [b]Partnered:[/b]"; $q=mysql_query("SELECT * FROM users WHERE userid='".$r['partnered']."'",$c); $_i=mysql_fetch_array($q); if($r['partnered']!=0){ echo "<font color=green> [b]YES[/b] </font> [b]Partnered To:[/b] [b][url='viewuser.php?u={$_i[']{$_i['username']}[/b][/url] "; $q=mysql_query("SELECT * FROM users WHERE userid='".$r['partnered']."'",$c); $_i=mysql_fetch_array($q); }else{ echo "<font color=red>[b] NO [/b]</font> "; } print " [b]Partnered:[/b] [b]{$r['partnered_times']} Time(s).[/b] "; print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; if($r['personal'] == ON) { print " [b]Name:[/b] {$r['name']} [b]Last Name:[/b] {$r['last']} [b]Age:[/b] {$r['age']} [b]City:[/b] {$r['city']} [b]Aim Of The Game:[/b] {$r['aog']} [b]MSN:[/b] {$r['msn']} [b]AIM:[/b] {$r['aim']} [b]AOL:[/b] {$r['aol']} [b]Yahoo:[/b] {$r['yahoo']} <center>[img=/GFX/layout_images/topnav.gif]</center>"; } else if($r['personal'] == OFF) { print "[b]Personal Details Off.[/b] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } if($ir['userid'] == $r['userid']) { print "<center>[b]<u>Your Pokes</u>[/b]</center>"; if($ir['pokedby']!=0) { print "[b]Last Poked By:[/b] [b]{$ir['pokedby']}[/b] [url='pokeuser.php?ID={$ir[']<font color=green>[b]Poke Back[/b]</font>[/url] "; } else { print "[b]You Have Not Been Poked.[/b] "; } print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; } switch($_GET['action']) { case 'info': viewuser_info(); break; case 'pics': viewuser_pics(); break; case 'wall': viewuser_wall(); break; case 'videos': viewuser_videos(); break; case 'links': viewuser_links(); break; default: start_new_func(); break; } } function start_new_func() { global $ir,$c,$userid,$h; print "</td><td valign=top><table width=100% border=1><tr><td><center>[url='viewuser.php?action=info'][b]Info[/b][/url]</center></td> <td><center>[url='viewuser.php?action=pics'][b]Photos[/b][/url]</center></td> <td><center>[url='viewuser.php?action=wall'][b]Wall[/b][/url]</center></td> <td><center>[url='viewuser.php?action=videos'][b]Videos[/b][/url]</td> <td><center>[url='viewuser.php?action=videos'][b]Videos[/b][/url]</center></td> <td><center>[url='viewuser.php?action=links'][b]Links[/b][/url]</center></td></tr> </table> "; } function viewuser_info() { global $ir,$c,$userid,$h; print "User Info Stuff Here. <table width=100% border=1><tr style='background:gray'><th>User Info</th></tr>"; print "<tr><td></td></tr>"; } function viewuser_pics() { global $ir,$c,$userid,$h; print "User Pics Stuff Here. <table width=100% border=1><tr style='background:gray'><th>User Pics</th></tr>"; print "<tr><td></td></tr>"; } function viewuser_wall() { global $ir,$c,$userid,$h; print "User Wall Stuff Here. <table width=100% border=1><tr style='background:gray'><th>User Wall</th></tr>"; print "<tr><td></td></tr>"; } function viewuser_videos() { global $ir,$c,$userid,$h; print "User Videos Stuff Here. <table width=100% border=1><tr style='background:gray'><th>User Videos</th></tr>"; print "<tr><td></td></tr>"; } function viewuser_links() { global $ir,$c,$userid,$h; print "User Links Stuff Here. <table width=100% border=1><tr style='background:gray'><th>User Links</th></tr>"; print "<tr><td></td></tr>"; } print "</table></td></tr></table></td><td width='20%' valign=top>"; print " <center>[b]<u><font color=green>Friendly</font></u>[/b] [[url='pokeuser.php?ID={$r['][b]Poke User[/b][/url]] [[url='mailbox.php?action=compose&ID={$r['][b]Send Mail[/b][/url]] <center>[img=/GFX/layout_images/topnav.gif]</center>"; print " <center>[b]<u><font color=yellow>Financial</font></u>[/b] [[url='sendcash.php?ID={$r['][b]Send Credits[/b][/url]] [[url='sendcyber.php?ID={$r['][b]Send Cyber Cash[/b][/url]] [[url='sendpoints.php?ID={$r['][b]Send Gold Coins[/b][/url]] "; $q=mysql_query("SELECT * FROM users WHERE userid='".$r['partnered']."'",$c); $_i=mysql_fetch_array($q); if($r['partnered']!=1){ print " [<a href=\"makepartnership.php?ID={$r['userid']}\">[b]Hire Partner[/b]</a>] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } print " <center>[b]<u><font color=green>Information</font></u>[/b] [[url='hirespy.php?ID={$r['][b]Hire Spy[/b][/url]] <center>[img=/GFX/layout_images/topnav.gif]</center> <center>[b]<u><font color=red>Hostile</font></u>[/b] [[url='mug.php?ID={$r['][b]Mug Cash[/b][/url]] [[url='attack.php?ID={$r['][b]Attack[/b][/url]] [[url='driveby.php?ID={$r['][b]Drive By[/b][/url]] [[url='breakin.php?ID={$r['][b]Break In Home[/b][/url]] [[url='hackpc.php?ID={$r['][b]Hack Bank Account[/b][/url]] [[url='arson.php?ID={$r['][b]Burn Down Home[/b][/url]] [[url='assassin.php?ID={$r['][b]Assassinate[/b][/url]] <center>[img=/GFX/layout_images/topnav.gif]</center>"; $type="Proposal"; $marq=mysql_query("SELECT iv.*,i.*,it.* FROM inventory iv LEFT JOIN items i ON iv.inv_itemid=i.itmid LEFT JOIN itemtypes it ON i.itmtype=it.itmtypeid WHERE iv.inv_userid=$userid AND it.itmtypename='$type'",$c); if(mysql_num_rows($marq) and $ir['married']!=1) { print "<center>[b]<u><font color=hotpink>Marriage</font></u>[/b] [[url='propose.php?ID={$r['][b]Propose[/b][/url]] "; print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; } if($ir['donatordays'] > 0){ print " <center>[b]<u><font color=blue>Donator</font></u>[/b] [[url='friendslist.php?action=add&ID={$r['][b]Add Friends[/b][/url]] [[url='blacklist.php?action=add&ID={$r['][b]Add Enemies[/b][/url]] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } $qq=mysql_query("SELECT * FROM cities WHERE cityowner=$ir[userid]"); if(mysql_num_rows($qq) > 0) { print "<center>[b]<u><font color=brown>District</font></u>[/b] [[url='cityadmin.php?action=banish&ID=$r[userid]'][b]Banish[/b][/url]] "; } $r4=mysql_fetch_array($qq); if($r4['cityid'] == $r['location']) { print "[[url='cityadmin.php?action=kick&ID=$r[userid]'][b]Kick Out City[/b][/url]] "; } $qq2=mysql_query("SELECT * FROM cities WHERE cityowner=$r[userid]"); if(mysql_num_rows($qq) > 0) { $rr2=mysql_fetch_array($qq2); print "[[url='cityadmin.php?action=makeadd&ID=$r[cityid]'][b]Request Alliance[/b][/url]] "; } print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; print "</td></tr></table><center><table width='90%' border='1'><tr><td>{$r['sig']}</td></tr></table></center>"; if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 4 || $ir['user_level'] == 5 || $ir['user_level'] == 6 || $ir['user_level'] == 8 || $ir['user_level'] == 10) { print "<center><table width='90%' border='1'><tr style='background:gray'><th>Admin Info</th></tr> <tr><td width='50%'>"; print "IP Address: {$r['lastip']} "; if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5 || $ir['user_level'] == 6 || $ir['user_level'] == 8 || $ir['user_level'] == 10) { print "[[url='jailuser.php?userid={$r['][b]Jail[/b][/url]] [[url='admin.php?action=cstep&ID={$r['][b]Send To Court[/b][/url]] [[url='mailban.php?userid={$r['][b]MailBan[/b][/url]] [<a href=giveitems.php?userid={$r['userid']}>[b]Give Item[/b]</a>]"; } print "<form action='staffnotes.php' method='post'> Staff Notes: <textarea rows=7 cols=40 name='staffnotes'>{$r['staffnotes']}</textarea> <input type='hidden' name='ID' value='{$_GET['u']}' /> <input type='submit' value='Change' /></form>"; print "</center></td><td width='50%'></tr></table> <center>[img=/GFX/layout_images/topnav.gif]</center> </td></tr></table></center>"; } $h->endpage(); ?>
-
try this one you were missnig an extra } on line 60 <?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; 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(); $h->startheaders(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $kaperc=(int) ($ir['karma']/$ir['maxkarma']*100); $kaopp=100-$kaperc; $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print "<table width='100%'><tr><td valign='left' width='90%'><h3>User {$r['username']}'s Profile</h3></td><td valign='left' width='10%'>[url='walkthrough.php#viewuser'][img=/GFX/layout_images/help.gif][/url]</td></tr></table> <center>[img=/GFX/layout_images/topnav.gif]</center> "; $_GET['u'] = abs((int) $_GET['u']); if(!$_GET['u']) { print "<center>[b]Invalid Use Of File.[/b]</center>"; } else { $q=mysql_query("SELECT u.*,us.*,c.*,h.*,g.*,f.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN cities c ON u.location=c.cityid LEFT JOIN houses h ON u.maxwill=h.hWILL LEFT JOIN gangs g ON g.gangID=u.gang LEFT JOIN fedjail f ON f.fed_userid=u.userid WHERE u.userid={$_GET['u']}",$c); if(mysql_num_rows($q) == 0) { print "<center>[b]Sorry, We Could Not Find A User With That ID, Check Your Source.[/b]</center>"; } else { $r=mysql_fetch_array($q); if($r['gympass'] == 0) { $gym="<font color=red>No</font>"; } else if($r['gympass'] == 1) { $gym="<font color=green>Yes</font>";} if($r['user_level'] == 1) { $userl="Member"; } else if($r['user_level'] == 2) { $userl="Admin"; } else if ($r['user_level'] == 3) { $userl="Secretary"; } else if($r['user_level'] == 0) { $userl="NPC"; } else if($r['user_level']==4) { $userl="Moderator"; } else if($r['user_level']==5) { $userl="Assistant"; } else if($r['user_level'] == 6) { $userl="Watcher"; } else if($r['user_level'] == 7) { $userl="GFX"; } else if($r['user_level'] == 8) { $userl="I.A Officer"; } else if($r['user_level'] == 9) { $userl="Sales"; } else { $userl="Helper"; } $lon=date('F j, Y g:i:s a',$r['laston']); $sup=date('F j, Y g:i:s a',$r['signedup']); $ts=$r['strength']+$r['agility']+$r['guard']+$r['labour']+$r['IQ']; $d=""; $la=time()-$r['laston']; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } } $d=""; if($r['donatordays']) { $r['username'] = "<font color=darkblue>[b]{$r['username']}[/b]</font>";$d="[img=/GFX/layout_images/donator.gif]"; } $vp=""; if($r['vipdays']) { $r['username'] = "<font color=darkred>[b]{$r['username']}[/b]</font>";$vp="[img=GFX/layout_images/vip.gif]"; } $ww1=""; if($r['wknd_1_hours']) { $r['username'] = "<font color=red>[b]{$r['username']}[/b]</font>";$ww1="[img=GFX/layout_images/ww1.gif]"; } $ww2=""; if($r['wknd_2_hours']) { $r['username'] = "<font color=red>[b]{$r['username']}[/b]</font>";$ww2="[img=GFX/layout_images/ww2.gif]"; } $ww3=""; if($r['wknd_3_hours']) { $r['username'] = "<font color=red>[b]{$r['username']}[/b]</font>";$ww3="[img=GFX/layout_images/ww3.gif]"; } if($r['laston'] >= time()-15*60) { $on="<font color=green>[b]Online[/b]</font>"; } else { $on="<font color=red>[b]Offline[/b]</font>"; } print "<center><table width=90% border=1><tr><td>[b]<font size='3'>{$r['username']} $d $vp $ww1 $ww2 $ww3</font> {$r['conscious']}[/b]"; if($ir['userid'] == $r['userid']){ print" [[url='preferences.php?action=consciouschange'][b]Change[/b][/url]]"; } print "</table> <center><table width=90% border='1'><tr><td width='25%'>"; if($r['display_pic'] == '' AND $r['gender'] =='Female') { print "<center>[img=GFX/layout_images/female.gif]</center>"; } else if($r['display_pic'] == '' AND $r['gender'] =='Male') { print "<center>[img=GFX/layout_images/male.gif]</center>"; } else if($r['display_pic'] == '' AND $r['gender'] =='Private') { print "<center>[img=GFX/layout_images/anonomous.gif]</center>"; } else if($r['display_pic']) { print "<center>[img={$r[]</center>"; } print "<center><img src=/GFX/layout_images/karmadevil.gif width=16 height=16 title='Evil Karma'><img src=/GFX/bars/barred.gif width=$kaopp height=7><img src=/GFX/bars/barblue.gif width=$kaperc height=7><img src=/GFX/layout_images/karmaangel.gif width=16 height=16 title='Good Karma'></center>"; print "<center><a href=rating.php?change=up&ID={$r['userid']}><img src=positive.gif></a> {$r['rating']} <a href=rating.php?change=down&ID={$r['userid']}><img src=negative.gif></a></center>"; if($r['profileintro']) { print "<center></center>"; } else { print "<center>[b]This User Has No Intro Music[/b]</center>"; } print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; if($r['fedjail']) { print "[b]<font color=red>In Anarchy Asylum For {$r['fed_days']} Day(s). </font>[b]For:[/b]<font color=red> {$r['fed_reason']}</font> <center>[img=/GFX/layout_images/topnav.gif]</center>"; } if($r['hospital']) { print "[b]<font color=red>In Clinic For {$r['hospital']} Minutes. </font>[b]For:[/b]<font color=red> {$r['hospreason']}</font>[/b] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } if($r['jail']) { print "[b]<font color=red>In Grinder For {$r['jail']} Minutes. </font>[b]For:[/b]<font color=red> {$r['jailreason']}</font>[/b] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } if($r['trials'] > 0) { print "[b]<font color=blue>User Has Been Put On Trial {$r['trials']} Time(s).</font>[/b] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } print " [b]User ID:[/b] {$r['userid']} [b]Online Status:[/b] $on [b]User Level:[/b] $userl [b]Duties:[/b] {$r['duties']} [b]User Game Level:[/b] {$r['level']} [b]Signed Up:[/b] $sup [b]Days Old:[/b] {$r['daysold']} Days Old [b]Last Active:[/b] $lon [b]Last Action:[/b] $la $unit ago [b]Last Poked By:[/b] User {$r['pokedby']} "; $w=mysql_query("SELECT * FROM warnings WHERE user={$r['userid']}",$c); print " [b]Warnings:[/b]<font color=red> ".mysql_num_rows($w)." </font>"; if($ir['user_level'] > 1) { print "[<a href=warnings.php?action=index&user={$r['userid']}>[b]Manage[/b]</a>] "; } print "[b]Referrals:[/b] "; $rr=mysql_query("SELECT * FROM referals WHERE refREFER={$r['userid']}",$c); print mysql_num_rows($rr); $qqq=mysql_query("SELECT * FROM userbodytype WHERE userid=$userid",$c); $ub=mysql_fetch_array($qqq); print " <center>[img=/GFX/layout_images/topnav.gif]</center>"; $q_y=mysql_query("SELECT * FROM friendslist WHERE fl_ADDED={$r['userid']}",$c); $q_z=mysql_query("SELECT * FROM blacklist WHERE bl_ADDED={$r['userid']}",$c); print " [b]Health:[/b] {$r['hp']}/{$r['maxhp']} [b]Gender:[/b] {$r['gender']} [b]User Body Type:[/b] {$ub['bodytype']} [b]Bodytype Days Old:[/b] "; if($r['stds']) { print "[b]Diseased:[/b] <font color=red>Has A STD</font> "; } print " [b]District:[/b] [[url='hirespy.php?ID={$r['][b]Hire Spy[/b][/url]] [b]Property:[/b] {$r['hNAME']} "; $wo2=mysql_query("SELECT * From petowned WHERE userid={$_GET['u']}",$c); $ow2=mysql_fetch_array($wo2); $pe2=mysql_query("SELECT * FROM userpets WHERE userid={$_GET['u']}",$c) or die(mysql_error()); $pet2=mysql_fetch_array($pe2); if ($ow2['petowned'] == 0) { print "[b]Pet Owned:[/b] <font color='red'>[b]No[/b]</font> "; } else if ($ir['petowned'] == 1) { print "[b]Pet Owned:[/b] [url='petview.php?u={$pet2['][b]{$pet2['petname']}[/b][/url] "; } else { print "[b]Pet Owned:[/b] <font color=green>{$pet2['petname']}</font> "; } print "[b]Country:[/b] "; if(preg_match("/png/",$r['country'])) { print "[img=/GFX/flags/00.png] "; } else { print "[img=/GFX/flags/{$r[country]}.png] "; } print "[b]Faction:[/b] "; if($r['gang']) { print "[url='gangs.php?action=view&ID={$r['][b]{$r['gangNAME']}[/b][/url] "; } else { print "[b]N/A[/b] "; } print " [b]Friends:[/b] ".mysql_num_rows($q_y)." [b]Enemies:[/b] ".mysql_num_rows($q_z)." [b]Gym access:[/b] [b]$gym[/b] <center>[img=/GFX/layout_images/topnav.gif]</center>"; print " [b]Credits:[/b] \${$r['money']} [b]Liberty Pieces:[/b] {$r['libpieces']} [b]Gold Coins:[/b] {$r['crystals']} "; print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; print " [b]Battling Wins:[/b] {$r['wontimes_dc']} "; if($r['won']) { print "[b]Last Won:[/b] [b][url='viewuser.php?u={$r[']<font color='green'>{$r['username']} [{$r['won']}][/url]</font>[/b] "; } else { print "[b]Last Won:[/b] [b]<font color='green'>N/A</font>[/b] "; } if($r['lost']) { print "[b]Last Lost:[/b] [b][url='viewuser.php?u={$r[']<font color='red'>{$r['username']} [{$r['lost']}]</font>[/url][/b] "; } else { print "[b]Last Lost:[/b] [b]<font color='red'>N/A</font>[/b] "; } print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; print " [b]Been Busted Out:[/b] {$r['getbust']} Time(s) [b]Busted Out:[/b] {$r['bust']} Time(s) [b]Bust Failures:[/b] {$r['bustfail']} Attempt(s) [b]Been Breaked Out:[/b] {$r['getbreak']} Time(s) [b]Breaked Out:[/b] {$r['break']} Users [b]GTA Attempts:[/b] {$r['gtas']} Time(s) [b]GTA Success:[/b] {$r['gtasus']} Time(s) <center>[img=/GFX/layout_images/topnav.gif]</center>"; if($r['married'] == 1) { $marryq=mysql_query("SELECT * FROM `marriages` WHERE (`marriage_from` = '$r[userid]') OR (`marriage_to` = '$r[userid]')",$c); $mr=mysql_fetch_array($marryq); if($mr['marriage_from'] == $userid) { $from=2; $themid=$mr['marriage_to']; } else { $from=1; $themid=$mr['marriage_from']; } if($from == 1) { $uq=mysql_query("SELECT * FROM users WHERE userid='$mr[marriage_to]'",$c); } else { $uq=mysql_query("SELECT * FROM users WHERE userid='$mr[marriage_from]'",$c); } $marr=mysql_fetch_array($uq); $married="[url='viewuser.php?u=$themid'][b]".$marr['username']."[/b][/url]"; $marriagetxt=" ([url='marriageinfo.php?ID=$themid'][b]Info[/b][/url])"; } else { $married="<font color=red>[b]No[/b]</font>"; $marriagetxt=""; } print "[b]Married:[/b] $married$marriagetxt [b]Married:[/b] [b]".number_format($r['married_times'])." Time(s).[/b] [b]Partnered:[/b]"; $q=mysql_query("SELECT * FROM users WHERE userid='".$r['partnered']."'",$c); $_i=mysql_fetch_array($q); if($r['partnered']!=0){ echo "<font color=green> [b]YES[/b] </font> [b]Partnered To:[/b] [b][url='viewuser.php?u={$_i[']{$_i['username']}[/b][/url] "; $q=mysql_query("SELECT * FROM users WHERE userid='".$r['partnered']."'",$c); $_i=mysql_fetch_array($q); }else{ echo "<font color=red>[b] NO [/b]</font> "; } print " [b]Partnered:[/b] [b]{$r['partnered_times']} Time(s).[/b] "; print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; if($r['personal'] == ON) { print " [b]Name:[/b] {$r['name']} [b]Last Name:[/b] {$r['last']} [b]Age:[/b] {$r['age']} [b]City:[/b] {$r['city']} [b]Aim Of The Game:[/b] {$r['aog']} [b]MSN:[/b] {$r['msn']} [b]AIM:[/b] {$r['aim']} [b]AOL:[/b] {$r['aol']} [b]Yahoo:[/b] {$r['yahoo']} <center>[img=/GFX/layout_images/topnav.gif]</center>"; } else if($r['personal'] == OFF) { print "[b]Personal Details Off.[/b] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } if($ir['userid'] == $r['userid']) { print "<center>[b]<u>Your Pokes</u>[/b]</center>"; if($ir['pokedby']!=0) { print "[b]Last Poked By:[/b] [b]{$ir['pokedby']}[/b] [url='pokeuser.php?ID={$ir[']<font color=green>[b]Poke Back[/b]</font>[/url] "; } else { print "[b]You Have Not Been Poked.[/b] "; } print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; } switch($_GET['action']) { case 'info': viewuser_info(); break; case 'pics': viewuser_pics(); break; case 'wall': viewuser_wall(); break; case 'videos': viewuser_videos(); break; case 'links': viewuser_links(); break; default: start_new_func(); break; } function start_new_func() { global $ir,$c,$userid,$h; print "</td><td valign=top><table width=100% border=1><tr><td><center>[url='viewuser.php?action=info'][b]Info[/b][/url]</center></td> <td><center>[url='viewuser.php?action=pics'][b]Photos[/b][/url]</center></td> <td><center>[url='viewuser.php?action=wall'][b]Wall[/b][/url]</center></td> <td><center>[url='viewuser.php?action=videos'][b]Videos[/b][/url]</td> <td><center>[url='viewuser.php?action=videos'][b]Videos[/b][/url]</center></td> <td><center>[url='viewuser.php?action=links'][b]Links[/b][/url]</center></td></tr> </table> "; } function viewuser_info() { global $ir,$c,$userid,$h; print "User Info Stuff Here. <table width=100% border=1><tr style='background:gray'><th>User Info</th></tr>"; print "<tr><td></td></tr>"; } function viewuser_pics() { global $ir,$c,$userid,$h; print "User Pics Stuff Here. <table width=100% border=1><tr style='background:gray'><th>User Pics</th></tr>"; print "<tr><td></td></tr>"; } function viewuser_wall() { global $ir,$c,$userid,$h; print "User Wall Stuff Here. <table width=100% border=1><tr style='background:gray'><th>User Wall</th></tr>"; print "<tr><td></td></tr>"; } function viewuser_videos() { global $ir,$c,$userid,$h; print "User Videos Stuff Here. <table width=100% border=1><tr style='background:gray'><th>User Videos</th></tr>"; print "<tr><td></td></tr>"; } function viewuser_links() { global $ir,$c,$userid,$h; print "User Links Stuff Here. <table width=100% border=1><tr style='background:gray'><th>User Links</th></tr>"; print "<tr><td></td></tr>"; } print "</table></td></tr></table></td><td width='20%' valign=top>"; print " <center>[b]<u><font color=green>Friendly</font></u>[/b] [[url='pokeuser.php?ID={$r['][b]Poke User[/b][/url]] [[url='mailbox.php?action=compose&ID={$r['][b]Send Mail[/b][/url]] <center>[img=/GFX/layout_images/topnav.gif]</center>"; print " <center>[b]<u><font color=yellow>Financial</font></u>[/b] [[url='sendcash.php?ID={$r['][b]Send Credits[/b][/url]] [[url='sendcyber.php?ID={$r['][b]Send Cyber Cash[/b][/url]] [[url='sendpoints.php?ID={$r['][b]Send Gold Coins[/b][/url]] "; $q=mysql_query("SELECT * FROM users WHERE userid='".$r['partnered']."'",$c); $_i=mysql_fetch_array($q); if($r['partnered']!=1){ print " [<a href=\"makepartnership.php?ID={$r['userid']}\">[b]Hire Partner[/b]</a>] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } print " <center>[b]<u><font color=green>Information</font></u>[/b] [[url='hirespy.php?ID={$r['][b]Hire Spy[/b][/url]] <center>[img=/GFX/layout_images/topnav.gif]</center> <center>[b]<u><font color=red>Hostile</font></u>[/b] [[url='mug.php?ID={$r['][b]Mug Cash[/b][/url]] [[url='attack.php?ID={$r['][b]Attack[/b][/url]] [[url='driveby.php?ID={$r['][b]Drive By[/b][/url]] [[url='breakin.php?ID={$r['][b]Break In Home[/b][/url]] [[url='hackpc.php?ID={$r['][b]Hack Bank Account[/b][/url]] [[url='arson.php?ID={$r['][b]Burn Down Home[/b][/url]] [[url='assassin.php?ID={$r['][b]Assassinate[/b][/url]] <center>[img=/GFX/layout_images/topnav.gif]</center>"; $type="Proposal"; $marq=mysql_query("SELECT iv.*,i.*,it.* FROM inventory iv LEFT JOIN items i ON iv.inv_itemid=i.itmid LEFT JOIN itemtypes it ON i.itmtype=it.itmtypeid WHERE iv.inv_userid=$userid AND it.itmtypename='$type'",$c); if(mysql_num_rows($marq) and $ir['married']!=1) { print "<center>[b]<u><font color=hotpink>Marriage</font></u>[/b] [[url='propose.php?ID={$r['][b]Propose[/b][/url]] "; print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; } if($ir['donatordays'] > 0){ print " <center>[b]<u><font color=blue>Donator</font></u>[/b] [[url='friendslist.php?action=add&ID={$r['][b]Add Friends[/b][/url]] [[url='blacklist.php?action=add&ID={$r['][b]Add Enemies[/b][/url]] <center>[img=/GFX/layout_images/topnav.gif]</center>"; } $qq=mysql_query("SELECT * FROM cities WHERE cityowner=$ir[userid]"); if(mysql_num_rows($qq) > 0) { print "<center>[b]<u><font color=brown>District</font></u>[/b] [[url='cityadmin.php?action=banish&ID=$r[userid]'][b]Banish[/b][/url]] "; } $r4=mysql_fetch_array($qq); if($r4['cityid'] == $r['location']) { print "[[url='cityadmin.php?action=kick&ID=$r[userid]'][b]Kick Out City[/b][/url]] "; } $qq2=mysql_query("SELECT * FROM cities WHERE cityowner=$r[userid]"); if(mysql_num_rows($qq) > 0) { $rr2=mysql_fetch_array($qq2); print "[[url='cityadmin.php?action=makeadd&ID=$r[cityid]'][b]Request Alliance[/b][/url]] "; } print "<center>[img=/GFX/layout_images/topnav.gif]</center>"; print "</td></tr></table><center><table width='90%' border='1'><tr><td>{$r['sig']}</td></tr></table></center>"; if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 4 || $ir['user_level'] == 5 || $ir['user_level'] == 6 || $ir['user_level'] == 8 || $ir['user_level'] == 10) { print "<center><table width='90%' border='1'><tr style='background:gray'><th>Admin Info</th></tr> <tr><td width='50%'>"; print "IP Address: {$r['lastip']} "; if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5 || $ir['user_level'] == 6 || $ir['user_level'] == 8 || $ir['user_level'] == 10) { print "[[url='jailuser.php?userid={$r['][b]Jail[/b][/url]] [[url='admin.php?action=cstep&ID={$r['][b]Send To Court[/b][/url]] [[url='mailban.php?userid={$r['][b]MailBan[/b][/url]] [<a href=giveitems.php?userid={$r['userid']}>[b]Give Item[/b]</a>]"; } print "<form action='staffnotes.php' method='post'> Staff Notes: <textarea rows=7 cols=40 name='staffnotes'>{$r['staffnotes']}</textarea> <input type='hidden' name='ID' value='{$_GET['u']}' /> <input type='submit' value='Change' /></form>"; print "</center></td><td width='50%'></tr></table> <center>[img=/GFX/layout_images/topnav.gif]</center> </td></tr></table></center>"; } } $h->endpage(); ?>
-
looking at your script its for the v1 version of MCCODES can you clarify its V1 your using and NOT V2