Jump to content
MakeWebGames

orsino

Members
  • Posts

    161
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by orsino

  1. orsino

    need help on 1 file

    its fixed...
  2. orsino

    need help on 1 file

    hello i need help on my userimages.php file . here is what the file is for when i go to that file its showing the images i uploaded and when i click on a image it needs to show a popup but that popup is not working here's the userimages file   <?php /*------------includes--------------*/ include ('./includes/connections.php'); include ('./includes/brain_file.php'); include ('./includes/style_top.php'); /*------------includes--------------*/ $_GET['XID'] = abs(intval($_GET['XID'])); echo "<center><main>Images</main><hr width = '75%'>"; if(!$_GET['XID']) { echo "Error, Invalid ID! <hr width = '75%'>><a href=\"javascript:history.back();\">Back</a><hr width = '75%'>"; include ('./includes/style_bottom.php'); exit(); } else { if($_GET['XID'] == $_SESSION['playerid']) { echo "><a href='preferences.php?action=newpic'>Upload images</a><hr width = '75%'>"; } $q_ry = "SELECT `i_id`,`i_playerid`,`i_image`,`i_profile` FROM `member_images` WHERE `i_playerid` = '".mysql_real_escape_string($_GET['XID'])."'"; $any = mysql_query($q_ry); if(!mysql_num_rows($any)) { echo "Error, This user has no images uploaded. <hr width = '75%'>><a href=\"javascript:history.back();\">Back</a><hr width = '75%'>"; include ('./includes/style_bottom.php'); exit(); } else { $id = 0; echo "<table width = '75%' class = 'rounded' cellpadding = '10'><tr>"; $num = 0; while($i = mysql_fetch_array($any)) { $id++; $imgcheck = array(); $imgcheck = "images/uploads/id".$_GET['XID']."/".$i['i_image'].""; $size = array(); $size = getimagesize($imgcheck); if($size) { echo "<td align = 'center'> <span class = 'openPopup".$id."' rel = 'popup' id = '".$id."'> <img src = '".$imgcheck."' width = '160px'></span>"; echo "</td>"; } else { // error echo "<td align = 'center'><font color = 'red'><b>Error while loading image</b></font>.<td/>"; } $num++; if($num == '3') { echo "</tr><tr>"; $num = 0; } } echo "</tr></table> <hr width = '75%'>><a href='profile.php?XID=".$_GET['XID']."'>Back</a><hr width = '75%'>"; } } include ('./includes/style_bottom.php'); $q_ry = "SELECT `i_id`,`i_playerid`,`i_image`,`i_profile` FROM `member_images` WHERE `i_playerid` = '".mysql_real_escape_string($_GET['XID'])."'"; $any = mysql_query($q_ry); if(!mysql_num_rows($any)) { //Nothing to load } else { $id = 0; while($i = mysql_fetch_array($any)) { $idxx; $imgcheck = array(); $imgcheck = "images/uploads/id".$_GET['XID']."/".$i['i_image'].""; $size = array(); $size = getimagesize($imgcheck); if($size) { echo "<div class = 'openpopup' id = 'popup".$id."'> ".round_table('435')." <table width = '100%' border = '0' cellspacing = '0'> <tr bgcolor = '#999999'><td align = 'right'><span id = '".$id."' rel = 'closepopup'>X</span></td></tr> <td align = 'center'> <a href='viewimage.php?i=".$i['i_id']."&XID=".$_GET['XID']."'> <img src = '".$imgcheck."' width = '100%'></a> </td> </table> ".end_round()." </div>"; } else { //Nothing, Image error } } } ?>
  3. will do that next time
  4. how can i prove somthing i did not get ?? i can show the prove that a payed
  5. its wensday today and still not recieved
  6. i have payed him 50 $ for some website files firt i would get it the same day then a friend of him was having the files and he needed to wait ather some days i still not recieved the files and made a paypal claim (will have more info on that later ) he is now saying he has send the files but he is a liar
  7. Don't buy from razor42 he is a scammer
  8. hello   i am looking for the engine like on murder city ruthless city or http://the-destroyers.com they are all the same (almost ) is there a place i can buy a licence for those files ?
  9. i just wanted to try somthing out like i posted before i am still learning php
  10. hi i have tryed to make a contribution to the nw-engine comunity . its not mutch as i am still learning php   1 : open up content.php from the logout module 2 : find header("Location: index.php"); 3: replace with ; $Day = array( 'Mon' => 'Monday', 'Tue' => 'Tuesday', 'Wed' => 'Wednesday', 'Thu' => 'Thursday', 'Fri' => 'Friday', 'Sat' => 'Saturday', 'Sun' => 'Sunday' ); $Day = $Day[date('D')]; echo ' <center><p><font color="#ffffff"> Thank you for playing we wish you A Nice '.$Day.' </center></font></p> <meta http-equiv="refresh" content="4; url=index.php"> ';;   4 : change the font color in whatever color you need
  11. nice thx for the update
  12. yes its working again
  13. cant do anything to the game now only get that message
  14. Query error: Table '*******_db.inside_menu_ext' doesn't exist afther install
  15. is it possible to ad house img to the house module   and also showing the img on your home page
  16. are you still working on this template can we see a ingame screenshot please ?
  17. yes i know i wish i could delete my selling topic
  18. thx alot a_bertrand
  19. yes i waited so you had the chance to do some work i see you did make some of my ideas and i want to thank you for that
  20. nice i needed that whats the progress on the house system ?
  21. i am not selling this engine to buy a other engine i know i would be having the same problem
  22. Well i have a double feeling about this ( i do believe A bertrand will do alot for the engine ) first of all its true what someone is saying you need to know the basic of php so here i am having problems like on point 6 add a time check don't know what to do this problem will return on some parts of the game point 4 i am meaning like company on Torn players start they company and need other players for the work
  23. well make me an offer don't know what its worth i payed 100$
  24. is this possible with items ?? like: you stole a itemname and its taking a item from id 1 to 10
  25. New ideas Change the Fight option on vieuw player into a new fight where you can Hospitalized other players Award system : players can get awards and would be showing on profile ( player gets somthing for the reward ) Locations : adding time to go to a other location referral link : players getting somthing for recruiting friends Facebook log in : doesnt need more info i think Ban : not the forum ban ( game ban ) i know i ask alot but i am still learning to code so i cant make it myself . if anyone could make 1 or more of these things i am willing to pay ( only via the official module way )
×
×
  • Create New...