-
Posts
2,921 -
Joined
-
Last visited
-
Days Won
48
Content Type
Profiles
Forums
Events
Everything posted by KyleMassacre
-
If I wanted to download this where would I get it since apparently the only thing I see is the upgrade?
-
I just downloaded it and installed it and i love it so far, i linked it up in my smenu for easy access. Great Job Dayo
-
I completely agree. I use whats available out there, I pay for mods, and I ask for help if I dont understand it. Im brand new to this field and I jumped right in and am trying my best to learn as I go as 99% of the development population has done. I'll admit that right now im far from being considered decent but then again its only been a few months since I have first seen a snippet of php or a even a db. Everyone has to start somewhere and ill bet my last dollar that everyone started from the bottom. Now that I got that out of the way, I also agree that people probably shouldnt jump right into it as I did but how else is there to learn? You can only find so many errors/issues on a localhost by yourself. Just think if its just you going through every func, case, file, etc as opposed to 100 or even 30 people chances are yiu'll find any bugs or issues sooner than later, bite the bullet, learn from your mistakes and start again
-
Maybe im just a stickler and dont like the fact that they can just sit there and do a bunch of bookmark switching all day non-stop you know
-
Hey everyone!!! I was wondering if there was a simple way to stop people from bookmarking items in there inventories? If so, what are some potential downfalls to it if any? I have considered to update the inv_ids in the itemuse file or maybe in the inventory file but im assuming that it may eat up a lot of rescources slowing down the game with the constant db queries. Any help you give is much appreciated, thanks..
-
I myself had a little run in with Dave and let me tell you guys something he is a real swell dude. I bought his ajax chat and donation system and installed them and I had a little issue with the chat not saving settings or anything like that. The second he had a moment to spend with me he fixed the issue real quick, it was longer to give him FTP access than it was for him to troubleshoot, and fix the mod. I couldnt ask for better service and I am looking forward to doing even more business with him hopefully sooner than later. I love his work and most importantly my members love his work. If you havent done business with him maybe you should start. Keep em comin Dave and let me know when you do.
-
Well the thing with having a demo is that it wouldnt do much good since it is not something that you would be able to see right away
-
Hey all, I got a mod here that depending on the course you take (good or evil) affects your play of the game. For example depending on what crimes you do either gives you "good points/karma or evil points/karma" Heres the kicker Certain items are only available to good players and certain items are available to only evil players, this doesn't mean you cant have neutral items And gang president have the option to add only good or evil only or they can have a mixture of the two. Like I noted above crimes will be the leading factor in this mod to determine your side so with that being said you'll have to set the amounts of points whether it be good or evil for each crime. The price of this mod is $30 USD and this mod is open for suggestions/modifications for a small fee depending on complexity of it.
-
Looking for help with drop down menus
KyleMassacre replied to KyleMassacre's topic in HTML/XHTML/CSS
Thank both of you guys for your help with it, ill take a shot at it but no guarantees cause I know nothing of this sorta thing. I was just hoping that there was an easy type decoration that I can add the the existing css instead of added more stuff the file manager lol -
Im looking to make drop downs for my main menu links that will work with my existing CSS code can anyone help? [CSS]#mid_r_content .menu_side ul.main_menu li a { display: block; width: 160px; height: 32px; text-indent: 35px; line-height: 32px; color: #ffffff; text-decoration:none; background: url(images/menu_link.png) no-repeat; } #mid_r_content .menu_side ul.main_menu li a:hover { color: red; background: url(images/menu_link_hover.png) no-repeat;[/CSS] this is the code for my main menu links on the side bar
-
Its showing the exact same thing
-
That is exactly what i have
-
this is what i use to actually place the images in there the bbcode version didnt work for me so i just converted it to html print "<b>Your items are listed below.</b> <table width=100% class=\"table\" border=\"2\" cellspacing=\"1\"> <tr> <td class=\"h\"><span class='highlight'>Item</span></td> <td class=\"h\">Sell Value</td> <td class=\"h\">Total Sell Value</td> <td class=\"h\"><span class='highlight'>Item</span> Pic</td> <td class=\"h\">Links</td> </tr>"; $lt=""; while($i=$db->fetch_row($inv)) { if($lt!=$i['itmtypename']) { $lt=$i['itmtypename']; echo "\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']; } echo "<tr><td>{$i['itmname']}"; if ($i['inv_qty'] > 1) { echo " x{$i['inv_qty']}"; } echo "</td><td>\${$i['itmsellprice']}</td><td>"; echo "$".($i['itmsellprice']*$i['inv_qty']); echo "</td><td><img src='itmpics/{$i['itmpic']}' height='50px' width='50px'>"; echo "</td><td>[<a href='iteminfo.php?ID={$i['itmid']}'>Info</a>] [<a href='addtoshop.php?ID={$i['inv_id']}'>Put in Shop</a>] [<a href='itemsend.php?ID={$i['inv_id']}'>Send</a>] [<a href='itemsell.php?ID={$i['inv_id']}'>Sell</a>] [<a href='imadd.php?ID={$i['inv_id']}'>Add To Market</a>]"; if($i['effect1_on'] || $i['effect2_on'] || $i['effect3_on']) { echo " [<a href='itemuse.php?ID={$i['inv_id']}'>Use</a>]"; } its line 35 here in my code and i just resized the images here so i dont have to do it manually i guess im lazy haha so i hope this helps people that have problems using the img tags ""
-
well here are my cases: switch ( $_GET['action'] ) { case 'editnews': newspaper_form(); break; case 'subnews': newspaper_submit(); break; case 'givedpform': give_dp_form(); break; case 'givedpsub': give_dp_submit(); break; case 'stafflist': staff_list(); break; case 'userlevel': userlevel(); break; case 'userlevelform': userlevelform(); break; case 'massmailer': massmailer(); break; default: echo 'Error: This script requires an action.'; break; and i assume its the "userlevelform" cause that is where i get the error: function userlevelform() { global $db,$ir,$c,$h,$userid; echo " <br><h3>User Level Adjust</h3><br /> <form action='staff_special.php?action=userlevel' method='get'> User: ".user_dropdown($c,'ID')." <br /> User Level: <br /> <input type='radio' name='level' value='1' /> Member <br /> <input type='radio' name='level' value='2' /> Admin <br /> <input type='radio' name='level' value='3' /> Secretary <br /> <input type='radio' name='level' value='4' /> Assistant <br /> <input type='radio' name='level' value='5' /> Forum Mod <br /> <input type='submit' value='Adjust' /> </form> ";
-
Error: This script requires an action.
-
Yeah, just under a year and your point is? Why start another thread when we have a perfectly good working one here ie not locked? Now back to the topic which isnt when the last post was please
-
This didnt work for me unless im just not seeing it but here is my code function userlevel() { global $db,$ir,$c,$h,$userid; $_GET['level'] = ( isset($_GET['level'])&&in_array($_GET['level'], array(1,2,3,4,5)) )?abs(intval($_GET['level'])):1; $_GET['ID'] = ( isset($_GET['ID'])&&is_numeric($_GET['ID']) )?abs(intval($_GET['ID'])):''; $d = $db->query('SELECT `userid` FROM `users` WHERE `userid` = '.$_GET['ID']); if ( $db->num_rows($d) == 0 ) { echo 'Invalid user.<br />> <a href="staff_special.php?action=userlevelform">Go Home</a>'; die($h->endpage()); } $db->query("UPDATE `users` SET `user_level` = {$_GET['level']} WHERE `userid` = {$_GET['ID']}"); stafflog_add('Adjusted user ID '.$_GET['ID'].'\'s staff status.'); echo 'User\'s level adjusted.<br />> <a href="staff.php">Go Home</a>'; die($h->endpage()); } function userlevelform() { global $db,$ir,$c,$h,$userid; echo " <h3>User Level Adjust</h3> <form action='staff_special.php?action=userlevel' method='get'> User: ".user_dropdown($c,'ID')." <br /> User Level: <br /> <input type='radio' name='level' value='1' /> Member <br /> <input type='radio' name='level' value='2' /> Admin <br /> <input type='radio' name='level' value='3' /> Secretary <br /> <input type='radio' name='level' value='4' /> Assistant <br /> <input type='radio' name='level' value='5' /> Forum Mod <br /> <input type='submit' value='Adjust' /> </form> ";
-
So is this just going to be mccode but with graphics? Im not sure if I would invest personally because yeah games should look pretty but what makes the graphic design worth more the script content. I would much rather play a crummy looking game with good features than a game that has crazy amount of visuals but you can only attack and search some streets and get beat up by a bum. Just my opinion but good luck to ya honestly.
-
Ok, I like where your going with that what if I did something like this so I can have diferent amounts of upkeep if I want if($rr['upKEEP'] > 0) { $db->query("UPDATE users SET money=money-upKEEP WHERE userid=$userid"); } That should work the same right, except I get to define the upkeep for each prop?
-
Something along the lines of SET money=money-hUPKEEP
-
Ok heres the scenario, I create a house and add in my properties table hUPKEEP(House Upkeep) and say its 500,000. I would like the house upkeep to be charged to them everyday and take it out of their money cause i have tried almost every mod i can find and nothing works at all so i was wondering if i can do something in my cron day
-
If you could point me to someone for that price that would be pretty awesome Id rather keep the talk here plus it would benefit you more as well so more people can see your work and maybe hit you up about it but im looking for a little more design those are just a bit basic for me and a little over priced especially without the coding.
-
Im looking at spending less that $200 and coding it for me would be a plus
-
Hey everyone, im looking for a good layout out for my crime game like a login, register, and an in game layout and I am paying so let me know if your interested
-
ok i tried recoding it again for you so ill post this up and maybe we all can help from this point I just would like you all to know that im no coder and V1 is all new to me<----my disclaimer so what i did was i believe he had an error here in my original reply to him: $m=mysql_query SELECT FROM users WHERE userid={$ir['married']}; so what i did was added () and a couple " and maybe you guys can help with input: <?php 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']); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm); $h->menuarea(); $m=mysql_query("SELECT FROM users WHERE userid={$ir['married']}"); $par=mysql_fetch_row($m); if($ir['married'] == 0) { die("You are not married, come back when you have a partner"); } $_GET['action'] = (isset($_GET['action']) && is_string($_GET['action'])) ? stripslashes(trim($_GET['action'])) : FALSE; switch($_GET['action']) { case 'givemoney': give_money_form(); break; case 'givemoneysub': give_money_submit(); break; case 'givecrystals': give_crystals_form(); break; case 'givecrystalssub': give_crystals_submit(); break; case 'givebank': give_bank_form(); break; case 'givebanksub': give_bank_submit(); break; case 'givebankcrystals': give_bankcrystals_form(); break; case 'givebankcrystalssub': give_bankcrystals_submit(); break; case 'takemoney': take_money_form(); break; case 'takemoneysub': take_money_submit(); break; case 'takecrystals': take_crystals_form(); break; case 'takecrystalssub': take_crystals_submit(); break; case 'takebank': take_bank_form(); break; case 'takebanksub': take_bank_submit(); break; case 'takecbank': take_cbank_form(); break; case 'takecbanksub': take_cbank_submit(); break; case 'sleep': sleep_form(); break; case 'sleepsub': sleep_submit(); break; case 'divorce': divorce(); break; case 'allowence': allowence_form(); break; default: index(); break; } function give_money_form() { global $db,$ir,$c,$h,$userid,$par; print "<h3>Giving Money</h3> This action will give your money to your partner You currently have <b>\${$ir['money']}</b> that you could send. <form action='partner.php?action=givemoneysub' method='post'> Money: <input type='text' name='money' value='0'> <input type='submit' value='Give Money' /></form>"; } function give_money_submit() { global $db,$ir,$c,$h,$userid,$par; if ($ir['money'] < $_POST['money']) { die("You are trying to give more money than you can <a href='partner.php'?action=givemoney>Back</a>"); } else { mysql_query("UPDATE users SET money=money+".abs(floatval($_POST['money']))." WHERE userid={$par['userid']}"); mysql_query("UPDATE users SET money=money-".abs(floatval($_POST['money']))." WHERE userid=$userid"); event_add($par['userid'],"You partner has just given you \${$_POST['money']}",$c); print"You gave \${$_POST['money']} to your partner"; } } function give_crystals_form() { global $db,$ir,$c,$h,$userid,$par; print "<h3>Giving crystals</h3> This action will give your crystals to your partner You currently have <b>{$ir['crystals']}</b> crystals that you could send. <form action='partner.php?action=givecrystalssub' method='post'> Crystals: <input type='text' name='crystals' value='0'> <input type='submit' value='Give crystals' /></form>"; } function give_crystals_submit() { global $db,$ir,$c,$h,$userid,$par; if ($ir['crystals'] < $_POST['crystals']) { die("You are trying to give more crystals than you can. <a href='partner.php'?action=givecrystals>Back</a>"); } else { mysql_query("UPDATE users SET crystals=crystals+".abs(floatval($_POST['crystals']))." WHERE userid={$par['userid']}"); mysql_query("UPDATE users SET crystals=crystals-".abs(floatval($_POST['crystals']))." WHERE userid=$userid"); event_add($par['userid'],"You partner has just given you {$_POST['crystals']} crystals",$c); print"You gave {$_POST['crystals']} crystals to your partner"; } } function give_bank_form() { global $db,$ir,$c,$h,$userid,$par; if ($ir['bankmoney'] < 0) { die("You dont have a bank account"); } if ($par['bankmoney'] < 0) { die("Your partner doesnt have a bank account"); } else { print "<h3>Giving Bank Money</h3> This action will give bank money to your partner You currently have <b>\${$ir['bankmoney']}</b> that you could send. <form action='partner.php?action=givebanksub' method='post'> Bank Money: <input type='text' name='bankmoney' value='0'> <input type='submit' value='Give Bank Money' /></form>"; } } function give_bank_submit() { global $db,$ir,$c,$h,$userid,$par; if ($ir['bankmoney'] < $_POST['bankmoney']) { die("You are trying to give more bank money than you can <a href='partner.php'?action=givecrystals>Back</a>"); } else { mysql_query("UPDATE users SET bankmoney=bankmoney+".abs(floatval($_POST['bankmoney']))." WHERE userid={$par['userid']}"); mysql_query("UPDATE users SET bankmoney=bankmoney-".abs(floatval($_POST['bankmoney']))." WHERE userid=$userid"); event_add($par['userid'],"You partner has just wired you \${$_POST['bankmoney']} into your bank account",$c); print"You wired \${$_POST['bankmoney']} to your partner"; } } function give_bankcrystals_form() { global $db,$ir,$c,$h,$userid,$par; print "<h3>Giving Bank crystals</h3> This action will give your bank crystals to your partner You currently have <b>{$ir['bankcrystals']}</b> bank crystals that you could send. <form action='partner.php?action=givebankcrystalssub' method='post'> Bank Crystals: <input type='text' name='bankcrystals' value='0'> <input type='submit' value='Give Bank Crystals' /></form>"; } function give_bankcrystals_submit() { global $db,$ir,$c,$h,$userid,$par; if ($ir['bankcrystals'] < $_POST['bankcrystals']) { die("You are trying to give more bank crystals than you can. <a href='partner.php'?action=givebankcrystals>Back</a>"); } else { mysql_query("UPDATE users SET bankcrystal=bankcrystal+".abs(floatval($_POST['bankcrystals']))." WHERE userid={$par['userid']}"); mysql_query("UPDATE users SET bankcrystal=bankcrystal-".abs(floatval($_POST['bankcrystals']))." WHERE userid=$userid"); event_add($par['userid'],"You partner has just given you {$_POST['bankcrystals']} crystals",$c); print"You gave {$_POST['bankcrystals']} crystals to your partner"; } } function take_money_form() { global $db,$ir,$c,$h,$userid,$par; if ($par['allowence'] == 0) { die("Your partner hasnt allowed your to access their money."); } else { print "<h3>Take Money</h3> This action will take money from your partner Your partner has \${$par['money']}. <form action='partner.php?action=takemoneysub' method='post'> Money: <input type='text' name='money' value='{$par['money']}'> <input type='submit' value='Take Money' /></form>"; } } function take_money_submit() { global $db,$ir,$c,$h,$userid,$par; if ($par['allowence'] == 0) { die("Your partner hasnt allowed your to access their money."); } if ($par['money'] < $_POST['money']) { die("You are trying to take more money than you can. <a href='partner.php'?action=takemoney>Back</a>"); } else { mysql_query("UPDATE users SET money=money+".abs(floatval($_POST['money']))." WHERE userid=$userid"); mysql_query("UPDATE users SET money=money-".abs(floatval($_POST['money']))." WHERE userid={$par['userid']}"); event_add($par['userid'],"Your partner has just taken \${$_POST['money']} from your hand money",$c); print"You took \${$_POST['money']} from your partner"; } } function take_crystals_form() { global $db,$ir,$c,$h,$userid,$par; if ($par['allowence'] == 0) { die("Your partner hasnt allowed your to access their crystals"); } else { print "<h3>Take Crystals</h3> This action will take crystals from your partner Your partner has {$par['crystals']} crystals. <form action='partner.php?action=takecrystalssub' method='post'> Crystals: <input type='text' name='crystals' value='{$par['crystals']}'> <input type='submit' value='Take Crystals' /></form>"; } } function take_crystals_submit() { global $db,$ir,$c,$h,$userid,$par; if ($par['allowence'] == 0) { die("Your partner hasnt allowed your to access their crystals."); } if ($par['crystals'] < $_POST['crystals']) { die("You are trying to take more crystals than you can. <a href='partner.php'?action=takecrystals>Back</a>"); } else { mysql_query("UPDATE users SET crystals=crystals+".abs(floatval($_POST['crystals']))." WHERE userid=$userid"); mysql_query("UPDATE users SET crystals=crystals-".abs(floatval($_POST['crystals']))." WHERE userid={$par['userid']}"); event_add($par['userid'],"Your partner has just taken {$_POST['crystals']} crystals from you",$c); print"You took {$_POST['crystals']} crystals from your partner"; } } function take_bank_form() { global $db,$ir,$c,$h,$userid,$par; if ($par['allowence'] == 0) { die("Your partner hasnt allowed your to access their finacial bank money."); } if ($ir['bankmoney'] < 0) { die("You dont have a bank account"); } if ($par['bankmoney'] < 0) { die("Your partner dose not have a bank account"); } else { print "<h3>Take Bank Money</h3> This action will take bank money from your partner Your partner has \${$par['bankmoney']}. <form action='partner.php?action=takebanksub' method='post'> Bank Money: <input type='text' name='bank' value='{$par['bankmoney']}'> <input type='submit' value='Take Bank Money' /></form>"; } } function take_bank_submit() { global $db,$ir,$c,$h,$userid,$par; if ($par['allowence'] == 0) { die("Your partner hasnt allowed your to access their bank money."); } if ($par['bankmoney'] < $_POST['bankmoney']) { die("You are trying to take more bank money than you can <a href='partner.php'?action=takebank>Back</a>"); } else { mysql_query("UPDATE users SET bankmoney=bankmoney+".abs(floatval($_POST['bankmoney']))." WHERE userid=$userid"); mysql_query("UPDATE users SET bankmoney=bankmoney-".abs(floatval($_POST['bankmoney']))." WHERE userid={$par['userid']}"); event_add($par['userid'],"Your partner has just taken \${$_POST['bank']} from your bank account",$c); print"You took \${$_POST['bank']} from your partner"; } } function take_cbank_form() { global $db,$ir,$c,$h,$userid,$par; if ($par['allowence'] == 0) { die("Your partner hasnt allowed your to access their bank crystals."); } if ($ir['bankcrystals'] < 0) { die("You dont have a crystal bank account"); } if ($par['bankcrystals'] < 0) { die("Your partner doesnt have a crystal bank account."); } else { print "<h3>Take Bank Crystals</h3> This action will take bank money from your partner Your partner has {$par['bankcrystals']} bank crystals. <form action='partner.php?action=takebanksub' method='post'> Bank Crystals: <input type='text' name='cbank' value='{$par['bankcrystals']}'> <input type='submit' value='Take Bank Money' /></form>"; } } function take_cbank_submit() { global $db,$ir,$c,$h,$userid,$par; if ($par['allowence'] == 0) { die("Your partner hasnt allowed your to access their bank crystals."); } if ($par['bankcrystals'] < $_POST['cbank']) { die("You are trying to take more bank money than you can <a href='partner.php'?action=takecbank>Back</a>"); } else { mysql_query("UPDATE users SET bankcrystals=bankcrystals+".abs(floatval($_POST['bankcrystals']))." WHERE userid=$userid"); mysql_query("UPDATE users SET bankcrystals=bankcrystals-".abs(floatval($_POST['bankcrystals']))." WHERE userid={$par['userid']}"); event_add($par['userid'],"Your partner has just taken {$_POST['bankcrystals']} crystals from your bank account",$c); print"You took {$_POST['bankcrystals']} bank crystals from your partner"; } } function sleep_form() { global $db,$ir,$c,$h,$userid,$par; if($ir['tired'] == 1) { die("You are too tired to sleep with your partner again"); } print "<h3>Sleep with your Partner?</h3> <form action='partner.php?action=sleepsub' method='post'> <input type='submit' value='Sleep With {$par['username']}' /></form>"; } function sleep_submit() { global $db,$ir,$c,$h,$userid,$par; if($ir['tired'] == 1) { die("You are too tired to sleep with your partner again"); } if (!$_POST['msg']) { mysql_query("UPDATE users SET happiness=happiness+1 WHERE userid=$userid"); mysql_query("UPDATE users SET tired=1 WHERE userid=$userid"); event_add($par['userid'],"Your partner has just slept with you. Please take a pregnancy test.",$c); print"You slept with your partner and gained 1 happiness!"; } } function divorce() { global $ir, $mr, $c, $userid, $h; mysql_query("UPDATE users SET married=0 WHERE userid IN($userid, {$ir['married']})", $c); event_add($ir['married'],"{$ir['username']} divorced you... Your now single...",$c); print "You divorced your partner and went back to being single. > <a href='index.php'>Back</a>"; } function allowence_form() { global $db,$ir,$c,$h,$userid,$par; print "<h3>C</h3> This action will decide wether you want to allow your partner to take money, crystals, bank money, bank crystals, etc or not... [<a href='partner.php'?action=allowence&allow=yes>Allo w</a>] [<a href='partner.php'?action=allowence&allow=no>Do Not Allow</a>] "; if($_GET['allow'] == yes) { mysql_query("UPDATE users SET allowence=1 WHERE userid=$userid"); print" Now your partner is allowed to access your finance"; } else if($_GET['allow'] == no) { mysql_query("UPDATE users SET allowence=0 WHERE userid=$userid"); print" Now your partner isnt allowed to access your finance"; } } function index() { global $db,$ir,$c,$h,$userid,$par; print " <h3><center>Information</h3> <center><table width=60% cellspacing=1 class='table' border='1' bordercolor='#636363'></center> <tr> <th><font color=gold>Theirs</th> <th><font color=gold>Yours</th> </tr> <tr> <td><center>Money: \${$par['money']}</td> <td><center>Money: \${$ir['money']}</td> </tr> <td><center>Crystals: {$par['crystals']}</td> <td><center>Crystals: {$ir['crystals']}</td> </tr> <tr> <td><center>Banked Money: \${$par['bankmoney']}</td> <td><center>Banked Money: \${$ir['bankmoney']}</td> </tr> <tr> <td><center>Banked Crystals: {$par['bankcrystals']}</td> <td><center>Banked Crystals: {$ir['bankcrystals']}</td> </tr> </table> <h3><center>Partner Managment</h3> <center><table width=60% cellspacing=1 class='table' border='1' bordercolor='#636363'></center> <tr> <td><a href='partner.php'?action=givemoney><center>Send Money</a></td> <td><a href='partner.php'?action=takemoney><center>Take Money</a></td> </tr><tr> <td><a href='partner.php'?action=givebank><center>Send Bank Money</a></td> <td><a href='partner.php'?action=takebank><center>Take Bank Money</a></td> </tr><tr> <td><a href='partner.php'?action=givecrystals><center>Sen d Crystals</a></td> <td><a href='partner.php'?action=takecrystals><center>Tak e Crystals</a></td> </tr><tr> <td><a href='partner.php'?action=givebankcrystals><center >Send Bank Crystals</a></td> <td><a href='partner.php'?action=takecbank><center>Take Bank Crystals</a></td> </tr><tr> <td><a href='partner.php'?action=sleep'><center>Sleep With {$par['username']}</td> <td><a href='partner.php'?action=allowence><center>Marria ge Allowence!</a></td> </tr><tr> <td colspan='2'><a href='partner.php'?action=divorce><center>Divorce</a></td></tr></table> <h3><center>Marriage Stats</h3> <center><table width=60% cellspacing=1 class='table' border='1' bordercolor='#636363'></center> <tr> <td><center>Your Happiness: {$ir['happiness']}</td> <td><center>Their Happiness: {$par['happiness']}</td></tr></table>"; } $h->endpage(); Hope this helps