Jump to content
MakeWebGames

neoaliaselmo

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by neoaliaselmo

  1. Hello community, I've changed a bit of the style of the mccode and put it into an iframe, Noe i face a problem... When i use an older version of mozilla the iframe is transparent as it should be... but when i use internet explorer or a new version of Mozilla the background is blue ! Does anyone had this "problem"? Can anyone explain me the effect or there is a solution to make it be transparent any time using any browser that player has installed in bis/her PC ? Best regards and i hope that i didn't bother anyone
  2. Is there anyone that could help me with an plugin-mod so users could search a promo code and when they find it (ie on facebook) they log in the game and enter somewhere and get rewarded... ? (something like register.php but only for the registered players). This code could be changed trough an editor or admin area anytime you want... and the user could enter the code only once... ie codereward.php <?php ... ... if($ir['codereward'] > 0) { die("<font color=orange>$gn{$u} {$ir['username']} Sorry but you allready benefited by a code!</font>"); } ... ... TXH.
  3. == "Weapons") { $shopname = "If its Weapons you need your here"; $from = "items"; $type = "weapon > '0'"; $show = 100; } elseif ($_GET == "Armour") { $shopname = "Our Best Armour Shop"; $from = "items"; $type = "armor > '0'"; $show = 100; } elseif ($_GET == "Medical") { $shopname = "Our Best Medical Supplies Shop"; $from = "items"; $type = "itmtype = 'ID OF ITEM TYPES FOR MEDICAL ITEMS'"; $show = 100; } else { echo" this shop dont exsist "; die(); } $res = mysql_query("SELECT * FROM $from WHERE $type ORDER BY itmbuyprice ASC") or die(mysql_error()); echo "$shopname"; echo " Img Item Price Buy"; while ($row = mysql_fetch_array($res)) { if ($row[itmbuyable] == 0) continue; $rfc = mt_rand(0, 100); if ($show < $rfc) continue; if (!$i) { $bg = "#ffffff"; $i = 1; } elseif ($i) { $bg = "#ececec"; $i = 0; } $imageuri = $row[itempic]; if (!$imageuri) $imageuri = "images/items/default.jpg"; echo " if ($from == "items") echo "item"; else echo "weapon"; echo "info.php?ID=$row[itmid]\">$row[itmname] $". number_format($row[itmbuyprice]) ." if ($from == "items") echo "buy"; else echo "buy"; echo ".php?id=$row[itmid]\">Buy"; } echo " "; $h->endpage(); ?> I use the original shops.php file. When i replace with this code it says "this shop dont exsist" I also use just links in explore for the shops (i.e: shops.php?shop=1 wich states for weapons, shops.php?shop=2 wich states for armors and so on...) Sry Illusions i bumped at code :) @Kabbz the code gives errors no mather what i change to it but, yes i want "shops.php?shop=1" to display the 100 items in pages (4 pages with 25 items per page) thx all for learning me :)
  4. I mean if you have a shop named "Weapons" and there you have 100 wapons in it you will have display 25 items displayed on a page and 4 pages in total... :)
  5. Hello, Can anyone help me with making a shop with more pages ? (I use 100 items in one shop and its not so nice to scroll all the way down for the last item)...   Thx.
  6. ... it doesn`t shows the timestamp in the chat.php it shows the username and the message only... any fix to this ? thx,
×
×
  • Create New...