
Feky
Members-
Posts
172 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Feky
-
Re: secure mccodes v2 it could cost you from 100 to 500 dollers if you get it secured
-
Re: Avatar Page - My first mod nice mod i cant wait to make my first mod but i have still alot of learning to do and +1
-
Re: mysql help? Maybe he didn't maybe he just filled it in :-o if he just filled it in then thats good but if not i would advise him to change his details because alot of people would try to steal your files/delete them
-
Re: mysql help? lol you just gave away all you cpanel details
-
Does anyone have a idea of how i can get the quoted text in a box when someone quotes another user function quote() { global $ir, $c, $userid, $h, $bbc, $db; $sql = sprintf("SELECT ft_id, ft_name, ft_forum_id, ft_locked FROM forum_topics WHERE (ft_id = %u)", $_GET['viewtopic']); $q = $db->query($sql); if(!$db->num_rows($q)) { echo "What are you doing?"; $h->endpage(); exit; } $topic = $db->fetch_row($q); $sql2 = sprintf("SELECT ff_id, ff_auth, ff_owner, ff_name FROM forum_forums WHERE (ff_id = %u)", $topic['ft_forum_id']); $q2 = $db->query($sql2); if(!$db->num_rows($q2)) { echo "What are you doing?"; $h->endpage(); exit; } $forum = $db->fetch_row($q2); if(($forum['ff_auth']=='gang' AND $ir['gang'] != $forum['ff_owner'] AND $ir['user_level'] != 2) OR ($forum['ff_auth'] == 'staff' AND $ir['user_level'] < 2)) { echo "You have no permission to reply to this topic. [img=/images/gt.png]' /> [url='forums.php']Back[/url]"; $h->endpage(); exit; } echo "<big>[url='forums.php']Forums Home[/url] ? "; echo sprintf("[url='forums.php?viewforum=%u']%s[/url] ? ", $forum['ff_id'], stripslashes($forum['ff_name'])); echo sprintf("[url='forums.php?viewtopic=%u']%s[/url] ? ", $_GET['viewtopic'], stripslashes($topic['ft_name'])); echo "Quoting a Post</big> "; if(!$topic['ft_locked']) { echo " "; echo "<span style='font-weight:bold;'>Post a quoted reply to this topic:</span> "; echo sprintf("<form action='forums.php?reply=%u' method='post'>", $topic['ft_id']); echo "<table border='1' cellspacing='1' class='table' width='80%' border='0'>"; echo "<tr>"; echo "<td align='right'>Subject:</td>"; echo "<td align='left'><input type='text' name='fp_subject' /></td>"; echo "</tr>"; echo "<tr>"; echo "<td align='right'>Post:</td>"; echo "<td align='left'>"; echo sprintf("<textarea class='spell_check' rows='7' cols='40' name='fp_text'>[quote="%s"]%s[/quote]</textarea>", $_GET['quotename'], stripslashes($_GET['quotetext'])); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<th colspan='2'><input type='submit' value='Post Reply'></th>"; echo "</tr>"; echo "</table>"; echo "</form>"; } else { echo "[i]This topic has been locked, you cannot reply to it.[/i] "; echo sprintf("[url='forums.php?viewtopic=%u']Back[/url]", $_GET['viewtopic']); } }
-
Re: hireaspy mod pm me with you errors and i will see what i can do
-
Re: Hey Need a lil help on exp, set your level to int(11) in users table
-
Re: mysql help? cpanelusername_database cpanelusername cpanelpassword replace these with your details
-
Re: hireaspy mod the reason it dosent work it because it is for version one and you are using version remove this session_start(); require "global_func.php"; $_GET['ID'] = abs(@intval($_GET['ID'])); 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']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); and add include "globals.php";
-
Re: [mccode v2] Multiple Houses they are not that hard to fix i managed to fix them
-
Re: Looking for code paying $5 what is your game called
-
Re: Crime Update well i altered it a bit and works perfect for me and you should of made a backup before you were going to make a big change
-
Re: cron job help? and make sure you put the right command with the right cron, and it will only work if your crons are working properly with no errors
-
Re: cron job help? this would be your command to run curl http://criminals-nightmare.co.cc/cron_f ... **********
-
Re: Respect from orgcrimes Why add that, that is pointless. lol.. Just use the one already there?. echo "Money: ". money_formatter($ir['money']); OR.. echo "Money: \$". number_format($ir['money']); started coding a month ago so i took the root i understood lol and it works perfectly for me the include (DIRNAME(__FILE__) . "/globalfunctions.php only needs to be added to the cron_hour.php and i only posted a part that need to be added in the cron_hour.php because most people might have different querys in their cron_hour.php
-
Re: gangs organised crimes i had a go at adding respect to ocs mod http://criminalexistence.com/ceforums/i ... ic=29720.0
-
Re: Adding an item to the game Step 1:once you are in you database then go to table called users and click it Step 2: once you clicked it ,the users table will appear with all its fields Step 3: then go to the top of the page and you will find a link called Browse Step 4: once you found the browse link ,click it and you will get directed to all the user infomation Step 5: once you get directed to the users information then find you user name and next to it will be a little symbol that looks like a pen Step 6: once you find that pen sign click it and then you information will appear, scroll down until you find the field user_level Step 7: once you found that field change it to 2 and go right at the bottom and click go and you should be all sorted (Note: click the go that is right under the last field)
-
Re: New game nice game mike and dominator looks really good
-
Re: [mccode v2] Simple Job Specials i got the multiple houses working with no bug at all but the rental market has bugs
-
Re: Monorail Problem go to you sql table in phpmyadmin and delete one city at a time and add it after the one you want it after its quite simple really
-
Re: marriage, sharing housing? i dont think their is a housing mod that actually works
-
Re: [MMCODES V2] HACKING ATTEMPTS LOGGED nice cant wait for this+1
-
Re: mcodes v2 installer.php help add me on msn lol i will sort it for you [email protected]
-
Re: mcodes v2 installer.php help if you uploaded the files all at once then you probally put them in the zip folder so you need to add the folder name to the path
-
Re: Any chance for 10 seonds of your time? or you could change the if statement and put a query in so that if the president leaves the gang the gang would get deleted.