Karlos
Members-
Posts
951 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Karlos
-
Re: [v2]workin cyberbank[v2] Ohh please....You think this is worthy of a post? I don't all you did was add a $ seriously no-one is ever gonna learn by you posting mods up which are broken...Why not show them why its not working? :|
-
Re: Adobe CS3 I was saying it was but i just had a random personally opinion to put out, and yes i know dreamweaver helps designs webpages but IMHO i don't think its that great. However Photoshop is a great program to design graphics, nice and easily used interface :wink:
-
Re: [MCcode V2] Item Market Revamped No offence but i din't think your allowed to post base codes.... Nice work tho.... I'll test it later :wink:
-
Re: Adobe CS3 Same here, but IMHO dreamweaver isn't great to use.
-
Re: [New Game!]Legacy Phaser :-o That the best login i've ever seen and it also has a matching register and header!!!! It's sooooooo.......... Common -.-
-
Re: [mccodes V2] Advanced Credit Card Mod [$10.00] No problem, it was worth waiting for :wink:
-
Re: [mccode v2] Basic Stock Market Well your cron isn't working... :wink:
-
Re: [mccode v2] Basic Stock Market Depends where you put the cron :wink:
-
Re: [mccodes V2] Advanced Credit Card Mod [$20.00] *Karlos sighs* I payed for the mod but i waiting for my copy :|.....Check your Paypal :wink:
-
Re: [mccode v2] Email Activation I guess so...never tried tho...
-
Re: Max Cap Does it matter what version it is? All it is SQL changing :wink: INT => BIGINT Theres a clue.....
-
Re: [mccode V2] Rate User['s] Thanks :-D
-
Re: [mccode V2] Rate User['s] He posted it, but i use only one SQL fielf to save room O.O
-
Re: [mccode] Cityname in Mainmenu I personally would use Djkanna's ways it's much cleaner :-D +1 to both (if i can be asked to click the button)
-
Re: [mccode V2] Rate User['s] Try: SQL CREATE TABLE IF NOT EXISTS `usrate` ( `rater` int(11) NOT NULL, `rated` int(11) NOT NULL ); ALTER TABLE `users` ADD `ratings` INT( 11 ) NOT NULL DEFAULT '0'; rating.php <?php include "globals.php"; $ID = (int) ($_GET['ID']); $action = $_GET['action']; $ar=$db->query("SELECT * FROM usrate WHERE rater={$userid} AND rated={$ID}"); if($db->fetch_row($ar)) { echo 'You Already Rated This Person Today'; $h->endpage(); exit; } switch($action) { case 'goodrating': goodrating(); break; case 'badrating': badrating(); break; } if(!$ID) { echo "Error - invaild player id."; $h->endpage(); exit; } if(!$action) { echo "Error - invaild action."; $h->endpage(); exit; } function goodrating() { global $ir,$userid; $ID = $_GET['ID']; if($ID == $userid) { echo 'You cannot rate yourself.'; $h->endpage(); exit; } else { $result = mysql_query("SELECT * FROM users WHERE userid='{$ID}'"); while($row = mysql_fetch_row($result)) { $ratings = $row['ratings']; } mysql_query("UPDATE users SET goodratings = {$gratings}+1 WHERE userid='{$ID}'"); mysql_query("INSERT INTO usrate values ({$userid},{$ID})"); echo 'You gave the user a good rating'; } } function badrating() { global $ir,$userid; $ID = $_GET['ID']; if($ID == $userid) { echo 'You cannot rate yourself.'; $h->endpage(); exit; } else { $result = mysql_query("SELECT * FROM users WHERE userid='{$ID}'"); while($row = mysql_fetch_row($result)) { $ratings = $row['ratings']; } mysql_query("UPDATE users SET badratings = {$bratings}+1 WHERE userid='{$ID}'"); mysql_query("INSERT INTO usrate values ({$userid},{$ID})"); echo 'You gave the user a bad rating'; } } $h->endpage(); ?> add to viewuser.php [b]Ratings:[/b] [url='rating.php?ID={$r[']<font color='green'>+</font>[/url] {$r['ratings']} [url='rating.php?ID={$r[']<font color='red'>-</font>[/url] Use same cron
-
Re: [mccode V2] Rate User['s] Oh well, atleast i helped you understand one of your errors, hope you find use for tho book marks aswell. +1
-
Re: [mccode V2} Web Templates Converted You post the links to view them...but don't post the actually files :?
-
Re: [mccode v2] Shop Picture Do i really need to point out your error zero? Here it goes... <td><img src = "{$r['shopPIC']}" alt = "$ir['shopNAME']}" title = "$ir['shopNAME']}"></td>
-
Re: [v1] hall of fame help I watched terminator 2 last night :-) pointles and random :-D
-
Re: [mccode v2] Shop Picture Surely you mean <td>[img='.$r['shopPIC'].']</td>
-
Re: [V2] Shop Picture Of course :-D
-
Re: [V2] Shop Picture Karlos is talking hisself still! He SPOKE!! I know act normal Okay.. Karlos farts
-
Re: [V2] Shop Picture xD Karlos starts to talk to hisself! Who's that Sniko`? You ever heard of him? Nope have you? Nope
-
Re: [V2] Shop Picture XD i've never seen it on CE :lol:
-
Re: [V2] Shop Picture House pic, item pics, same old same old....What next? City pics? +1 Anyway