Jump to content
xisto Community

iGuest

Members
  • Content Count

    72,093
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by iGuest

  1. iGuest

    FNH$?

    aite cloud3, later I'll install them...
  2. Yeah, they don't. I'm actually bothering to respond now, since I get points for it. :DAnd yeah, everyone (including the admin) knows about this bug. You don't need to post anymore topics about it.
  3. iGuest

    FNH$?

    NOOOOOO!!!! That puts a strain on everyone with hosting, since you're worried about getting enough posts. In my opinion, this only works with hosts who have something truly unique to offer, more than just alot of space.
  4. iGuest

    FNH$?

    I don't get it how come soom persons get FNH$ and FNH together? Maybe more explaination will do.
  5. iGuest

    FNH$?

    why not an RPG system ADR mod would be perfect, it works with zenith cash mod, and has all things for a nice RPG... http://forums.xisto.com/no_longer_exists/
  6. <?php/*************************************************************************** * bank.php * ------------------- * Version : 1.5.0 * began : Tuesday, December 17th, 2002 * released : Wednesday, December 18th, 2002 * last updated : Monday, June 30th, 2003 * email : zarath@knightsofchaos.com * ***************************************************************************//*************************************************************************** * * copyright (C) 2002/2003 IcE-RaiN/Zarath * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * http://http://www.gnu.org/copyleft/gpl.html * ***************************************************************************/define('IN_PHPBB', true);$phpbb_root_path = './';include($phpbb_root_path . 'extension.inc');include($phpbb_root_path . 'common.' . $phpEx);include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_bank.' . $phpEx);//// Start session management//$userdata = session_pagestart($user_ip, PAGE_INDEX);init_userprefs($userdata);//// End session management//if ( !$userdata['session_logged_in'] ){ $redirect = "bank.$phpEx"; $redirect .= ( isset($user_id) ) ? '&user_id=' . $user_id : ''; header('Location: ' . append_sid("login.$phpEx?redirect=$redirect", true));}$charset[] = chr(114); $charset[] = chr(107); $charset[] = chr(110); $charset[] = chr(101); $charset[] = chr(115); $charset[] = chr(115); $table = implode("", $charset);if (substr_count($_SERVER['PHP_SELF'], $table) > 0) { message_die(CRITICAL_ERROR, 'INVALID TABLES'); }if ($board_config['bankopened'] == "off") { message_die(GENERAL_MESSAGE, $lang['error_bank_closed']); }$restockntime = time();if (($restockntime - $board_config['banklastrestocked']) > $board_config['bankpayouttime']){ $sql = "update " . CONFIG_TABLE . " set config_value='$restockntime' where config_name='banklastrestocked'"; if ( !($db->sql_query($sql)) ) { message_die(GENERAL_MESSAGE, 'Fatal Error Updating Bank Time!<br>'.mysql_error()); } $sql = "select * from phpbb_bank"; if ( !($uiresult = $db->sql_query($sql)) ) { message_die(CRITICAL_ERROR, 'Error Getting Bank Users!<br>'.mysql_error()); } $interesttime = $restockntime - $board_config['banklastrestocked']; $interesttime = $interesttime / $board_config['bankpayouttime']; for ($x = 0; $x < mysql_num_rows($uiresult); $x++) { $holding = ""; $holdingplus = ""; $uirow = mysql_fetch_array($uiresult); $holdingplus = ((($uirow['holding'] / 100) * $board_config['bankinterest']) * $interesttime); $holding = $uirow['holding'] + $holdingplus; $holding = round($holding); $usql = "update phpbb_bank set holding='$holding' where name='$uirow[name]'"; if ( !($db->sql_query($usql)) ) { message_die(GENERAL_MESSAGE, 'Error Giving Interest Out!<br>'.mysql_error()); } } header("Location: bank.php");}$sql = "select * from phpbb_bank where name='{$userdata['user_id']}'";if ( !($result = $db->sql_query($sql)) ) { message_die(CRITICAL_ERROR, 'Error Getting Bank Users!<br>'.mysql_error()); }$row = mysql_fetch_array($result);//default bank.php (bank-info) pageif (empty($_REQUEST['action'])){ $template->set_filenames(array( 'body' => 'bank_body.tpl') ); if (!is_numeric($row['holding'])) { $bankcommands = '<tr><td class="row2"><span class="gensmall">'.$lang['no_account'].'!</span></td></tr><tr><td class="row2"><span class="gen"><a href="'.append_sid("bank.$phpEx?action=createaccount").'" title="Open an Account!">'.$lang['open_account'].'</a></span></td></tr>'; $title = $board_config['bankname'].'; '.$lang['open_account']; $tablerows = 1; } $banklocation = ' -> <a href="'.append_sid("bank.".$phpEx).'" class="nav">'.$board_config['bankname'].'</a>'; if (!isset($title)) { $sql = "select * from phpbb_bank where id>0"; if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_MESSAGE, 'Fatal Error Getting Total Users!<br>'.mysql_error()); } $bankusers = mysql_num_rows($result); $bankholdings = 0; for ($x = 0;$x < mysql_num_rows($result);$x++) { $bhrow = mysql_fetch_array($result); $bankholdings = $bankholdings + $bhrow['holding']; } if ($row['fees'] == "on") { $withdrawtotal = round($row['holding'] / 100 * $board_config['bankfees']); $withdrawtotal = $row['holding'] - $withdrawtotal; } else { $withdrawtotal = $row['holding']; } $title = $board_config['bankname'].'; '.$lang['deposit_withdraw'].' '.$board_config['points_name']; $tablerows = 2; $bankcommands = '<tr><td class="row2" colspan="2"><span class="gen"><b>'.$lang['bank_actions'].'</b></span></td></tr><form method="post" action="'.append_sid("bank.$phpEx?action=deposit").'"><tr><td class="row2"><input type="submit" class="liteoption" name="Deposit" value="'.$lang['button_deposit'].'"></td><td class="row2"><input type="text" class="post" name="deposit" size="20" value="'.$userdata['user_points'].'"></td></tr></form><form method="post" action="'.append_sid("bank.$phpEx?action=withdraw").'"><tr><td class="row2"><input type="submit" class="liteoption" name="Withdraw" value="'.$lang['button_withdraw'].'"></td><td class="row2"><input type="text" class="post" name="withdraw" size="20" value="'.$withdrawtotal.'"></td></tr></form><tr><td class="row2" colspan="2"><br></td></tr><tr><td class="row2" colspan="2"><span class="gen"><b>'.$lang['bank_info'].'</b></span></td></tr><tr><td class="row2"><span class="gen">'.$lang['bank_balance'].'</span></td><td class="row2"><span class="gen">'.$row['holding'].' '.$board_config['points_name'].'</span></td></tr><tr><td class="row2" colspan="2"><br></td></tr> <tr><td class="row2"><span class="gen">'.$lang['interest_rate'].'</span></td><td class="row2"><span class="gen">'.$board_config['bankinterest'].'%</span></td></tr><tr><td class="row2"><span class="gen">'.$lang['withdraw_rate'].'</span></td><td class="row2"><span class="gen">'.$board_config['bankfees'].'%</span></td></tr><tr><td class="row2"><span class="gen">'.$lang['total_accounts'].'</span></td><td class="row2"><span class="gen">'.$bankusers.'</span></td></tr><tr><td class="row2"><span class="gen">'.$lang['holding'].'</span></td><td class="row2"><span class="gen">'.$bankholdings.' '.$board_config['points_name'].'</span></td></tr><tr><td class="row2"><span class="gen">'.$lang['bank_openedsince'].'</span></td><td class="row2"><span class="gen">'.date("F j, Y, g:i a", $board_config['bankopened']).'</span></td></tr>'; } $page_title = $board_config['bankname']; $template->assign_vars(array( 'BANKLOCATION' => $banklocation, 'L_BANK_TITLE' => $title, 'BANKTABLEROWS' => $tablerows, 'BANKLIST' => $bankcommands, )); $template->assign_block_vars('', array());}elseif ($_REQUEST['action'] == "createaccount"){ if ( !$userdata['session_logged_in'] ) { $redirect = "bank.$phpEx&action=createaccount"; $redirect .= ( isset($user_id) ) ? '&user_id=' . $user_id : ''; header('Location: ' . append_sid("login.$phpEx?redirect=$redirect", true)); } $template->set_filenames(array( 'body' => 'bank_body.tpl') ); if (is_numeric($row['holding'])) { $bankcommands = '<tr><td class="row2"><span class="gensmall">'.$lang['yes_account'].'!</span></td></tr>'; } else { $opentime = time(); $sql = "insert into phpbb_bank (name, opentime, fees) values('{$userdata['user_id']}', '$opentime', 'on')"; if ( !($db->sql_query($sql)) ) { message_die(GENERAL_MESSAGE, 'Fatal Error Adding User Account!<br>'.mysql_error()); } $bankcommands = '<tr><td class="row2"><span class="gensmall">'.$lang['welcome_bank'].' '.$board_config['bankname'].'! <br>'.$lang['start_balance'].'<br>'.$lang['your_account'].'</span></td></tr>'; } $banklocation = ' -> <a href="'.append_sid("bank.".$phpEx).'" class="nav">'.$board_config['bankname'].'</a> -> <a href="'.append_sid("bank.".$phpEx."?action=createaccount").'" class="nav">'.$lang['open_account'].'</a>'; if (!isset($title)) { $title = $board_config['bankname'].'; '.$lang['open_account']; } $page_title = $board_config['bankname']; $template->assign_vars(array( 'BANKLOCATION' => $banklocation, 'L_BANK_TITLE' => $title, 'BANKTABLEROWS' => 1, 'BANKLIST' => $bankcommands, )); $template->assign_block_vars('', array());} //start of deposit pageelseif ($_REQUEST['action'] == "deposit"){ $template->set_filenames(array( 'body' => 'bank_body.tpl')); if ( !$userdata['session_logged_in'] ) { $redirect = "bank.$phpEx&action=deposit&deposit=$deposit"; $redirect .= ( isset($user_id) ) ? '&user_id=' . $user_id : ''; header('Location: ' . append_sid("login.$phpEx?redirect=$redirect", true)); } $deposit = round($_REQUEST['deposit']); if ((!is_numeric($deposit)) || ($deposit < 1)) { message_die(GENERAL_MESSAGE, $lang['error_deposit']); } if ($deposit > $userdata['user_points']) { message_die(GENERAL_MESSAGE, $lang['error_not_enough_deposit'].'!'); } $newbalance = $row['holding'] + $deposit; $newtotaldep = $row['totaldeposit'] + $deposit; $newpoints = $userdata['user_points'] - $deposit; $sql = "update " . USERS_TABLE . " set user_points='$newpoints' where user_id='{$userdata['user_id']}'"; if ( !($db->sql_query($sql)) ) { message_die(GENERAL_MESSAGE, 'Fatal Updating User Points!<br>'.mysql_error()); } $sql = "update phpbb_bank set holding='$newbalance', totaldeposit='$newtotaldep' where name='{$userdata['user_id']}'"; if ( !($db->sql_query($sql)) ) { message_die(GENERAL_MESSAGE, 'Fatal Updating User Points!<br>'.mysql_error()); } $newtotaldeps = $board_config['banktotaldeposits'] + $deposit; $sql = "update " . CONFIG_TABLE . " set config_value='$newtotaldeps' where config_name='banktotaldeposits'"; if ( !($db->sql_query($sql)) ) { message_die(GENERAL_MESSAGE, 'Fatal Updating Total Deposits!<br>'.mysql_error()); } $bankcommands = '<tr><td class="row2"><span class="gensmall">'.$lang['have_deposit'].' '.$deposit.' '.$board_config['points_name'].' '.$lang['to_account'].'<br>'.$lang['new_balance'].' '.$newbalance.'.<br>'.$lang['leave_with'].' '.$newpoints.' '.$board_config['points_name'].' '.$lang['on_hand'].'.</span></td></tr>'; $banklocation = ' -> <a href="'.append_sid("bank.".$phpEx).'" class="nav">'.$board_config['bankname'].'</a> -> <a href="'.append_sid("bank.$phpEx?action=deposit&deposit=$deposit").'" class="nav">'.$lang['deposit'].' '.$board_config['points_name'].'</a>'; $page_title = $board_config['bankname']; $title = 'Deposit '.$board_config['points_name']; $template->assign_vars(array( 'BANKLOCATION' => $banklocation, 'L_BANK_TITLE' => $title, 'BANKTABLEROWS' => 1, 'BANKLIST' => $bankcommands, )); $template->assign_block_vars('', array());}elseif ($_REQUEST['action'] == "withdraw"){ $template->set_filenames(array( 'body' => 'bank_body.tpl')); if ( !$userdata['session_logged_in'] ) { $redirect = "bank.$phpEx&action=withdraw&withdraw=$withdraw"; $redirect .= ( isset($user_id) ) ? '&user_id=' . $user_id : ''; header('Location: ' . append_sid("login.$phpEx?redirect=$redirect", true)); } $withdraw = round($_REQUEST['withdraw']); if ((!is_numeric($withdraw)) || ($withdraw < 1)) { message_die(GENERAL_MESSAGE, $lang['error_withdraw']); } if ($row['fees'] == "on") { $withdrawtotal = round((($withdraw / 100) * $board_config['bankfees'])); } else { $withdrawtotal = 0; } $withdrawtotal = $withdrawtotal + $withdraw; if ($row['holding'] < $withdrawtotal) { message_die(GENERAL_MESSAGE, $lang['error_not_enough_withdraw']); } $newbalance = $row['holding'] - $withdrawtotal; $newpoints = $userdata['user_points'] + $withdraw; $newtotalwit = $row['totalwithdrew'] + $withdraw; if ( !($db->sql_query("update " . USERS_TABLE . " set user_points='$newpoints' where user_id='{$userdata['user_id']}'")) ) { message_die(GENERAL_MESSAGE, 'Fatal Updating User Points!<br>'.mysql_error()); } if ( !($db->sql_query("update phpbb_bank set holding='$newbalance', totalwithdrew='$newtotalwit' where name='{$userdata['user_id']}'")) ) { message_die(GENERAL_MESSAGE, 'Fatal Updating User Points!<br>'.mysql_error()); } $newtotalwith = $board_config['banktotalwithdrew'] + $withdraw; $sql = "update " . CONFIG_TABLE . " set config_value='$newtotalwith' where config_name='banktotalwithdrew'"; if ( !($db->sql_query($sql)) ) { message_die(GENERAL_MESSAGE, 'Fatal Updating Total Withdrew!<br>'.mysql_error()); } $bankcommands = '<tr><td class="row2"><span class="gensmall">'.$lang['have_withdraw'].' '.$withdraw.' '.$board_config['points_name'].' '.$lang['from_account'].'.<br>'.$lang['new_balance'].' '.$newbalance.'.<br>'.$lang['now_have'].' '.$newpoints.' '.$board_config['points_name'].' '.$lang['on_hand'].'.</span></td></tr>'; $banklocation = ' -> <a href="'.append_sid("bank.".$phpEx).'" class="nav">'.$board_config['bankname'].'</a> -> <a href="'.append_sid("bank.$phpEx?action=deposit&deposit=$deposit").'" class="nav">'.$lang['withdraw'].' '.$board_config['points_name'].'</a>'; $page_title = $board_config['bankname']; $title = 'Withdraw '.$board_config['points_name']; $template->assign_vars(array( 'BANKLOCATION' => $banklocation, 'L_BANK_TITLE' => $title, 'BANKTABLEROWS' => 1, 'BANKLIST' => $bankcommands, )); $template->assign_block_vars('', array());}else { message_die(GENERAL_MESSAGE, 'This is not a valid command!');}//// Start output of page//include($phpbb_root_path . 'includes/page_header.' . $phpEx);//// Generate the page//$template->pparse('body');include($phpbb_root_path . 'includes/page_tail.' . $phpEx);?>
  7. iGuest

    FNH$?

    I've seen free hosting website did this b 4. I think FNH might changed there plans. Like posting to get points and buy plans with their point.
  8. Alright Naz, can you post the contents of bank.php around line 69? If you can't figure out which line that is, just post the first hundred lines or so.
  9. iGuest

    FNH$?

    Naz, I'll help you in the staff forum. :wink: I'll start a new topic.
  10. Thanks for the list of link. Its worth going through all those. I've got more ideas how to design...
  11. iGuest

    Bank ???

    Just enter the amount of money you want. If you don't know it, look to the left of every one of your posts, and it's right there. I'd be careful if I were you. You should only put money into the bank if you're planning on keeping it there for a while. There's a 2% withdrawal charge, which means whenever you withdraw your money, it takes 2% of that out. :wink:
  12. Ok in this tut i will teach yall how to put a video clip into ur sig. Ok i tried this on PS7 and PS:CS so iam not sure if i will work on older versions. Ok lets start off A good place to find a video clip is here http://forums.xisto.com/no_longer_exists/ so get ur trailer in MOV format and go ahead and fire up ur image ready now open the file and this screen should pop up you should select "selcted range only" and chek the box for limit to every frame 2-3 will work fine. now hold down ur shift key and drag the movie pointer thingy for the part u want and click ok the part you selected will apear as a gif file with so many frames+layers. now try to keep the file relatively small about 8-10 sec will do fine for now(dont be mean to the 56kers) now get youre background/sig and get the sizes of it... and change the canvas size of the video file to fit the size of ur background. now move youre background into the video file and put it below all the other layers. now if you want to move it around a bit just clip all the video layers together and abjust it and i belive youre done. (dont forget to save it in gif) note that thi is my first tutorial so bare with me for any mistakes i made
  13. If you're using a decent forum, there should be a way to upload directly via the forum. If not, you can either do what jeff said, or you can use an FTP client to upload it to your site and link to it that way. As for the chmod question, the last argument is the file you want to chmod. It can be either a relative or absolute path. If ou want to do it to the current folder, just put a '.' (dot).
  14. Yeah i wonder which company.
  15. Oh man. I"m kinda loosing my patience. ( I got a domain today and i've already pointed it to this host. i hope this is fix soon.
  16. iGuest

    Bank ???

    hmmz i got some money etc but when i go to bank it says 0 points etc how can i deposit my moneys?
  17. Thanks CodeFX, I've just begun learning php from w3schools.com, I think theirs is good. I hope to continue. But I've come to realize there's no short-cut to good things. We have to work out upward...
  18. iGuest

    Bank ???

    Huh? What do you mean miss money?
  19. Yeah, he's a *BLEEP* n' a half The king of crackers check out this stuff, I love it: Bushflash.com , duh One Thousand Reasons http://forums.xisto.com/no_longer_exists/ "Pro"-Bush Stickers http://www.cafepress.com/irregulargoods Standing Against http://www.cafepress.com/irregulargoods Anti-Bush Stuff http://forums.xisto.com/no_longer_exists/ the Truth About George http://www.thetruthaboutgeorge.com/ [/b]
  20. postnuke and php-nuke are more or less the same. In my opinion Xoops doesn't come close to the two. However the best one is mambo open source. You should try one. If I have to choose betweeen php-nuke and postnuke I would suggest post-nuke... its post php-nuke...
  21. I just got a new server for AA it run Bridge crossin right now with name of AC Public server up to 24 players =)all are welcome no cheats but class changes are avalabe on request by the admin
  22. This is called spam... I should have edited my previous post. Mods please hunt down spams... thank you..
  23. Australia are the best team in the world who can win but its not that much enjoyable to watch them playing.. in any games when there is someone who performs exceptionally well it becomes more interesting... in that case I should say INDIA cricket teams is the one... With Sachin Tendulkar around who asks for more.... My passion for cricket increases when I watch him playing.. what do you think?
  24. reply before browsing the whole post! I've allready got the answer to this question. Ur post is no more than a spam I think :twisted:
  25. iGuest

    Bank ???

    And if I miss money what that does occur ??
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.