-
Posts
365 -
Joined
-
Last visited
-
Days Won
6
Content Type
Profiles
Forums
Events
Everything posted by Veramys
-
Has anyone here played the Destiny beta yet? If so what did you think? I've been playing it for a few hours and all I'll say is if you haven't then you should! It's freaking awesome!
-
Should never say something doesn't need secured. Everything can be secured just a little bit better.
-
Really so that version is secure against everything?
-
I figured you could put the functions under header in the part where it calls to them being in fedjail and work with it that way. I've not done so yet cause I've been working on other things but if I do I'll make sure to let you use it.
-
Isn't the worth of something in the eye of the beholder? Would I pay $55 for it? No. I have a friend that helps me with CSS and layouts. Is it worth $55? Yes. I know a few people that if they were looking they'd pay that for it. No need to tell someone that their work isn't worth what they are asking for. No need to be jerks.
-
If google was my friend I wouldn't be asking here.
-
Okay so I have no experience with Ajax whatsoever, how would I stop a page from bringing up the "Confirm Form Resubmission"? Like say I have someone training, and they're trying to do it as fast as possible to keep from wasting supplies. How would I get it to repost the data but not have to hit ok while doing it? Any help would be much appreciated. Thanks.
-
Good luck in your iOS development bro. I hope it all works out for you
-
I found my way off the board on the second link lol
-
Nicely done [MENTION=70287]codespot[/MENTION].
-
I'm a white rectangle and I fell through the bottom of the board. Needs a lot of work.
-
Thanks for the info.
-
I know they say don't judge a book by its cover, but the layout leaves a lot to be desired. Other than the layout though it's looking pretty good.
-
They keep going to my spam.
-
I won't use it but nice website.
-
Nvm I was wrong
-
Reece - A.K.A "Splash" - Stolen Template
Veramys replied to W3Theory || Peter's topic in Collaboration Experiences
This kind of stuff is exactly why I don't share any of my work with anyone. I don't get screwed over if I don't place my trust in people that obviously can't be trusted. Why rip someones stuff? Make stuff yourself and make it better. If you don't have the talent for it then maybe you should stick to doing other stuff. Thieves and cheaters don't get far in life. Remember that. I'm sure if you spent all your time developing something, only to have it stolen, you'd be pretty pissed off yourself. That's my two cents anyway. -
I watched every episode avidly. I loved it and I'll re-watch it eventually. Right now I'm on a Dexter spree.
-
-
User tagging & Interactions enhancements
Veramys replied to ColdBlooded's topic in News and Announcements
I like this new system actually. It's nice to see you active again [MENTION=50433]ColdBlooded[/MENTION]. -
Just at a glance try that. <?php include(DIRNAME(__FILE__).'/includes/globals.php'); print " <div class='generalinfo_txt'> <div><img src='images/info_left.jpg' alt='' /></div> <div class='info_mid'><h2 style='padding-top:10px;'> Banca Comerciala</h2></div> <div><img src='images/info_right.jpg' alt='' /></div> </div> <div class='generalinfo_simple'> "; if($ir['bankmoney']>-1) { switch($_GET['action']) { case 'Withdraw': withdraw(); break; case 'Deposit': deposit(); break; case 'Transfer': transfer(); break; default: index(); break; } } else { if(isset($_GET['buy'])) { $cost=20000; if($ir['money']>$cost) { $costy=number_format($cost); print " Felicitari! Ai platit taxa de \$$costy si ti-ai deschis un cont in banca. <a href='bank.php'>Intra in Banca</a> "; $sql = sprintf("UPDATE users SET bankmoney=0, money=money-$cost WHERE userid=$userid"); $db->query($sql); } else { print " Nu ai suficienti bani pentru a deschide un cont in banca! <a href='explore.php'>Inapoi in Oras...</a> </div> <div><img src='images/generalinfo_btm.jpg' alt='' /></div> </div> </div> </div> </div> </div> "; $h->endpage(); exit; } } else { print " Deschide-ti un cont in banca chiar acum, taxa \$20,000. <a href='bank.php?buy'>Deschidere cont!</a> </div> <div><img src='images/generalinfo_btm.jpg' alt='' /></div> </div> </div> </div> </div> </div> "; } } function index() { global $db, $h, $ir, $userid; $cashinfo=money_formatter($ir['money']); $interest= $ir['bankmoney']/100*5; $interests=money_formatter($interest); $balance=money_formatter($ir['bankmoney']); print " La sfarsitul fiecarei zile, vei primii <u>5% dobanda</u> pentru suma totala pe care o ai in contul de economii. Valoarea minima pentru depuneri / retrageri este de 1\$! <table width=\"90%\" class=\"table\" border=\"1\"> <tr> <th colspan=\"2\">Situatia Financiara</th> </tr> <tr> <td width=\"50%\"><img src=\"images/bankcash.gif\" width=\"100px\" alt=\"\" border=\"0\" style=\"margin-top: 15px; margin-bottom: 15px;\" /></td> <td width=\"50%\"><img src=\"images/bankcont.gif\" width=\"100px\" alt=\"\" border=\"0\" style=\"margin-top: 15px; margin-bottom: 15px;\" /></td> </tr> <tr> <td> <b>Cash disponibil:</b> $cashinfo </td> <td> <span><b>Sold curent:</b> $balance </span> <span><b>Procent dobanda:</b> 5% / zi </span> <span><b>Dobanda zilnica:</b> $interests</span> </td> </tr> </table> <table width=\"90%\" class=\"table\" border=\"1\"> <tr> <th width=\"50%\">Depunere in Cont</th><th width=\"50%\">Retragere din Cont</th> </tr> <tr> <td> Fiecare depunere este taxata de catre banca noastra cu <b>2%</b> din totalul sumei depuse. <form action='?action=Deposit' method='post'> Suma: <input type='text' STYLE='color: black; background-color: white;' name='dt' value='' /> <input type='submit' STYLE='color: black; background-color: white;' value=' Depunere ' /> </form> </td> <td> Fiecare retragere este taxata de catre banca noastra cu <b>3%</b> din totalul sumei depuse <form action='?action=Withdraw' method='post'> Suma: <input type='text' STYLE='color: black; background-color: white;' name='wd' value='' /> <input type='submit' STYLE='color: black; background-color: white;' value=' Retragere ' /> </form> </td> </tr> </table> "; } function transfer() { global $db,$ir,$c,$userid; $_GET['userid'] = abs((int) $_GET['userid']); $_GET['xferu'] = abs((int) $_GET['xferu']); $_POST['xferu'] = abs((int) $_POST['xferu']); $_POST['money'] = abs((int) $_POST['money']); $xferuser = $_GET['xferu']; if(!$_GET['xferu']) { echo " This user doesn't exist! <a href=\"bank.php\">< Inapoi la Transferuri Bancare</a> </div> <div><img src='images/generalinfo_btm.jpg' alt='' /></div> </div> </div> </div> </div> </div> "; exit; } if($_GET['xferu'] == $userid) { print " Nu iti poti trimite bani singur! <a href=\"bank.php\">< Inapoi la Transferuri Bancare</a> "; } else { if((int) $_POST['money']) { if($_POST['money'] > $ir['money']) { print " Nu ai atata cash disponibil! Retrage din cont suma dorita apoi reincearca transferul. <a href=\"bank.php\">< Reincearca</a> "; } else { $db->query("UPDATE users SET money=money-{$_POST['money']} WHERE userid=$userid"); $db->query("UPDATE users SET money=money+{$_POST['money']} WHERE userid=$xferuser"); print " I-ai trimis suma de \${$_POST['money']} utilizatorului cu ID-ul $xferuser. <a href=\"bank.php\">< Inapoi la Transferuri Bancare</a> "; event_add($xferuser,"Ai primit un transfer bancar de \${$_POST['money']} de la {$ir['username']}.",$c); $it=$db->query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$xferuser"); $er=$db->fetch_row($it); $db->query("INSERT INTO cashxferlogs VALUES ('', $userid, $xferuser, {$_POST['money']}, unix_timestamp(), '{$ir['lastip']}', '{$er['lastip']}')"); } } else { print " <table width=\"90%\" class=\"table\" border=\"1\"> <tr><th colspan=\"2\">Transfer Bancar intre Jucatori</th></tr> <tr> <form action='bank.php' method='post'> <td>Beneficiar:</td> <td><input type='text' STYLE='color: black; background-color: white;' name='xferu' value='{$_GET['xferu']}' /></td> </tr> <tr> <td>Suma:</td> <td><input type='text' STYLE='color: black; background-color: white;' name='money' /></td> </tr> <tr> <td colspan=\"2\" align=\"center\"><input type='submit' STYLE='color: black; background-color: white;' value=' Trimite ' /></td> </form> </tr> </table> <table width=\"90%\" class=\"table\" border=\"1\"> <tr> <th colspan=\"4\">Ultimile 5 Transferuri (efectuate)</th> </tr> <tr> <td width=\"190px;\"><b>Data</b></td> <td width=\"190px;\"><b>Beneficiar</b></td> <td width=\"190px;\"><b>Suma</b></td> </tr> "; $q=$db->query("SELECT cx.*,u1.username as sender, u2.username as sent FROM cashxferlogs cx LEFT JOIN users u1 ON cx.cxFROM=u1.userid LEFT JOIN users u2 ON cx.cxTO=u2.userid WHERE cx.cxFROM=$userid ORDER BY cx.cxTIME DESC LIMIT 5"); while($r=$db->fetch_row($q)) { if($r['cxFROMIP'] == $r['cxTOIP']) { $m="<span style='color:red;font-weight:800'>MULTI</span>"; } else { $m=""; } print "<tr> <td>" . date("F j, Y, g:i:s a",$r['cxTIME']) . "</td><td>{$r['sent']} [{$r['cxTO']}] </td> <td> \${$r['cxAMOUNT']}</td> </tr>"; } print " </table> "; print " <table width=\"90%\" class=\"table\" border=\"1\"> <tr> <th colspan=\"4\">Ultimile 5 Transferuri (incasate)</th> </tr> <tr> <td width=\"190px;\"><b>Data</b></td> <td width=\"190px;\"><b>Platitor</b></td> <td width=\"190px;\"><b>Suma</b></td> </tr> "; $q=$db->query("SELECT cx.*,u1.username as sender, u2.username as sent FROM cashxferlogs cx LEFT JOIN users u1 ON cx.cxFROM=u1.userid LEFT JOIN users u2 ON cx.cxTO=u2.userid WHERE cx.cxTO=$userid ORDER BY cx.cxTIME DESC LIMIT 5"); while($r=$db->fetch_row($q)) { if($r['cxFROMIP'] == $r['cxTOIP']) { $m="<span style='color:red;font-weight:800'>MULTI</span>"; } else { $m=""; } print "<tr> <td>" . date("F j, Y, g:i:s a",$r['cxTIME']) . "</td><td>{$r['sender']} [{$r['cxFROM']}] </td><td> \${$r['cxAMOUNT']}</td> </tr>"; } print " </table> "; } } print " </div> <div><img src='images/generalinfo_btm.jpg' alt='' /></div> </div> </div> </div> </div> </div> "; } function withdraw() { global $ir,$c,$userid,$h,$db; $_POST['wd'] = abs(intval($_POST['wd'])); $with=number_format($_POST['wd']); $bkmon=number_format($ir['bankmoney']); if($ir['bankmoney']<$_POST['wd']) { print " <center>Ai incercat sa retragi <b>\$$with</b> din contul tau, dar nu ai decat <b>\$$bkmon</b> disponibili. <a href=\"bank.php\">< Inapoi</a></center> </div> <div><img src='images/generalinfo_btm.jpg' alt='' /></div> </div> </div> </div> </div> </div> "; $h->endpage(); exit; } /* $total=number_format($ir['bankmoney']-$_POST['wd']); */ $btax=$_POST['wd']*0.03; // if($btax>10000) { $btax=10000; } // $taken=number_format($btax); $bank=$_POST['wd']-$btax; $banky=number_format($bank); $total=number_format($ir['bankmoney']-$bank); print " <center> Ai retras suma de <b>\$$with</b> din contul tau, iar banca ti-a oprit comision de retragere in valoare de <b>\$$taken</b>. Suma finala primita este in valoare de <b>\$$banky</b>, cu toate taxele scazute. <a href=\"bank.php\">< Inapoi</a></center> </div> <div><img src='images/generalinfo_btm.jpg' alt='' /></div> </div> </div> </div> </div> </div> "; $sql = sprintf("UPDATE users SET bankmoney=bankmoney-{$_POST['wd']}, money=money+$bank WHERE userid=$userid"); $db->query($sql); } function deposit() { global $ir,$c,$userid,$h,$db; $_POST['dt'] = abs(intval($_POST['dt'])); $dep=number_format($_POST['dt']); $mon=number_format($ir['money']); if($_POST['dt']<1) { print " <center>Valoarea minima pentru depuneri este de 1\$! Te rugam sa introduci o valoare mai mare. <a href=\"bank.php\">< Inapoi</a></center> </div> <div><img src='images/generalinfo_btm.jpg' alt='' /></div> </div> </div> </div> </div> </div> "; $h->endpage(); exit; } if($ir['money']<$_POST['dt']) { print " <center>Ai incercat sa depui <b>\$$dep</b> in contul tau, dar ai doar <b>\$$mon</b> cash disponibil. <a href=\"bank.php\">< Inapoi</a></center> </div> <div><img src='images/generalinfo_btm.jpg' alt='' /></div> </div> </div> </div> </div> </div> "; $h->endpage(); exit; } $btax=$_POST['dt']*0.02; // if($btax>10000) { $btax=10000; } // $taken=number_format($btax); $bank=$_POST['dt']-$btax; $banky=number_format($bank); $total=number_format($ir['bankmoney']+$bank); print " <center>Ai depus suma de <b>\$$dep</b> in contul tau, din care <b>\$$taken</b> reprezinta comisionul bancii pentru depuneri. Suma totala depusa in contul tau este de <b>\$$banky</b>. <a href=\"bank.php\">< Inapoi</a></center> </div> <div><img src='images/generalinfo_btm.jpg' alt='' /></div> </div> </div> </div> </div> </div> "; $sql = sprintf("UPDATE users SET bankmoney=bankmoney+$bank, money=money-{$_POST['dt']} WHERE userid=$userid"); $db->query($sql); } $h->endpage(); ?>
-
The login is definitely basic mccodes, no disrespect but it looks like all you did was to put a few hours, if that, into it.
-
I am sorry if I come across as a jerk, but honestly I don't see where you've put in much work into it at all.
-
This is awesome! Thank you!