Jump to content
MakeWebGames

Rdogg

Members
  • Posts

    46
  • Joined

  • Last visited

    Never

Everything posted by Rdogg

  1. Re: [help]voting tokens thanks people
  2. how do i make this display how much a user has got from the users table from the votingtoken bit heres what i got so far [ it is ment to show in headers] Vote Tokens: {$ir['votetokens']}
  3. hello , where can i find these mods like these [free] Voting: they click a banner and it gives them points instead of money then when they get enough they can buy premium, other stuff.   and simple car mod: buy car, staff_cars.php , sell car , race , easy to install add my msn : [email protected]
  4. Re: [Need]Sql Dump[Need] + 1000 then xD
  5. Re: [Need]Sql Dump[Need] i have the time and dont mind but its quicker and i give u a +1
  6. has anyone got a cool sql dump for items, shops , crimes , crimytypes , jobs , courses ect.. i could have thanks a million   msn : [email protected]
  7. Re: [NEED Help][MCCODES V2] Item Pic Mod where to add it? what goes in the ur stuff here/
  8. so i added the item pic mod and everything works fine (adding items , editing) but how do i make it display the image before the name of the item or a column before the item column saying "image" heres my shop.php <?php include "globals.php"; $_GET['shop'] = abs((int) $_GET['shop']); if(!$_GET['shop']) { print "You begin looking through town and you see a few shops. "; $q=$db->query("SELECT * FROM shops WHERE shopLOCATION={$ir['location']}"); print "<table width=85% cellspacing=1 class='table'><tr style='background: gray;'><th>Shop</th><th>Description</th></tr>"; while($r=$db->fetch_row($q)) { print "<tr><td>[url='shops.php?shop={$r[']{$r['shopNAME']}[/url]</td><td>{$r['shopDESCRIPTION']}</td></tr>"; } print "</table>"; } else { $sd=$db->query("SELECT * FROM shops WHERE shopID={$_GET['shop']}"); if($db->num_rows($sd)) { $shopdata=$db->fetch_row($sd); if($shopdata['shopLOCATION'] == $ir['location']) { print "Browsing items at [b]{$shopdata['shopNAME']}...[/b] <table cellspacing=1 class='table'><tr style='background: gray;'><th>Item</th><th>Description</th><th>Price</th><th>Sell Price</th><th>Buy</th><th>Buy with Credit Card</th></tr>"; $qtwo=$db->query("SELECT si.*,i.*,it.* FROM shopitems si LEFT JOIN items i ON si.sitemITEMID=i.itmid LEFT JOIN itemtypes it ON i.itmtype=it.itmtypeid WHERE si.sitemSHOP={$_GET['shop']} ORDER BY i.itmtype ASC, i.itmbuyprice ASC, i.itmname ASC"); $lt=""; while($r=$db->fetch_row($qtwo)) { if($lt!=$r['itmtypename']) { $lt=$r['itmtypename']; print "\n<tr style='background: gray;'><th colspan=6>{$lt}</th></tr>"; } $buyprice=money_formatter($r['itmbuyprice']); $sellprice=money_formatter($r['itmsellprice']); $creditcardbuyprice=money_formatter($r['itmbuyprice']); ?><tr><td><? echo $r['itmname']; ?></td><td><? echo $r['itmdesc']; ?></td><td><? echo $buyprice; ?></td><td><? echo $sellprice; ?></td><td><form action='itembuy.php?ID=<? echo $r['itmid']; ?>' name="shopbuy" method='post'> Qty: <input type='text' name='qty' value='1' onkeyup="tot(<? echo $r['itmid']; ?>,<? echo $r['itmbuyprice']; ?>,this.value);" onfocus="clearText(this);" onblur="returnText(this);" /><input type='submit' value='Buy' /></form><div id="res<? echo $r['itmid']; ?>" align="center"></div></td><td> <form action='creditcarditembuy.php?ID=<? echo $r['itmid']; ?>' name="shopbuy" method='post'> Qty: <input type='text' name='qty' value='1' onkeyup="tot(<? echo $r['itmid']; ?>,<? echo $r['itmbuyprice']; ?>,this.value);" onfocus="clearText(this);" onblur="returnText(this);" /><input type='submit' value='Buy' /></form><div id="res<? echo $r['itmid']; ?>" align="center"></div></td> </tr> <? } print "</table>"; } else { print "You are trying to access a shop in another city!"; } } else { print "You are trying to access an invalid shop!"; } } $h->endpage(); ?>
  9. iamwicked fixed for me :roll: :roll: :roll: :roll:
  10. Re: [Need Help]Cron? im sorry but wthat unix_timestamps , and how i use :) also if u have msn plz add me [email protected]
  11. hey , oon my server i can run crons manual but not automatically is there anyone to do this automatically or make it non cron game?   ~thanks in advance ;)
×
×
  • Create New...