Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Acmlmboard support?.
Acmlm's Board - I2 Archive - Acmlmboard support? - Meh, troubles with forms on subpages... | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Sandy53215
Acmlm (10:55:31 PM): they're having fun for the first time in so long
Level: 47

Posts: 451/948
EXP: 713034
For next: 53169

Since: 03-15-04
From: Milwaukee, Wisconsin (U.S.A)

Since last post: 1 day
Last activity: 4 hours
Posted on 04-21-05 08:07 AM Link | Quote
Well for some reason its not working. I must of messed with this code a 100 times and have asked other people. I feel n00bish.:/ But anywho im not used to doing forms in subpages...

Here is what I am working with...


elseif($_GET['page']=="moneymarket" && !isset($_POST['action'])){
$status="$smallfont Currently viewing $boardname's wall street...";
$wallstreetss=mysql_query('SELECT * FROM misc');
$wallstreets=@mysql_fetch_array($wallstreetss);
$pagedata="$tblstart
<body onload=window.document.REPLIER.submit.focus()>
<

FORM ACTION=admin/index.php NAME=REPLIER METHOD=POST>
$tccellh colspan=2>$boardname's Wall Street<tr>
$tccell1>Money per post:
Money members earn for each post they make.</td>
$tccell1>$inpt=moneypost VALUE=\"$wallstreets[moneypost]\" SIZE=10 MAXLENGTH=7><tr>
$tccell2>Money per thread / poll:
Money members earn for each thread / poll they make.</td>
$tccell2>$inpt=moneythread VALUE=\"$wallstreets[moneythread]\" SIZE=10 MAXLENGTH=7><tr>
$tccell1>Money for registration:
Money members earn for registering.</td>
$tccell1>$inpt=moneyregister VALUE=\"$wallstreets[moneyregister]\" SIZE=10 MAXLENGTH=7><tr>
$tccell2>Money per code submitted: (Broken)
Money members earn for each code they submit.</td>
$tccell2>$inpt=moneycode VALUE=\"$wallstreets[moneycode]\" SIZE=10 MAXLENGTH=7><tr>
$tccellh> </td>$tccellh> <tr>
$tccell1 width=150> </td>$tccell1>
$inph=action VALUE=setmoney>
$inps=submit VALUE=\"Submit\"></td></FORM>$tblend
";
$moneypost = intval($moneypost);
$moneythread = intval($moneythread);
$moneyregister = intval($moneyregister);
$moneycode = intval($moneycode);
if($_POST[action]=='setmoney'){
mysql_query("UPDATE misc SET moneypost=$moneypost,moneythread=$moneythread,moneyregister=$moneyregister,moneycode=$moneycode");
$pagedata="$tblstart $tccell1>Thank you, $loguser[name], for editing $boardname's money system

".redirect("admin.php","return to the admin panel",0)." $tblend";
}
}



(edited by Randy53215 on 04-20-05 03:10 PM)
(edited by Randy53215 on 04-20-05 03:10 PM)
SyntaxLegend

Double metal axe
Level: 25

Posts: 179/222
EXP: 78264
For next: 11356

Since: 04-21-04
From: Australia

Since last post: 20 days
Last activity: 10 hours
Posted on 04-21-05 11:02 AM Link | Quote
try using form action=".$_SEVER['PHP_SELF']." or something like that.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Acmlmboard support? - Meh, troubles with forms on subpages... | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.013 seconds.