mudi Posted February 11, 2008 Share Posted February 11, 2008 I need help with a script i bought.. Looks that got a bug. And i was wondering if someone can help me with it. Check this code <form action="#SITE_URL/advertise.php?sid=#SID&r=#R&step=2" method="post"> <table width="100%" style="border: 1 solid #eaeaea;" bgcolor="#f0f0f0"> <tr bgcolor="#999999"> <td colspan="2" class="mainmenu">#SITE_TITLE Advertising</td> </tr> <tr> <TD COLSPAN="2" ALIGN="center"> <A HREF="#SITE_URL/advertise.php?sid=#SID&pageID=index&r=#R">Index</A> :: <A HREF="#SITE_URL/advertise.php?sid=#SID&pageID=banners&r=#R">Banners</A> :: <A HREF="#SITE_URL/advertise.php?sid=#SID&pageID=emails&r=#R">Paid E-Mails</A> :: <A HREF="#SITE_URL/advertise.php?sid=#SID&pageID=clicks&r=#R">Paid Clicks</A> :: <A HREF="#SITE_URL/advertise.php?sid=#SID&pageID=signups&r=#R">Paid Sign-Ups</A> :: <A HREF="#SITE_URL/advertise.php?sid=#SID&pageID=leads&r=#R">Leads Campaign</A> :: <A HREF="#SITE_URL/advertise.php?sid=#SID&pageID=sales&r=#R">Sales Campaign</A> :: <A HREF="#SITE_URL/advertise.php?sid=#SID&pageID=order&r=#R">Order Form</A> </TD> </TR> <TR> <TD COLSPAN="2"> </TD> </TR> <TR> <TD COLSPAN="2" BGCOLOR="D6D6D6"><B>Personal Information</B></TD> </TR> <TR> <TD COLSPAN="2"> </TD> </TR> <TR> <TD WIDTH="50%">Full Name:</TD> <TD WIDTH="50%"><INPUT TYPE="text" NAME="fullname" SIZE="38"></TD> </TR> <TR> <TD WIDTH="50%">Address:</TD> <TD WIDTH="50%"><INPUT TYPE="text" NAME="address" SIZE="38"></TD> </TR> <TR> <TD WIDTH="50%">Zip-code:</TD> <TD WIDTH="50%"><INPUT TYPE="text" NAME="zipcode" SIZE="38"></TD> </TR> <TR> <TD WIDTH="50%">City:</TD> <TD WIDTH="50%"><INPUT TYPE="text" NAME="city" SIZE="38"></TD> </TR> <TR> <TD WIDTH="50%">Country:</TD> <TD WIDTH="50%"><SELECT NAME="country"> #LOOP(#Countries)<OPTION VALUE="#Countries::name">#Countries::name</OPTION> #ENDLOOP </SELECT> </TD> </TR> <TR> <TD WIDTH="50%">E-Mail Address:</TD> <TD WIDTH="50%"><INPUT TYPE="text" NAME="email" SIZE="38"></TD> </TR> <TR> <TD COLSPAN="2"> </TD> </TR> <TR> <TD COLSPAN="2" BGCOLOR="D6D6D6"><B>Package Information</B></TD> </TR> <TR> <TD COLSPAN="2"> </TD> </TR> <TR> <TD WIDTH="50%">Package:</TD> <TD WIDTH="50%"> <SELECT NAME="package"> #LOOP(#Packages) <OPTION VALUE="#Packages::id">#Packages::title - $#Packages::price</OPTION> #ENDLOOP </SELECT> </TD> </TR> <TR> <TD WIDTH="50%">Target URL:</TD> <TD WIDTH="50%"><INPUT TYPE="text" NAME="ad_url" SIZE="55"></TD> </TR> <TR> <TD WIDTH="50%">Subject/Title:</TD> <TD WIDTH="50%"><INPUT TYPE="text" NAME="ad_title" SIZE="55"></TD> </TR> <TR> <TD WIDTH="50%" VALIGN="top">Text:</TD> <TD WIDTH="50%"><TEXTAREA NAME="ad_text" ROWS="6" COLS="40"></TEXTAREA></TD> </TR> #IF(#APAY) <TR> <TD COLSPAN="2"> </TD> </TR> <TR> <TD COLSPAN="2" BGCOLOR="D6D6D6"><B>Payment Method</B></TD> </TR> <TR> <TD COLSPAN="2"> </TD> </TR> #ENDIF #IF(#PAYPAL) <TR> <TD WIDTH="50%"><INPUT TYPE="radio" NAME="payment_method" VALUE="paypal"> PayPal</TD> <TD WIDTH="50%"><IMG SRC="#SITE_URL/inc/img/methods/paypal.gif" BORDER="0" ALT="PayPal"></TD> </TR> #ENDIF #IF(#EGOLD) <TR> <TD WIDTH="50%"><INPUT TYPE="radio" NAME="payment_method" VALUE="egold"> e-Gold</TD> <TD WIDTH="50%"><IMG SRC="#SITE_URL/inc/img/methods/e-gold.gif" BORDER="0" ALT="e-Gold"></TD> </TR> #ENDIF #IF(#MONEYBOOKERS) <TR> <TD WIDTH="50%"><INPUT TYPE="radio" NAME="payment_method" VALUE="moneybookers"> Moneybookers</TD> <TD WIDTH="50%"><IMG SRC="#SITE_URL/inc/img/methods/moneybookers.gif" BORDER="0" ALT="Moneybookers"></TD> </TR> #ENDIF #IF(#PAYPAL) <TR> <TD WIDTH="50%"><INPUT TYPE="radio" NAME="payment_method" VALUE="cc"> Credit Card</TD> <TD WIDTH="50%"><IMG SRC="#SITE_URL/inc/img/methods/creditcard.gif" BORDER="0" ALT="Credit Card"></TD> </TR> #ENDIF <TR> <TD COLSPAN="2"> </TD> </TR> <TR> <TD COLSPAN="2" BGCOLOR="D6D6D6"><B>Additional Comments</B></TD> </TR> <TR> <TD COLSPAN="2"> </TD> </TR> <TR> <TD WIDTH="50%" VALIGN="top">Comments:</TD> <TD WIDTH="50%"><TEXTAREA NAME="comments" ROWS="6" COLS="40"></TEXTAREA></TD> </TR> <TR> <TD COLSPAN="2"> </TD> </TR> <TR> <TD COLSPAN="2"><INPUT TYPE="submit" NAME="submit" value="Continue >>"></TD> </TR> </TABLE> </FORM> Payment method doesnt appears at least i remove the if's for some reason.... And i want to implement payment methods, but dunno how... If i have to put an email somewhere, or something like that but test@test.test or e-gold number put 5555 U can check the website here ptcads.net And btw, i cant contact the owner of the script... Also if u want a lil donation pls post ur paypal (only paypal) Thanks in advance Love ya all. Quote Link to comment https://forums.phpfreaks.com/topic/90422-hello/ Share on other sites More sharing options...
mudi Posted February 11, 2008 Author Share Posted February 11, 2008 Btw, i can modify all that order form if needed... And make a new one with just a simple order form. Quote Link to comment https://forums.phpfreaks.com/topic/90422-hello/#findComment-463581 Share on other sites More sharing options...
mudi Posted February 11, 2008 Author Share Posted February 11, 2008 Why i cant modify my post? This is getting anoying, cuz admin will think im spamming. I just got an idea and want you guys now.. I want a simple order that ppl can select package from a dropdown menu example 100 clicks 2 USD 100 mails 1 usd etc.. And when it selects a package, selects payment (only want e-gold and alertpay), some details... And when press next directs him to pay me, e-gold page, or alertpay page.. P.S. No more posts until somebody replies . Btw, i was surfing on the forum, omg so much posts, so much "thanks" wow this forum ROCKS THANKS. Quote Link to comment https://forums.phpfreaks.com/topic/90422-hello/#findComment-463589 Share on other sites More sharing options...
mudi Posted February 11, 2008 Author Share Posted February 11, 2008 K, just what i was thinking, the variable was misspelled. Anyway, i got it to work. But i just see 1 bug.. :S You can test it if u want.. ptcads.net --> Advertise fill etc. etc. U get the confirmation mail. But u never pay? And it goes to pending payment... How he will pay if doesnt goes to that website... Or doesnt shows where he must send the money. Etc Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/90422-hello/#findComment-463666 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.