GIF89a;
Direktori : /home/serb/public_html/ |
Current File : /home/serb/public_html/upgrade_profile.php |
<? session_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); $page="my_account"; ?> <? include "includes/header_top.php";?> <script language="javascript"> function validate() { if((document.upgrade.prmadPrice[0].checked == false) &&(document.upgrade.prmadPrice[1].checked == false)) { alert("Select Your Ad Price"); return false; } } </script> <body> <? include "includes/header.php";?> <div class="hdr_foo"> <div class="hrd_ftmenu"> </div> </div> <div class="main_bg"> <div style="height:32px;"></div> <div style="width:1000px; margin:0 auto;"> <div class="menuleft_contain"> <? include "includes/acount_leftcontent.php";?> </div> <div class="acountright_contain"> <? $sql="SELECT * FROM user_info WHERE userid='".$_SESSION['userid']."'"; $res=execute_query($sql); $row=mysql_fetch_array($res); $num=mysql_num_rows($res); ?> <div class="acccmid1_header">Upgrade Your Ad</div> <div class="accountrightct_mid"> <div class="small_space"></div> <div class="profile_data"> <form action="upgrade_payment.php?userid=<?=$_SESSION['userid']?>" method="post" name="upgrade" onSubmit="return validate();" > <input name="submit_form" value="1" type="hidden"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;"> <tr> <td style="color:#fff; font-size:15px; font-family:'Open Sans',sans-serif;">General Listing:</td> </tr> <? $sql_prmprice1="SELECT * FROM premium_ad_price"; $res_prmprice1=execute_query($sql_prmprice1); while($row_prmprice1=mysql_fetch_array($res_prmprice1)) { ?> <tr> <td style="font-weight:bold; color:#527750;"><input type="radio" name="prmadPrice" value="<?=$row_prmprice1['no_of_weeks'] ?>" />Auto Repost Ad each day for <?=$row_prmprice1['no_of_weeks'] ?> - </td> <td style="color:#527750;">$<?=$row_prmprice1['ad_price'] ?></td> </tr> <? } ?> <!--<tr> <td><input type="radio" name="prmadPrice" value="60" />Auto Repost Ad each day for 60 days - </td> <td>$3.99</td> </tr>--> <tr height="10px;"> </tr> <tr> <td></td> <td><input type="image" src="images/submit.png" /></td> </tr> </table> </form> <br class="spacer" /> </div> <br class="spacer" /> </div> </div> <br class="spacer" /> </div> <br/> </div> <? include "includes/footer.php";?>