<?php
session_start();
//include "../inc/functions.php";
include "../config.php";
include "../header.php";
include "../style.php";

if( isset($_SESSION["alogin"]) ) {
?>
<table>
<tr>
<td width="15%" valign=top><br>
<? include("adminnavigation.php"); ?>
</td>
<td valign="top" align="center" width="5%">
<td valign="top" align="center" ><br><br> <?
echo "<font size=2 face='$fonttype' color='$fontcolour'>";

if($_POST['action']=="Test Email") {
$qrt=testemailsetting1 ($testcontact, $testname, $testsubject, $testmessage);
print "<font color='red'><b>Test email sent to ".$testcontact."</b></font><br><br>";
}       

foreach($_POST as $key => $value) {
$$key = $value;
}        

if ($action=="save") {

$update=mysql_query("update settings set setting='".dbput($bannerpricep)."' where name='bannerprice'");

$update=mysql_query("update settings set setting='".dbput($pointpricep)."' where name='pointprice'");

$update=mysql_query("update settings set setting='".dbput($solopricep)."' where name='soloprice'") ;

$update=mysql_query("update settings set setting='".dbput($solopointpricep)."' where name='solopointprice'") ;

$update=mysql_query("update settings set setting='".dbput($hpsolopricep)."' where name='hpsoloprice'") ;

$update=mysql_query("update settings set setting='".dbput($hpsolopointpricep)."' where name='hpsolopointprice'") ;

$update=mysql_query("update settings set setting='".dbput($bannerpointpricep)."' where name='bannerpointprice'") ;

$update=mysql_query("update settings set setting='".dbput($procommissionp)."' where name='procommission'") ;

$update=mysql_query("update settings set setting='".dbput($propostp)."' where name='propost'");

$update=mysql_query("update settings set setting='".dbput($propointsp)."' where name='propoints'");

$update=mysql_query("update settings set setting='".dbput($propointsmonthlyp)."' where name='propointsmonthly'");

$update=mysql_query("update settings set setting='".dbput($prorefpointsp)."' where name='prorefpoints'");

$update=mysql_query("update settings set setting='".dbput($proreadearnp)."' where name='proreadearn'") ;

$update=mysql_query("update settings set setting='".dbput($proclickearnp)."' where name='proclickearn'");

$update=mysql_query("update settings set setting='".dbput($prohpclickearnp)."' where name='prohpclickearn'");

$update=mysql_query("update settings set setting='".dbput($buttonpointpricep)."' where name='buttonpointprice'");

$update=mysql_query("update settings set setting='".dbput($buttonpricep)."' where name='buttonprice'");

$update=mysql_query("update settings set setting='".dbput($tlinkprice1p)."' where name='tlinkprice1'");

$update=mysql_query("update settings set setting='".dbput($tlinkprice2p)."' where name='tlinkprice2'");

$update=mysql_query("update settings set setting='".dbput($tlinkprice3p)."' where name='tlinkprice3'");

$update=mysql_query("update settings set setting='".dbput($probannerearnp)."' where name='probannerearn'");

$update=mysql_query("update settings set setting='".dbput($navpricep)."' where name='navprice'");

$update=mysql_query("update settings set setting='".dbput($navpricepointsp)."' where name='navpricepoints'");

$update=mysql_query("update settings set setting='".dbput($navmaxp)."' where name='navmax'");

$update=mysql_query("update settings set setting='".dbput($topnavmaxp)."' where name='topnavmax'");

$update=mysql_query("update settings set setting='".dbput($prosavep)."' where name='prosave'");

$update=mysql_query("update settings set setting='".dbput($prourlsp)."' where name='prourls'");

$update=mysql_query("update settings set setting='".dbput($prosavesolosp)."' where name='prosavesolos'");

$update=mysql_query("update settings set setting='".dbput($protrafficearnp)."' where name='protrafficearn'");

$update=mysql_query("update settings set setting='".dbput($loginpricep)."' where name='loginprice'");

$update=mysql_query("update settings set setting='".dbput($loginpricepointsp)."' where name='loginpricepoints'");

$update=mysql_query("update settings set setting='".dbput($prohtmlearnp)."' where name='prohtmlearn'");

$update=mysql_query("update settings set setting='".dbput($prosavehtmlp)."' where name='prosavehtml'");

$update=mysql_query("update settings set setting='".dbput($proposthtmlp)."' where name='proposthtml'");

$update=mysql_query("update settings set setting='".dbput($prorefloginp)."' where name='proreflogin'");

$update=mysql_query("update settings set setting='".dbput($propercentp)."' where name='propercent'");

$update=mysql_query("update settings set setting='".dbput($probuycomp)."' where name='probuycom'");
$update=mysql_query("update settings set setting='".dbput($probuycom2p)."' where name='probuycom2'");
$update=mysql_query("update settings set setting='".dbput($probuycom3p)."' where name='probuycom3'");
$update=mysql_query("update settings set setting='".dbput($probuycom4p)."' where name='probuycom4'");
$update=mysql_query("update settings set setting='".dbput($probuycom5p)."' where name='probuycom5'");

$update=mysql_query("update settings set setting='".dbput($tlinkpoints1p)."' where name='tlinkpoints1'");

$update=mysql_query("update settings set setting='".dbput($tlinkpoints2p)."' where name='tlinkpoints2'");

$update=mysql_query("update settings set setting='".dbput($tlinkpoints3p)."' where name='tlinkpoints3'");

$update=mysql_query("update settings set setting='".dbput($probuttonclickp)."' where name='probuttonclick'");

$update=mysql_query("update settings set setting='".dbput($proptcearnp)."' where name='proptcearn'");

$update=mysql_query("update settings set setting='".dbput($prohotlinkearnp)."' where name='prohotlinkearn'");

$update=mysql_query("update settings set setting='".dbput($hotlinkprice1p)."' where name='hotlinkprice1'");

$update=mysql_query("update settings set setting='".dbput($hotlinkpointprice1p)."' where name='hotlinkpointprice1'");

$update=mysql_query("update settings set setting='".dbput($hotlinkprice2p)."' where name='hotlinkprice2'");

$update=mysql_query("update settings set setting='".dbput($hotlinkpointprice2p)."' where name='hotlinkpointprice2'");

$update=mysql_query("update settings set setting='".dbput($hotlinkprice3p)."' where name='hotlinkprice3'");

$update=mysql_query("update settings set setting='".dbput($hotlinkpointprice3p)."' where name='hotlinkpointprice3'");

$update=mysql_query("update settings set setting='".dbput($ptc1pointsp)."' where name='ptc1points'");

$update=mysql_query("update settings set setting='".dbput($ptc2pointsp)."' where name='ptc2points'");

$update=mysql_query("update settings set setting='".dbput($ptc3pointsp)."' where name='ptc3points'");

$update=mysql_query("update settings set setting='".dbput($ptc1p)."' where name='ptc1'");

$update=mysql_query("update settings set setting='".dbput($ptc2p)."' where name='ptc2'");

$update=mysql_query("update settings set setting='".dbput($ptc3p)."' where name='ptc3'");

$update=mysql_query("update settings set setting='".dbput($adminproclickearnp)."' where name='adminproclickearn'");

$update=mysql_query("update settings set setting='".dbput($sopointpricep)."' where name='sopointprice'");

$update=mysql_query("update settings set setting='".dbput($safpricep)."' where name='safprice'");

$update=mysql_query("update settings set setting='".dbput($safpointpricep)."' where name='safpointprice'");

$update=mysql_query("update settings set setting='".dbput($sahpricep)."' where name='sahprice'");

$update=mysql_query("update settings set setting='".dbput($sahpointpricep)."' where name='sahpointprice'");

$update=mysql_query("update settings set setting='".dbput($prosupercomp)."' where name='prosupercom'");

$update=mysql_query("update settings set setting='".dbput($projvcomp)."' where name='projvcom'");

$update=mysql_query("update settings set setting='".dbput($jvpointsp)."' where name='jvpoints'");

$update=mysql_query("update settings set setting='".dbput($jvintervalp)."' where name='jvinterval'");

$update=mysql_query("update settings set setting='".dbput($jvpointsmonthlyp)."' where name='jvpointsmonthly'");

$update=mysql_query("update settings set setting='".dbput($jvpricep)."' where name='jvprice'");

$update=mysql_query("update settings set setting='".dbput($jvpointpricep)."' where name='jvpointprice'");

$update=mysql_query("update settings set setting='".dbput($jvreadearnp)."' where name='jvreadearn'");

$update=mysql_query("update settings set setting='".dbput($jvhtmlearnp)."' where name='jvhtmlearn'");

$update=mysql_query("update settings set setting='".dbput($jvbannerearnp)."' where name='jvbannerearn'");

$update=mysql_query("update settings set setting='".dbput($jvclickearnp)."' where name='jvclickearn'");

$update=mysql_query("update settings set setting='".dbput($jvhpclickearnp)."' where name='jvhpclickearn'");

$update=mysql_query("update settings set setting='".dbput($jvtrafficearnp)."' where name='jvtrafficearn'");

$update=mysql_query("update settings set setting='".dbput($jvhotlinkearnp)."' where name='jvhotlinkearn'");

$update=mysql_query("update settings set setting='".dbput($jvbuttonclickp)."' where name='jvbuttonclick'");

$update=mysql_query("update settings set setting='".dbput($jvptcearnp)."' where name='jvptcearn'");

$update=mysql_query("update settings set setting='".dbput($adminjvclickearnp)."' where name='adminjvclickearn'");

$update=mysql_query("update settings set setting='".dbput($jvpostp)."' where name='jvpost'");

$update=mysql_query("update settings set setting='".dbput($jvposthtmlp)."' where name='jvposthtml'");

$update=mysql_query("update settings set setting='".dbput($jvsavep)."' where name='jvsave'");

$update=mysql_query("update settings set setting='".dbput($jvsavehtmlp)."' where name='jvsavehtml'");

$update=mysql_query("update settings set setting='".dbput($jvsavesolosp)."' where name='jvsavesolos'");

$update=mysql_query("update settings set setting='".dbput($jvurlsp)."' where name='jvurls'");

$update=mysql_query("update settings set setting='".dbput($jvrefloginp)."' where name='jvreflogin'");

$update=mysql_query("update settings set setting='".dbput($jvrefpointsp)."' where name='jvrefpoints'");

$update=mysql_query("update settings set setting='".dbput($jvcommissionp)."' where name='jvcommission'");

$update=mysql_query("update settings set setting='".dbput($jvpercentp)."' where name='jvpercent'");

$update=mysql_query("update settings set setting='".dbput($jvbuycomp)."' where name='jvbuycom'");
$update=mysql_query("update settings set setting='".dbput($jvbuycom2p)."' where name='jvbuycom2'");
$update=mysql_query("update settings set setting='".dbput($jvbuycom3p)."' where name='jvbuycom3'");
$update=mysql_query("update settings set setting='".dbput($jvbuycom4p)."' where name='jvbuycom4'");
$update=mysql_query("update settings set setting='".dbput($jvbuycom5p)."' where name='jvbuycom5'");

$update=mysql_query("update settings set setting='".dbput($jvsupercomp)."' where name='jvsupercom'");

$update=mysql_query("update settings set setting='".dbput($jvjvcomp)."' where name='jvjvcom'");

$update=mysql_query("update settings set setting='".dbput($superjvpointsp)."' where name='superjvpoints'");

$update=mysql_query("update settings set setting='".dbput($superjvpointsmonthlyp)."' where name='superjvpointsmonthly'");

$update=mysql_query("update settings set setting='".dbput($superjvpricep)."' where name='superjvprice'");

$update=mysql_query("update settings set setting='".dbput($superjvintervalp)."' where name='superjvinterval'");

$update=mysql_query("update settings set setting='".dbput($superjvpricepointsp)."' where name='superjvpricepoints'");

$update=mysql_query("update settings set setting='".dbput($superjvreadearnp)."' where name='superjvreadearn'");

$update=mysql_query("update settings set setting='".dbput($superjvhtmlearnp)."' where name='superjvhtmlearn'");

$update=mysql_query("update settings set setting='".dbput($superjvbannerclickp)."' where name='superjvbannerclick'");

$update=mysql_query("update settings set setting='".dbput($superjvclickearnp)."' where name='superjvclickearn'");

$update=mysql_query("update settings set setting='".dbput($superjvhpclickearnp)."' where name='superjvhpclickearn'");

$update=mysql_query("update settings set setting='".dbput($superjvtrafficearnp)."' where name='superjvtrafficearn'");

$update=mysql_query("update settings set setting='".dbput($superjvhotlinkearnp)."' where name='superjvhotlinkearn'");

$update=mysql_query("update settings set setting='".dbput($superjvbuttonclickp)."' where name='superjvbuttonclick'");

$update=mysql_query("update settings set setting='".dbput($adminsuperjvclickearnp)."' where name='adminsuperjvclickearn'");

$update=mysql_query("update settings set setting='".dbput($superjvpostp)."' where name='superjvpost'");

$update=mysql_query("update settings set setting='".dbput($superjvposthtmlp)."' where name='superjvposthtml'");

$update=mysql_query("update settings set setting='".dbput($superjvsavep)."' where name='superjvsave'");

$update=mysql_query("update settings set setting='".dbput($superjvsavehtmlp)."' where name='superjvsavehtml'");

$update=mysql_query("update settings set setting='".dbput($superjvsavesolosp)."' where name='superjvsavesolos'");

$update=mysql_query("update settings set setting='".dbput($superjvurlsp)."' where name='superjvurls'");

$update=mysql_query("update settings set setting='".dbput($superjvrefloginp)."' where name='superjvreflogin'");

$update=mysql_query("update settings set setting='".dbput($superjvrefpointsp)."' where name='superjvrefpoints'");

$update=mysql_query("update settings set setting='".dbput($superjvcommissionp)."' where name='superjvcommission'");

$update=mysql_query("update settings set setting='".dbput($superjvpercentp)."' where name='superjvpercent'");

$update=mysql_query("update settings set setting='".dbput($superjvbuycomp)."' where name='superjvbuycom'");
$update=mysql_query("update settings set setting='".dbput($superjvbuycom2p)."' where name='superjvbuycom2'");
$update=mysql_query("update settings set setting='".dbput($superjvbuycom3p)."' where name='superjvbuycom3'");
$update=mysql_query("update settings set setting='".dbput($superjvbuycom4p)."' where name='superjvbuycom4'");
$update=mysql_query("update settings set setting='".dbput($superjvbuycom5p)."' where name='superjvbuycom5'");

$update=mysql_query("update settings set setting='".dbput($superjvprocomp)."' where name='superjvprocom'");

$update=mysql_query("update settings set setting='".dbput($superjvjvcomp)."' where name='superjvjvcom'");

$update=mysql_query("update settings set setting='".dbput($superjv2supercomp)."' where name='superjv2supercom'");

$update=mysql_query("update settings set setting='".dbput($superjvptcearnp)."' where name='superjvptcearn'");

$update=mysql_query("update settings set setting='".dbput($pronavtopearnp)."' where name='pronavtopearn'");

$update=mysql_query("update settings set setting='".dbput($jvnavtopearnp)."' where name='jvnavtopearn'");

$update=mysql_query("update settings set setting='".dbput($superjvnavtopearnp)."' where name='superjvnavtopearn'");

$update=mysql_query("update settings set setting='".dbput($navtoppricep)."' where name='navtopprice'");

$update=mysql_query("update settings set setting='".dbput($navtoppointpricep)."' where name='navtoppointprice'");

$update=mysql_query("update settings set setting='".dbput($probotnavearnp)."' where name='probotnavearn'");

$update=mysql_query("update settings set setting='".dbput($jvbotnavearnp)."' where name='jvbotnavearn'");

$update=mysql_query("update settings set setting='".dbput($superjvbotnavearnp)."' where name='superjvbotnavearn'");



$update38=mysql_query("update settings set setting='".dbput($bonusurlp)."' where name='bonusurl'");
$update38=mysql_query("update settings set setting='".dbput($bonusminp)."' where name='bonusmin'");
$update38=mysql_query("update settings set setting='".dbput($bonusmaxp)."' where name='bonusmax'");

$update38=mysql_query("update settings set setting='".dbput($dailybonuspricep)."' where name='dailybonusprice'");

$update38=mysql_query("update settings set setting='".dbput($poolpointspercentp)."' where name='poolpointspercent'");
$update38=mysql_query("update settings set setting='".dbput($poolmoneypercentp)."' where name='poolmoneypercent'");

$update38=mysql_query("update settings set setting='".dbput($snfsolo1_dayp)."' where name='snfsolo1_day'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo1_mwfp)."' where name='snfsolo1_mwf'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo1_ttsp)."' where name='snfsolo1_tts'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo1_fssp)."' where name='snfsolo1_fss'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo2_dayp)."' where name='snfsolo2_day'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo2_mwfp)."' where name='snfsolo2_mwf'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo2_ttsp)."' where name='snfsolo2_tts'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo2_fssp)."' where name='snfsolo2_fss'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo3_dayp)."' where name='snfsolo3_day'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo3_mwfp)."' where name='snfsolo3_mwf'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo3_ttsp)."' where name='snfsolo3_tts'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo3_fssp)."' where name='snfsolo3_fss'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo4_dayp)."' where name='sfsolo4_day'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo4_mwfp)."' where name='snfsolo4_mwf'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo4_ttsp)."' where name='snfsolo4_tts'");
$update38=mysql_query("update settings set setting='".dbput($snfsolo4_fssp)."' where name='snfsolo4_fss'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo1_dayp)."' where name='snfcsolo1_day'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo1_mwfp)."' where name='snfcsolo1_mwf'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo1_ttsp)."' where name='snfcsolo1_tts'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo1_fssp)."' where name='snfcsolo1_fss'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo2_dayp)."' where name='snfcsolo2_day'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo2_mwfp)."' where name='snfcsolo2_mwf'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo2_ttsp)."' where name='snfcsolo2_tts'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo2_fssp)."' where name='snfcsolo2_fss'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo3_dayp)."' where name='snfcsolo3_day'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo3_mwfp)."' where name='snfcsolo3_mwf'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo3_ttsp)."' where name='snfcsolo3_tts'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo3_fssp)."' where name='snfcsolo3_fss'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo4_dayp)."' where name='snfcsolo4_day'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo4_mwfp)."' where name='snfcsolo4_mwf'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo4_ttsp)."' where name='snfcsolo4_tts'");
$update38=mysql_query("update settings set setting='".dbput($snfcsolo4_fssp)."' where name='snfcsolo4_fss'");
$update=mysql_query("update settings set setting='".dbput($superjvcashsoloearnp)."' where name='superjvcashsoloearn'");
$update=mysql_query("update settings set setting='".dbput($procashsoloearnp)."' where name='procashsoloearn'");
$update=mysql_query("update settings set setting='".dbput($jvcashsoloearnp)."' where name='jvcashsoloearn'");
$update=mysql_query("update settings set setting='".dbput($superjvhpcsoloearnp)."' where name='superjvhpcsoloearn'");
$update=mysql_query("update settings set setting='".dbput($prohpcsoloearnp)."' where name='prohpcsoloearn'");
$update=mysql_query("update settings set setting='".dbput($jvhpcsoloearnp)."' where name='jvhpcsoloearn'");
$update=mysql_query("update settings set setting='".dbput($cashsolopricep)."' where name='cashsoloprice'");
$update=mysql_query("update settings set setting='".dbput($cashsoloprice2p)."' where name='cashsoloprice2'");
$update=mysql_query("update settings set setting='".dbput($hpcsolopricep)."' where name='hpcsoloprice'");
$update=mysql_query("update settings set setting='".dbput($hpcsoloprice2p)."' where name='hpcsoloprice2'");
$update=mysql_query("update settings set setting='".dbput($superjvcashsavesolosp)."' where name='superjvcashsavesolos'");
$update=mysql_query("update settings set setting='".dbput($procashsavesolosp)."' where name='procashsavesolos'");
$update=mysql_query("update settings set setting='".dbput($jvcashsavesolosp)."' where name='jvcashsavesolos'");

$update38=mysql_query("update settings set setting='".dbput($ticketratiop)."' where name='ticketratio'");

$update99=mysql_query("update settings set setting='".dbput($prosolosmonthlyp)."' where name='prosolosmonthly'");
$update99=mysql_query("update settings set setting='".dbput($procsolosmonthlyp)."' where name='procsolosmonthly'");
$update99=mysql_query("update settings set setting='".dbput($protrafficmonthlyp)."' where name='protrafficmonthly'");
$update99=mysql_query("update settings set setting='".dbput($proptcmonthlyp)."' where name='proptcmonthly'");
$update99=mysql_query("update settings set setting='".dbput($probannermonthlyp)."' where name='probannermonthly'");
$update99=mysql_query("update settings set setting='".dbput($probtnbannermonthlyp)."' where name='probtnbannermonthly'");
$update99=mysql_query("update settings set setting='".dbput($prohotlinkmonthlyp)."' where name='prohotlinkmonthly'");
$update99=mysql_query("update settings set setting='".dbput($prologinmonthlyp)."' where name='prologinmonthly'");
$update99=mysql_query("update settings set setting='".dbput($protrafficviewmonthlyp)."' where name='protrafficviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($proptcviewmonthlyp)."' where name='proptcviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($probannerviewmonthlyp)."' where name='probannerviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($probtnbannerviewmonthlyp)."' where name='probtnbannerviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($prohotlinkviewmonthlyp)."' where name='prohotlinkviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($prologinviewmonthlyp)."' where name='prologinviewmonthly'");

$update99=mysql_query("update settings set setting='".dbput($jvsolosmonthlyp)."' where name='jvsolosmonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvcsolosmonthlyp)."' where name='jvcsolosmonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvtrafficmonthlyp)."' where name='jvtrafficmonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvptcmonthlyp)."' where name='jvptcmonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvbannermonthlyp)."' where name='jvbannermonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvbtnbannermonthlyp)."' where name='jvbtnbannermonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvhotlinkmonthlyp)."' where name='jvhotlinkmonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvloginmonthlyp)."' where name='jvloginmonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvtrafficviewmonthlyp)."' where name='jvtrafficviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvptcviewmonthlyp)."' where name='jvptcviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvbannerviewmonthlyp)."' where name='jvbannerviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvbtnbannerviewmonthlyp)."' where name='jvbtnbannerviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvhotlinkviewmonthlyp)."' where name='jvhotlinkviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($jvloginviewmonthlyp)."' where name='jvloginviewmonthly'");

$update99=mysql_query("update settings set setting='".dbput($superjvsolosmonthlyp)."' where name='superjvsolosmonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvcsolosmonthlyp)."' where name='superjvcsolosmonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvtrafficmonthlyp)."' where name='superjvtrafficmonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvptcmonthlyp)."' where name='superjvptcmonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvbannermonthlyp)."' where name='superjvbannermonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvbtnbannermonthlyp)."' where name='superjvbtnbannermonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvhotlinkmonthlyp)."' where name='superjvhotlinkmonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvloginmonthlyp)."' where name='superjvloginmonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvtrafficviewmonthlyp)."' where name='superjvtrafficviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvptcviewmonthlyp)."' where name='superjvptcviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvbannerviewmonthlyp)."' where name='superjvbannerviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvbtnbannerviewmonthlyp)."' where name='superjvbtnbannerviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvhotlinkviewmonthlyp)."' where name='superjvhotlinkviewmonthly'");
$update99=mysql_query("update settings set setting='".dbput($superjvloginviewmonthlyp)."' where name='superjvloginviewmonthly'");
$update=mysql_query("update settings set setting='".dbput($superjvhheadlineadearnp)."' where name='superjvhheadlineadearn'");
$update=mysql_query("update settings set setting='".dbput($jvhheadlineadearnp)."' where name='jvhheadlineadearn'");
$update=mysql_query("update settings set setting='".dbput($prohheadlineadearnp)."' where name='prohheadlineadearn'");
$update=mysql_query("update settings set setting='".dbput($superjvhheadlineadpricep)."' where name='superjvhheadlineadprice'");
$update=mysql_query("update settings set setting='".dbput($jvhheadlineadpricep)."' where name='jvhheadlineadprice'");
$update=mysql_query("update settings set setting='".dbput($prohheadlineadpricep)."' where name='prohheadlineadprice'");
$update=mysql_query("update settings set setting='".dbput($hheadlineadpointpricesuperjvp)."' where name='hheadlineadpointpricesuperjv'");
$update=mysql_query("update settings set setting='".dbput($hheadlineadpointpricejvp)."' where name='hheadlineadpointpricejv'");
$update=mysql_query("update settings set setting='".dbput($hheadlineadpointpriceprop)."' where name='hheadlineadpointpricepro'");
$update=mysql_query("update settings set setting='".dbput($superjvhheadlineadcredittimerp)."' where name='superjvhheadlineadcredittimer'");
$update=mysql_query("update settings set setting='".dbput($jvhheadlineadcredittimerp)."' where name='jvhheadlineadcredittimer'");
$update=mysql_query("update settings set setting='".dbput($prohheadlineadcredittimerp)."' where name='prohheadlineadcredittimer'");
$update=mysql_query("update settings set setting='".dbput($superjvhheadlineadmaxhitsp)."' where name='superjvhheadlineadmaxhits'");
$update=mysql_query("update settings set setting='".dbput($jvhheadlineadmaxhitsp)."' where name='jvhheadlineadmaxhits'");
$update=mysql_query("update settings set setting='".dbput($prohheadlineadmaxhitsp)."' where name='prohheadlineadmaxhits'");
$update=mysql_query("update settings set setting='".dbput($superjvhheaderadearnp)."' where name='superjvhheaderadearn'");
$update=mysql_query("update settings set setting='".dbput($jvhheaderadearnp)."' where name='jvhheaderadearn'");
$update=mysql_query("update settings set setting='".dbput($prohheaderadearnp)."' where name='prohheaderadearn'");
$update=mysql_query("update settings set setting='".dbput($superjvhheaderadpricep)."' where name='superjvhheaderadprice'");
$update=mysql_query("update settings set setting='".dbput($jvhheaderadpricep)."' where name='jvhheaderadprice'");
$update=mysql_query("update settings set setting='".dbput($prohheaderadpricep)."' where name='prohheaderadprice'");
$update=mysql_query("update settings set setting='".dbput($hheaderadpointpricesuperjvp)."' where name='hheaderadpointpricesuperjv'");
$update=mysql_query("update settings set setting='".dbput($hheaderadpointpricejvp)."' where name='hheaderadpointpricejv'");
$update=mysql_query("update settings set setting='".dbput($hheaderadpointpriceprop)."' where name='hheaderadpointpricepro'");
$update=mysql_query("update settings set setting='".dbput($superjvhheaderadcredittimerp)."' where name='superjvhheaderadcredittimer'");
$update=mysql_query("update settings set setting='".dbput($jvhheaderadcredittimerp)."' where name='jvhheaderadcredittimer'");
$update=mysql_query("update settings set setting='".dbput($prohheaderadcredittimerp)."' where name='prohheaderadcredittimer'");
$update=mysql_query("update settings set setting='".dbput($superjvhheaderadmaxhitsp)."' where name='superjvhheaderadmaxhits'");
$update=mysql_query("update settings set setting='".dbput($jvhheaderadmaxhitsp)."' where name='jvhheaderadmaxhits'");
$update=mysql_query("update settings set setting='".dbput($prohheaderadmaxhitsp)."' where name='prohheaderadmaxhits'");
$update=mysql_query("update settings set setting='".dbput($hheaderadmaxheadingcharsp)."' where name='hheaderadmaxheadingchars'");
$update=mysql_query("update settings set setting='".dbput($hheaderadmaxdesccharsp)."' where name='hheaderadmaxdescchars'");
$update=mysql_query("update settings set setting='".dbput($hheaderadtopnotefontcolorp)."' where name='hheaderadtopnotefontcolor'");
$update=mysql_query("update settings set setting='".dbput($hheaderadtopnotefontfacep)."' where name='hheaderadtopnotefontface'");
$update=mysql_query("update settings set setting='".dbput($hheaderadtopnotefontsizep)."' where name='hheaderadtopnotefontsize'");
$update=mysql_query("update settings set setting='".dbput($hheaderadtopnotebgcolorp)."' where name='hheaderadtopnotebgcolor'");
$update=mysql_query("update settings set setting='".dbput($hheaderadbottomnotefontcolorp)."' where name='hheaderadbottomnotefontcolor'");
$update=mysql_query("update settings set setting='".dbput($hheaderadbottomnotefontfacep)."' where name='hheaderadbottomnotefontface'");
$update=mysql_query("update settings set setting='".dbput($hheaderadbottomnotefontsizep)."' where name='hheaderadbottomnotefontsize'");
$update=mysql_query("update settings set setting='".dbput($hheaderadbottomnotebgcolorp)."' where name='hheaderadbottomnotebgcolor'");
$update=mysql_query("update settings set setting='".dbput($superjvheadlineearnp)."' where name='superjvheadlineearn'");
$update=mysql_query("update settings set setting='".dbput($proheadlineearnp)."' where name='proheadlineearn'");
$update=mysql_query("update settings set setting='".dbput($jvheadlineearnp)."' where name='jvheadlineearn'");
$update=mysql_query("update settings set setting='".dbput($headlineprice1p)."' where name='headlineprice1'");
$update=mysql_query("update settings set setting='".dbput($headlineprice2p)."' where name='headlineprice2'");
$update=mysql_query("update settings set setting='".dbput($headlineprice3p)."' where name='headlineprice3'");
$update=mysql_query("update settings set setting='".dbput($headlineprice1pointsp)."' where name='headlineprice1points'");
$update=mysql_query("update settings set setting='".dbput($headlineprice2pointsp)."' where name='headlineprice2points'");
$update=mysql_query("update settings set setting='".dbput($headlineprice3pointsp)."' where name='headlineprice3points'");

$update38=mysql_query("update settings set setting='".dbput($fullloginurlp)."' where name='fullloginurl'");
$update38=mysql_query("update settings set setting='".dbput($fullloginpricep)."' where name='fullloginprice'");
$update38=mysql_query("update settings set setting='".dbput($fullloginprice2p)."' where name='fullloginprice2'");
$update38=mysql_query("update settings set setting='".dbput($profullloginearnp)."' where name='profullloginearn'");
$update38=mysql_query("update settings set setting='".dbput($jvfullloginearnp)."' where name='jvfullloginearn'");
$update38=mysql_query("update settings set setting='".dbput($superjvfullloginearnp)."' where name='superjvfullloginearn'");

//auto approve and button settings
$update=mysql_query("update settings set setting='$autoapprovetimerhoursp' where name='autoapprovetimerhours'");
$update=mysql_query("update settings set setting='$buttondisplayp' where name='buttondisplay'");
$update=mysql_query("update settings set setting='$linkgoodp' where name='linkgood'");

//Credit Mailer Settings       	
$update=mysql_query("update settings set setting='$prolimitmailp' where name='prolimitmail'");
$update=mysql_query("update settings set setting='$jvlimitmailp' where name='jvlimitmail'");
$update=mysql_query("update settings set setting='$superjvlimitmailp' where name='superjvlimitmail'");
$update=mysql_query("update settings set setting='$promailhoursp' where name='promailhours'");
$update=mysql_query("update settings set setting='$jvmailhoursp' where name='jvmailhours'");
$update=mysql_query("update settings set setting='$superjvmailhoursp' where name='superjvmailhours'");	
$update=mysql_query("update settings set setting='$cmailmembersp' where name='cmailmembers'");	
$update=mysql_query("update settings set setting='$procmailearnp' where name='procmailearn'");	
$update=mysql_query("update settings set setting='$jvcmailearnp' where name='jvcmailearn'");	
$update=mysql_query("update settings set setting='$superjvcmailearnp' where name='superjvcmailearn'");
$update=mysql_query("update settings set setting='$promaillengthp' where name='promaillength'");
$update=mysql_query("update settings set setting='$jvmaillengthp' where name='jvmaillength'");
$update=mysql_query("update settings set setting='$superjvmaillengthp' where name='superjvmaillength'"); 


/* STMP Config */
$update=mysql_query("update settings set setting='$smtp_enabledp' where name='smtp_enabled'");	
$update=mysql_query("update settings set setting='$smtp_hostp' where name='smtp_host'");	
$update=mysql_query("update settings set setting='$smtp_usernamep' where name='smtp_username'");	
$update=mysql_query("update settings set setting='$smtp_passwordp' where name='smtp_password'");	
$update=mysql_query("update settings set setting='$smtp_portp' where name='smtp_port'");	
$update=mysql_query("update settings set setting='$smtp_securep' where name='smtp_secure'");

echo "<p><b>Your settings have been saved.</b></p>";

}elseif(isset($_POST['suftsettings'])){
$update=mysql_query("update settings set setting='".dbput($prosurfurlsp)."' where name='prosurfurls'");
$update=mysql_query("update settings set setting='".dbput($jvsurfurlsp)."' where name='jvsurfurls'");
$update=mysql_query("update settings set setting='".dbput($superjvsurfurlsp)."' where name='superjvsurfurls'");

$update=mysql_query("update settings set setting='".dbput($prosurfpointp)."' where name='prosurfpoint'");
$update=mysql_query("update settings set setting='".dbput($jvsurfpointp)."' where name='jvsurfpoint'");
$update=mysql_query("update settings set setting='".dbput($superjvsurfpointp)."' where name='superjvsurfpoint'");

echo "<p><b>Your surf settings have been saved.</b></p>";
}



else {



?>



<H2><? echo $sitename; ?> Site Settings</H2>



<p>Is is absolutely vital you set this up first before doing anything else.<br>You can change your settings at any time you wish.</p>



<form action="settings.php" method="POST">



<input type="hidden" name="action" value="save">


Daily bonus link<br>

<input type="text" name="bonusurlp" value="<? echo $bonusurl; ?>"> <br><br>


Members earn 1 ticket every<br>

<input type="text" name="ticketratiop" value="<? echo $ticketratio; ?>"> ads<br><br>


<hr>


<table width="650"><tr><td><p align="left">
Hours Between Members Advertising Auto-Approvals (select 0 to disable)&nbsp;<select name="autoapprovetimerhoursp">
<?php
for ($i=0;$i<=24;$i++)
{
?>
<option value="<?php echo $i ?>" <?php if ($autoapprovetimerhours == $i) { echo "selected"; } ?>><?php echo $i ?></option>
<?php
}
?>
</select>
<hr>
<br>
Button Banner Display - How many button banners should be displayed at the same time?<br> 
<input type="text" name="buttondisplayp" value="<? echo $buttondisplay; ?>">
<br>
<br>
How many days should a link in a solo ad be active?<br>
<input type="text" name="linkgoodp" value="<? echo $linkgood; ?>"><br>
<hr></td></tr></table>









<H2>Site Price Settings</H2>

<table width="650"><tr><td><p align="left">

Jv Member Upgrade Price&nbsp;

<input type="text" name="jvpointpricep" value="<? echo $jvpointprice; ?>"> points or $<input type="text" name="jvpricep" value="<? echo $jvprice; ?>"><br><br>



JV Member Payment Interval&nbsp;

<select name="jvintervalp">

<? if ($jvinterval=="Monthly") { ?>

<option>Monthly</option>

<option>Yearly</option>

<option>Lifetime</option>

<?} elseif ($jvinterval=="Yearly") { ?>

<option>Yearly</option>

<option>Monthly</option>

<option>Lifetime</option>

<?} elseif ($prointerval=="Lifetime") { ?>

<option>Lifetime</option>

<option>Monthly</option>

<option>Yearly</option>

<?} else { ?>

<option>Monthly</option>

<option>Yearly</option>

<option>Lifetime</option>

<?} ?>

</select><br><br>



SUPER JV Upgrade Price&nbsp;<input type="text" name="superjvpricepointsp" value="<? echo $superjvpricepoints; ?>"> &nbsp;points or $<input type="text" name="superjvpricep" value="<? echo $superjvprice; ?>"><br><br>





SUPER JV Payment Interval&nbsp;

<select name="superjvintervalp">

<? if ($superjvinterval=="Monthly") { ?>

<option>Monthly</option>

<option>Yearly</option>

<option>Lifetime</option>

<?} elseif ($superjvinterval=="Yearly") { ?>

<option>Yearly</option>

<option>Monthly</option>

<option>Lifetime</option>

<?} elseif ($superjvinterval=="Lifetime") { ?>

<option>Lifetime</option>

<option>Monthly</option>

<option>Yearly</option>

<?} else { ?>

<option>Monthly</option>

<option>Yearly</option>

<option>Lifetime</option>

<?} ?>

</select><br><br>

Price per 1000 points&nbsp;$<input type="text" name="pointpricep" value="<? echo $pointprice; ?>"><br><br>



Price per 1000 banner impressions&nbsp;<input type="text" name="bannerpointpricep" value="<? echo $bannerpointprice; ?>"> points or

$<input type="text" name="bannerpricep" value="<? echo $bannerprice; ?>"><br><br>



Price per button banner ad with 1000 views&nbsp;<input type="text" name="buttonpointpricep" value="<? echo $buttonpointprice; ?>"> points or	   $<input type="text" name="buttonpricep" value="<? echo $buttonprice; ?>"><br><br>



Price per 50 traffic link views&nbsp;<input type="text" name="tlinkpoints1p" value="<? echo $tlinkpoints1; ?>"> points or $<input type="text" name="tlinkprice1p" value="<? echo $tlinkprice1; ?>"><br><br>



Price per 100 traffic link views&nbsp;<input type="text" name="tlinkpoints2p" value="<? echo $tlinkpoints2; ?>"> points or $<input type="text" name="tlinkprice2p" value="<? echo $tlinkprice2; ?>"><br><br>



Price per 200 traffic link views&nbsp;<input type="text" name="tlinkpoints3p" value="<? echo $tlinkpoints3; ?>"> points or $<input type="text" name="tlinkprice3p" value="<? echo $tlinkprice3; ?>"><br><br>



Price per 5000 hotlink impressions&nbsp;<input type="text" name="hotlinkpointprice1p" value="<? echo $hotlinkpointprice1; ?>"> points or $<input type="text" name="hotlinkprice1p" value="<? echo $hotlinkprice1; ?>"><br><br>



Price per 10000 hotlink impressions&nbsp;<input type="text" name="hotlinkpointprice2p" value="<? echo $hotlinkpointprice2; ?>"> points or $<input type="text" name="hotlinkprice2p" value="<? echo $hotlinkprice2; ?>"><br><br>



Price per 20000 hotlink impressions&nbsp;

<input type="text" name="hotlinkpointprice3p" value="<? echo $hotlinkpointprice3; ?>"> points or$<input type="text" name="hotlinkprice3p" value="<? echo $hotlinkprice3; ?>"><br><br>



Price per 50 ptc ad views&nbsp;<input type="text" name="ptc1pointsp" value="<? echo $ptc1points; ?>"> points or $<input type="text" name="ptc1p" value="<? echo $ptc1; ?>"><br><br>



Price per 100 ptc ad views&nbsp;<input type="text" name="ptc2pointsp" value="<? echo $ptc2points; ?>"> points or $<input type="text" name="ptc2p" value="<? echo $ptc2; ?>"><br><br>



Price per 200 ptc ad views&nbsp;<input type="text" name="ptc3pointsp" value="<? echo $ptc3points; ?>"> points or $<input type="text" name="ptc3p" value="<? echo $ptc3; ?>"><br><br>



Price per solo ad&nbsp;<input type="text" name="solopointpricep" value="<? echo $solopointprice; ?>"> points or $<input type="text" name="solopricep" value="<? echo $soloprice; ?>"><br><br>

Price per cash solo ad&nbsp<input type="text" name="cashsoloprice2p" value="<? echo $cashsoloprice2; ?>"> points or $<input type="text" name="cashsolopricep" value="<? echo $cashsoloprice; ?>"><br><br>

Price per hp solo ad&nbsp;<input type="text" name="hpsolopointpricep" value="<? echo $hpsolopointprice; ?>"> points or $<input type="text" name="hpsolopricep" value="<? echo $hpsoloprice; ?>"><br><br>

Price per hpc solo ad&nbsp;<input type="text" name="hpcsoloprice2p" value="<? echo $hpcsoloprice2; ?>"> points or $<input type="text" name="hpcsolopricep" value="<? echo $hpcsoloprice; ?>"><br><br>



Price per solo footer ad&nbsp;<input type="text" name="safpointpricep" value="<? echo $safpointprice; ?>"> points or $<input type="text" name="safpricep" value="<? echo $safprice; ?>"><br><br>

Price per solo header ad&nbsp;<input type="text" name="sahpointpricep" value="<? echo $sahpointprice; ?>"> points or $<input type="text" name="sahpricep" value="<? echo $sahprice; ?>"><br><br>

Price per login ad with 1000 views&nbsp;<input type="text" name="loginpricepointsp" value="<? echo $loginpricepoints; ?>"> points or	   $<input type="text" name="loginpricep" value="<? echo $loginprice; ?>"><br><br>



Price per top navigation link&nbsp;<input type="text" name="navtoppointpricep" value="<? echo $navtoppointprice; ?>"> points or $<input type="text" name="navtoppricep" value="<? echo $navtopprice; ?>"><br><font color="red"><b>NOTE!</b></font> These are only valid for 7 days from purchase and should NOT be given away!<br><br><br>




Price per bottom navigation link&nbsp;<input type="text" name="navpricepointsp" value="<? echo $navpricepoints; ?>"> points or $<input type="text" name="navpricep" value="<? echo $navprice; ?>"><br><font color="red"><b>NOTE!</b></font> These are only valid for 7 days from purchase and should NOT be given away!<br><br><br>




Max # of top navigation links to display&nbsp;<input type="text" name="topnavmaxp" value="<? echo $topnavmax; ?>"><br><font color="red"><b>NOTE!</b></font> These are only valid for 7 days from purchase and should NOT be given away!<br><br>




Max # of bottom navigation links to display&nbsp;<input type="text" name="navmaxp" value="<? echo $navmax; ?>"><br><font color="red"><b>NOTE!</b></font> These are only valid for 7 days from purchase and should NOT be given away!<br><br>



Price per full page login ad&nbsp;<input type="text" name="fullloginprice2p" value="<? echo $fullloginprice2; ?>"> points or	   $<input type="text" name="fullloginpricep" value="<? echo $fullloginprice; ?>"><br><br>

Default full page login ad URL&nbsp;<input type="text" name="fullloginurlp" value="<? echo $fullloginurl; ?>" size="60"><br><br>


Points Price for Special Offer Package&nbsp;<input type="text" name="sopointpricep" value="<? echo $sopointprice; ?>"> points<br>(The same special offer as when logging in, can trade points for in the advertising area)<br><br>

Price per 5000 headline ad views&nbsp;<input type="text" name="headlineprice1pointsp" value="<? echo $headlineprice1points; ?>"> points or $<input type="text" name="headlineprice1p" value="<? echo $headlineprice1; ?>"><br><br>

Price per 10000 headline ad views&nbsp;<input type="text" name="headlineprice2pointsp" value="<? echo $headlineprice2points; ?>"> points or $<input type="text" name="headlineprice2p" value="<? echo $headlineprice2; ?>"><br><br>

Price per 20000 headline ad views&nbsp;<input type="text" name="headlineprice3pointsp" value="<? echo $headlineprice3points; ?>"> points or $<input type="text" name="headlineprice3p" value="<? echo $headlineprice3; ?>"><br><br>


Pro Member Price per <input type="text" name="prohheadlineadmaxhitsp" value="<? echo $prohheadlineadmaxhits; ?>" size="4"> clicks for a Hot Headline Ad (set points to 0 if you don't want Pro members to be able to trade points for hot headline ads)<br>$<input type="text" name="prohheadlineadpricep" value="<? echo $prohheadlineadprice; ?>"> or <input type="text" name="hheadlineadpointpriceprop" value="<? echo $hheadlineadpointpricepro; ?>"> points<br><br>
JV Member Price per <input type="text" name="jvhheadlineadmaxhitsp" value="<? echo $jvhheadlineadmaxhits; ?>" size="4"> clicks for a Hot Headline Ad (set points to 0 if you don't want JV members to be able to trade points for hot headline ads)<br>$<input type="text" name="jvhheadlineadpricep" value="<? echo $jvhheadlineadprice; ?>"> or <input type="text" name="hheadlineadpointpricejvp" value="<? echo $hheadlineadpointpricejv; ?>"> points<br><br>
SUPER JV Member Price per <input type="text" name="superjvhheadlineadmaxhitsp" value="<? echo $superjvhheadlineadmaxhits; ?>" size="4"> clicks for a Hot Headline Ad (set points to 0 if you don't want SUPER JV members to be able to trade points for hot headline ads)<br>$<input type="text" name="superjvhheadlineadpricep" value="<? echo $superjvhheadlineadprice; ?>"> or <input type="text" name="hheadlineadpointpricesuperjvp" value="<? echo $hheadlineadpointpricesuperjv; ?>"> points<br><br>

Pro Member Price per <input type="text" name="prohheaderadmaxhitsp" value="<? echo $prohheaderadmaxhits; ?>" size="4"> clicks for a Hot Header Ad (set points to 0 if you don't want Pro members to be able to trade points for hot header ads)<br>$<input type="text" name="prohheaderadpricep" value="<? echo $prohheaderadprice; ?>"> or <input type="text" name="hheaderadpointpriceprop" value="<? echo $hheaderadpointpricepro; ?>"> points<br><br>
JV Member Price per <input type="text" name="jvhheaderadmaxhitsp" value="<? echo $jvhheaderadmaxhits; ?>" size="4"> clicks for a Hot Header Ad (set points to 0 if you don't want JV members to be able to trade points for hot header ads)<br>$<input type="text" name="jvhheaderadpricep" value="<? echo $jvhheaderadprice; ?>"> or <input type="text" name="hheaderadpointpricejvp" value="<? echo $hheaderadpointpricejv; ?>"> points<br><br>
SUPER JV Member Price per <input type="text" name="superjvhheaderadmaxhitsp" value="<? echo $superjvhheaderadmaxhits; ?>" size="4"> clicks for a Hot Header Ad (set points to 0 if you don't want SUPER JV members to be able to trade points for hot header ads)<br>$<input type="text" name="superjvhheaderadpricep" value="<? echo $superjvhheaderadprice; ?>"> or <input type="text" name="hheaderadpointpricesuperjvp" value="<? echo $hheaderadpointpricesuperjv; ?>"> points<br><br>

How many points does a Pro member get for viewing a full page login ad&nbsp;<input type="text" name="profullloginearnp" value="<? echo $profullloginearn; ?>"> <br><br>

How many points does a JV member get for viewing a full page login ad&nbsp;<input type="text" name="jvfullloginearnp" value="<? echo $jvfullloginearn; ?>"> <br><br>

How many points does a SUPER JV member get for viewing a full page login ad&nbsp;<input type="text" name="superjvfullloginearnp" value="<? echo $superjvfullloginearn; ?>"> <br><br>


Price per Daily Bonus<br>

<input type="text" name="dailybonuspricep" value="<? echo $dailybonusprice; ?>"> <br><br>

SNF Solos for 1 week<br>
Once: <input type="text" name="snfsolo1_dayp" value="<? echo $snfsolo1_day; ?>"><br>
Mon/Wed/Fri: <input type="text" name="snfsolo1_mwfp" value="<? echo $snfsolo1_mwf; ?>"><br>
Fri/Sat/Sun: <input type="text" name="snfsolo1_ttsp" value="<? echo $snfsolo1_tts; ?>"><br><br>

SNF Solos for 2 weeks<br>
Once: <input type="text" name="snfsolo2_dayp" value="<? echo $snfsolo2_day; ?>"><br>
Mon/Wed/Fri: <input type="text" name="snfsolo2_mwfp" value="<? echo $snfsolo2_mwf; ?>"><br>
Fri/Sat/Sun: <input type="text" name="snfsolo2_ttsp" value="<? echo $snfsolo2_tts; ?>"><br><br>

SNF Solos for 3 weeks<br>
Once: <input type="text" name="snfsolo3_dayp" value="<? echo $snfsolo3_day; ?>"><br>
Mon/Wed/Fri: <input type="text" name="snfsolo3_mwfp" value="<? echo $snfsolo3_mwf; ?>"><br>
Fri/Sat/Sun: <input type="text" name="snfsolo3_ttsp" value="<? echo $snfsolo3_tts; ?>"><br><br>

SNF Solos for 4 weeks<br>
Once: <input type="text" name="snfsolo4_dayp" value="<? echo $snfsolo4_day; ?>"><br>
Mon/Wed/Fri: <input type="text" name="snfsolo4_mwfp" value="<? echo $snfsolo4_mwf; ?>"><br>
Fri/Sat/Sun: <input type="text" name="snfsolo4_ttsp" value="<? echo $snfsolo4_tts; ?>"><br><br>

CSNF Solos for 1 week<br>
Once: <input type="text" name="snfcsolo1_dayp" value="<? echo $snfcsolo1_day; ?>"><br>
Mon/Wed/Fri: <input type="text" name="snfcsolo1_mwfp" value="<? echo $snfcsolo1_mwf; ?>"><br>
Fri/Sat/Sun: <input type="text" name="snfcsolo1_ttsp" value="<? echo $snfcsolo1_tts; ?>"><br><br>

CSNF Solos for 2 weeks<br>
Once: <input type="text" name="snfcsolo2_dayp" value="<? echo $snfcsolo2_day; ?>"><br>
Mon/Wed/Fri: <input type="text" name="snfcsolo2_mwfp" value="<? echo $snfcsolo2_mwf; ?>"><br>
Fri/Sat/Sun: <input type="text" name="snfcsolo2_ttsp" value="<? echo $snfcsolo2_tts; ?>"><br><br>

CSNF Solos for 3 weeks<br>
Once: <input type="text" name="snfcsolo3_dayp" value="<? echo $snfcsolo3_day; ?>"><br>
Mon/Wed/Fri: <input type="text" name="snfcsolo3_mwfp" value="<? echo $snfcsolo3_mwf; ?>"><br>
Fri/Sat/Sun: <input type="text" name="snfcsolo3_ttsp" value="<? echo $snfcsolo3_tts; ?>"><br><br>

CSNF Solos for 4 weeks<br>
Once: <input type="text" name="snfcsolo4_dayp" value="<? echo $snfcsolo4_day; ?>"><br>
Mon/Wed/Fri: <input type="text" name="snfcsolo4_mwfp" value="<? echo $snfcsolo4_mwf; ?>"><br>
Fri/Sat/Sun: <input type="text" name="snfcsolo4_ttsp" value="<? echo $snfcsolo4_tts; ?>"><br><br>


<hr>



</td></tr></table>





<H2>Members Commission Settings</H2>

<table width="650"><tr><td><p align="left">

When a Pro member joins, a Pro referrer is paid&nbsp;$<input type="text" name="procommissionp" value="<? echo $procommission; ?>"><br><br>



When a Pro member joins, a JV Member referrer is paid&nbsp;$<input type="text" name="jvcommissionp" value="<? echo $jvcommission; ?>"><br><br>



When a Pro member joins, a SUPER JV referrer is paid&nbsp;$<input type="text" name="superjvcommissionp" value="<? echo $superjvcommission; ?>"><br><br>



When a JV Member joins, a Pro referrer is paid&nbsp;$<input type="text" name="projvcomp" value="<? echo $projvcom; ?>"><br><br>



When a JV Member joins, a JV Member referrer is paid&nbsp;$<input type="text" name="jvjvcomp" value="<? echo $jvjvcom; ?>"><br><br>



When a JV Member joins, a SUPER JV referrer is paid&nbsp;$<input type="text" name="superjvjvcomp" value="<? echo $superjvjvcom; ?>"><br><br>



When a SUPER JV Member joins, a Pro referrer is paid&nbsp;$<input type="text" name="prosupercomp" value="<? echo $prosupercom; ?>"><br><br>



When a SUPER JV Member joins, a JV Member referrer is paid&nbsp;$<input type="text" name="jvsupercomp" value="<? echo $jvsupercom; ?>"><br><br>



When a SUPER JV Member joins, a SUPER JV referrer is paid&nbsp;$<input type="text" name="superjv2supercomp" value="<? echo $superjv2supercom; ?>"><br><br>



When a member logins, a Pro referrer is paid&nbsp;<input type="text" name="prorefloginp" value="<? echo $proreflogin; ?>"> points<br><br>



When a member logins, a JV Member referrer is paid&nbsp;<input type="text" name="jvrefloginp" value="<? echo $jvreflogin; ?>"> points<br><br>



When a member logins, a SUPER JV referrer is paid&nbsp;<input type="text" name="superjvrefloginp" value="<? echo $superjvreflogin; ?>"> points<br><br>

When a member earn points, a Pro referrer earns&nbsp;<input type="text" name="propercentp" value="<? echo $propercent; ?>">%<br><br>



When a member earn points, a JV Member referrer earns&nbsp;<input type="text" name="jvpercentp" value="<? echo $jvpercent; ?>">%<br><br>



When a member earn points, a SUPER JV referrer earns&nbsp;<input type="text" name="superjvpercentp" value="<? echo $superjvpercent; ?>">%<br><br>



When a member buys advertising, a Pro referrer earns&nbsp;
<div style="padding-left:300px;">
<input type="text" name="probuycomp" value="<? echo $probuycom; ?>">% on Level 1<br>
<input type="text" name="probuycom2p" value="<? echo $probuycom2; ?>">% on Level 2<br>
<input type="text" name="probuycom3p" value="<? echo $probuycom3; ?>">% on Level 3<br>
<input type="text" name="probuycom4p" value="<? echo $probuycom4; ?>">% on Level 4<br>
<input type="text" name="probuycom5p" value="<? echo $probuycom5; ?>">% on Level 5<br>
</div>
<br>



When a member buys advertising, a JV Member referrer earns&nbsp;
<div style="padding-left:300px;">
<input type="text" name="jvbuycomp" value="<? echo $jvbuycom; ?>">% on Level 1<br>
<input type="text" name="jvbuycom2p" value="<? echo $jvbuycom2; ?>">% on Level 2<br>
<input type="text" name="jvbuycom3p" value="<? echo $jvbuycom3; ?>">% on Level 3<br>
<input type="text" name="jvbuycom4p" value="<? echo $jvbuycom4; ?>">% on Level 4<br>
<input type="text" name="jvbuycom5p" value="<? echo $jvbuycom5; ?>">% on Level 5<br>
</div>
<br>


When a member buys advertising, a SUPER JV referrer earns&nbsp;
<div style="padding-left:300px;">
<input type="text" name="superjvbuycomp" value="<? echo $superjvbuycom; ?>">% on Level 1<br>
<input type="text" name="superjvbuycom2p" value="<? echo $superjvbuycom2; ?>">% on Level 2<br>
<input type="text" name="superjvbuycom3p" value="<? echo $superjvbuycom3; ?>">% on Level 3<br>
<input type="text" name="superjvbuycom4p" value="<? echo $superjvbuycom4; ?>">% on Level 4<br>
<input type="text" name="superjvbuycom5p" value="<? echo $superjvbuycom5; ?>">% on Level 5<br>
</div>
<br>

<hr>

</td></tr></table>

<H2>Posting Frequency Settings</H2>

<table width="650"><tr><td><p align="left">

<p>An ad stays active on the system for 24 hours. How often do you wish your members to be able to post in days (24 hours)?</p>



How many text ads can a Pro member post per day?&nbsp;<input type="text" name="propostp" value="<? echo $propost; ?>"><br><br>



How many text ads can a JV member post per day?&nbsp;<input type="text" name="jvpostp" value="<? echo $jvpost; ?>"><br><br>



How many text ads can a SUPER JV member post per day?&nbsp;<input type="text" name="superjvpostp" value="<? echo $superjvpost; ?>"><br><br>



How many html ads can a Pro member post per day?&nbsp;<input type="text" name="proposthtmlp" value="<? echo $proposthtml; ?>"><br><br>



How many html ads can a JV member post per day?&nbsp;<input type="text" name="jvposthtmlp" value="<? echo $jvposthtml; ?>"><br><br>



How many html ads can a SUPER JV member post per day?&nbsp;<input type="text" name="superjvposthtmlp" value="<? echo $superjvposthtml; ?>"><br><br>



How many text ads can a Pro member save?&nbsp;<input type="text" name="prosavep" value="<? echo $prosave; ?>"><br><br>



How many text ads can a JV member save?&nbsp;<input type="text" name="jvsavep" value="<? echo $jvsave; ?>"><br><br>



How many text ads can a SUPER JV member save?&nbsp;<input type="text" name="superjvsavep" value="<? echo $superjvsave; ?>"><br><br>



How many html ads can a Pro member save?&nbsp;<input type="text" name="prosavehtmlp" value="<? echo $prosavehtml; ?>"><br><br>



How many html ads can a JV member save?&nbsp;<input type="text" name="jvsavehtmlp" value="<? echo $jvsavehtml; ?>"><br><br>



How many html ads can a SUPER JV member save?&nbsp;<input type="text" name="superjvsavehtmlp" value="<? echo $superjvsavehtml; ?>"><br><br>



How many solos can a Pro member save?&nbsp;<input type="text" name="prosavesolosp" value="<? echo $prosavesolos; ?>"><br><br>



How many solos can a JV member save?&nbsp;<input type="text" name="jvsavesolosp" value="<? echo $jvsavesolos; ?>"><br><br>



How many solos can a SUPER JV member save?&nbsp;<input type="text" name="superjvsavesolosp" value="<? echo $superjvsavesolos; ?>"><br><br>

How many cash solos can a Pro member save?&nbsp;<input type="text" name="procashsavesolosp" value="<? echo $procashsavesolos; ?>"><br><br>

How many cash solos can a Jv member save?&nbsp;<input type="text" name="jvcashsavesolosp" value="<? echo $jvcashsavesolos; ?>"><br><br>

How many cash solo ads can a SUPER JV member save?&nbsp;<input type="text" name="superjvcashsavesolosp" value="<? echo $superjvcashsavesolos; ?>"><br><br>


<hr>

</td></tr></table>


<H2>Monthly Earning Settings</H2>
<table width="650"><tr><td><p align="left">
<b>Pro members Monthly earn</b><br>
<div style="padding-left:100px;">
<input type="text" name="propointsmonthlyp" value="<? echo $propointsmonthly; ?>" size="10"> Points<br>
<input type="text" name="prosolosmonthlyp" value="<? echo $prosolosmonthly; ?>" size="10"> Solos<br>
<input type="text" name="procsolosmonthlyp" value="<? echo $procsolosmonthly; ?>" size="10"> Cash Solos<br>
<input type="text" name="protrafficmonthlyp" value="<? echo $protrafficmonthly; ?>" size="10"> Traffic Links With <input type="text" name="protrafficviewmonthlyp" value="<? echo $protrafficviewmonthly; ?>" size="10"> Views<br>
<input type="text" name="proptcmonthlyp" value="<? echo $proptcmonthly; ?>" size="10"> PTC Links With <input type="text" name="proptcviewmonthlyp" value="<? echo $proptcviewmonthly; ?>" size="10"> Views<br>
<input type="text" name="probannermonthlyp" value="<? echo $probannermonthly; ?>" size="10"> Banners With <input type="text" name="probannerviewmonthlyp" value="<? echo $probannerviewmonthly; ?>" size="10"> Impressions<br>
<input type="text" name="probtnbannermonthlyp" value="<? echo $probtnbannermonthly; ?>" size="10"> Button Banners With <input type="text" name="probtnbannerviewmonthlyp" value="<? echo $probtnbannerviewmonthly; ?>" size="10"> Impressions<br>
<input type="text" name="prohotlinkmonthlyp" value="<? echo $prohotlinkmonthly; ?>" size="10"> Hotlinks With <input type="text" name="prohotlinkviewmonthlyp" value="<? echo $prohotlinkviewmonthly; ?>" size="10"> Views<br>
<input type="text" name="prologinmonthlyp" value="<? echo $prologinmonthly; ?>" size="10"> Login Ads With <input type="text" name="prologinviewmonthlyp" value="<? echo $prologinviewmonthly; ?>" size="10"> Views<br>
</div>
<br>

<b>JV members Monthly earn</b><br><br>
<div style="padding-left:100px;">
<input type="text" name="jvpointsmonthlyp" value="<? echo $jvpointsmonthly; ?>" size="10"> Points<br>
<input type="text" name="jvsolosmonthlyp" value="<? echo $jvsolosmonthly; ?>" size="10"> Solos<br>
<input type="text" name="jvcsolosmonthlyp" value="<? echo $jvcsolosmonthly; ?>" size="10"> Cash Solos<br>
<input type="text" name="jvtrafficmonthlyp" value="<? echo $jvtrafficmonthly; ?>" size="10"> Traffic Links With <input type="text" name="jvtrafficviewmonthlyp" value="<? echo $jvtrafficviewmonthly; ?>" size="10"> Views<br>
<input type="text" name="jvptcmonthlyp" value="<? echo $jvptcmonthly; ?>" size="10"> PTC Links With <input type="text" name="jvptcviewmonthlyp" value="<? echo $jvptcviewmonthly; ?>" size="10"> Views<br>
<input type="text" name="jvbannermonthlyp" value="<? echo $jvbannermonthly; ?>" size="10"> Banners With <input type="text" name="jvbannerviewmonthlyp" value="<? echo $jvbannerviewmonthly; ?>" size="10"> Impressions<br>
<input type="text" name="jvbtnbannermonthlyp" value="<? echo $jvbtnbannermonthly; ?>" size="10"> Button Banners With <input type="text" name="jvbtnbannerviewmonthlyp" value="<? echo $jvbtnbannerviewmonthly; ?>" size="10"> Impressions<br>
<input type="text" name="jvhotlinkmonthlyp" value="<? echo $jvhotlinkmonthly; ?>" size="10"> Hotlinks With <input type="text" name="jvhotlinkviewmonthlyp" value="<? echo $jvhotlinkviewmonthly; ?>" size="10"> Views<br>
<input type="text" name="jvloginmonthlyp" value="<? echo $jvloginmonthly; ?>" size="10"> Login Ads With <input type="text" name="jvloginviewmonthlyp" value="<? echo $jvloginviewmonthly; ?>" size="10"> Views<br>
</div>
<br>



<b>SUPER JV members Monthly earn</b><br><br>
<div style="padding-left:100px;">
<input type="text" name="superjvpointsmonthlyp" value="<? echo $superjvpointsmonthly; ?>" size="10"> Points<br>
<input type="text" name="superjvsolosmonthlyp" value="<? echo $superjvsolosmonthly; ?>" size="10"> Solos<br>
<input type="text" name="superjvcsolosmonthlyp" value="<? echo $superjvcsolosmonthly; ?>" size="10"> Cash Solos<br>
<input type="text" name="superjvtrafficmonthlyp" value="<? echo $superjvtrafficmonthly; ?>" size="10"> Traffic Links With <input type="text" name="superjvtrafficviewmonthlyp" value="<? echo $superjvtrafficviewmonthly; ?>" size="10"> Views<br>
<input type="text" name="superjvptcmonthlyp" value="<? echo $superjvptcmonthly; ?>" size="10"> PTC Links With <input type="text" name="superjvptcviewmonthlyp" value="<? echo $superjvptcviewmonthly; ?>" size="10"> Views<br>
<input type="text" name="superjvbannermonthlyp" value="<? echo $superjvbannermonthly; ?>" size="10"> Banners With <input type="text" name="superjvbannerviewmonthlyp" value="<? echo $superjvbannerviewmonthly; ?>" size="10"> Impressions<br>
<input type="text" name="superjvbtnbannermonthlyp" value="<? echo $superjvbtnbannermonthly; ?>" size="10"> Button Banners With <input type="text" name="superjvbtnbannerviewmonthlyp" value="<? echo $superjvbtnbannerviewmonthly; ?>" size="10"> Impressions<br>
<input type="text" name="superjvhotlinkmonthlyp" value="<? echo $superjvhotlinkmonthly; ?>" size="10"> Hotlinks With <input type="text" name="superjvhotlinkviewmonthlyp" value="<? echo $superjvhotlinkviewmonthly; ?>" size="10"> Views<br>
<input type="text" name="superjvloginmonthlyp" value="<? echo $superjvloginmonthly; ?>" size="10"> Login Ads With <input type="text" name="superjvloginviewmonthlyp" value="<? echo $superjvloginviewmonthly; ?>" size="10"> Views<br>
</div>
<br>

</td></tr></table>



<hr>

<H2>Point Earning Settings</H2>
<table width="650"><tr><td><p align="left">



Pro member points on signups&nbsp;<input type="text" name="propointsp" value="<? echo $propoints; ?>"><br><br>



JV member points on signups&nbsp;<input type="text" name="jvpointsp" value="<? echo $jvpoints; ?>"><br><br>



SUPER JV member points on signups&nbsp;<input type="text" name="superjvpointsp" value="<? echo $superjvpoints; ?>"><br><br>


When a new member joins, a Pro referrer gets this amount of points&nbsp;<input type="text" name="prorefpointsp" value="<? echo $prorefpoints; ?>"><br><br>



When a new member joins, a JV Member referrer gets this amount of points&nbsp;<input type="text" name="jvrefpointsp" value="<? echo $jvrefpoints; ?>"><br><br>



When a new member joins, a SUPER JV referrer gets this amount of points&nbsp;<input type="text" name="superjvrefpointsp" value="<? echo $superjvrefpoints; ?>"><br><br>



How many points does a Pro member get for reading a text ad&nbsp;<input type="text" name="proreadearnp" value="<? echo $proreadearn; ?>"><br><br>



How many points does a JV member get for reading a text ad&nbsp;<input type="text" name="jvreadearnp" value="<? echo $jvreadearn; ?>"><br><br>



How many points does a SUPER JV member get for reading a text ad&nbsp;<input type="text" name="superjvreadearnp" value="<? echo $superjvreadearn; ?>"><br><br>



How many points does a Pro member get for reading an html ad&nbsp;<input type="text" name="prohtmlearnp" value="<? echo $prohtmlearn; ?>"><br><br>



How many points does a JV member get for reading an html ad&nbsp;<input type="text" name="jvhtmlearnp" value="<? echo $jvhtmlearn; ?>"><br><br>



How many points does a SUPER JV member get for reading an html ad&nbsp;<input type="text" name="superjvhtmlearnp" value="<? echo $superjvhtmlearn; ?>"><br><br>



How many points does a Pro member get for clicking a banner&nbsp;<input type="text" name="probannerearnp" value="<? echo $probannerearn; ?>"> <br><br>



How many points does a JV member get for clicking a banner&nbsp;<input type="text" name="jvbannerearnp" value="<? echo $jvbannerearn; ?>"> <br><br>



How many points does a SUPER JV member get for clicking a banner&nbsp;<input type="text" name="superjvbannerclickp" value="<? echo $superjvbannerclick; ?>"> <br><br>



How many points does a Pro member get for clicking a button banner&nbsp;<input type="text" name="probuttonclickp" value="<? echo $probuttonclick; ?>"> <br><br>



How many points does a JV member get for clicking a button banner&nbsp;<input type="text" name="jvbuttonclickp" value="<? echo $jvbuttonclick; ?>"><br><br>



How many points does a SUPER JV member get for clicking a button banner&nbsp;<input type="text" name="superjvbuttonclickp" value="<? echo $superjvbuttonclick; ?>"><br><br>



How many points does a Pro member get for clicking a hotlink&nbsp;<input type="text" name="prohotlinkearnp" value="<? echo $prohotlinkearn; ?>">

<br><br>



How many points does a JV member get for clicking a hotlink&nbsp;<input type="text" name="jvhotlinkearnp" value="<? echo $jvhotlinkearn; ?>">

<br><br>



How many points does a SUPER JV member get for clicking a hotlink&nbsp;<input type="text" name="superjvhotlinkearnp" value="<? echo $superjvhotlinkearn; ?>"><br><br>



How many points does a Pro member get for clicking a traffic link&nbsp;<input type="text" name="protrafficearnp" value="<? echo $protrafficearn; ?>"> <br><br>



How many points does a JV member get for clicking a traffic link&nbsp;<input type="text" name="jvtrafficearnp" value="<? echo $jvtrafficearn; ?>"> <br><br>

How many points does a SUPER JV member get for clicking a traffic link&nbsp;<input type="text" name="superjvtrafficearnp" value="<? echo $superjvtrafficearn; ?>"> <br><br>



How many points does a Pro member get for clicking a nav top link&nbsp;<input type="text" name="pronavtopearnp" value="<? echo $pronavtopearn; ?>"> <br><br>



How many points does a JV member get for clicking a nav top link&nbsp;<input type="text" name="jvnavtopearnp" value="<? echo $jvnavtopearn; ?>"> <br><br>

How many points does a SUPER JV member get for clicking a nav top link&nbsp;<input type="text" name="superjvnavtopearnp" value="<? echo $superjvnavtopearn; ?>"> <br><br>



How many points does a Pro member get for clicking a nav bottom link&nbsp;<input type="text" name="probotnavearnp" value="<? echo $probotnavearn; ?>"> <br><br>



How many points does a JV member get for clicking a nav bottom link&nbsp;<input type="text" name="jvbotnavearnp" value="<? echo $jvbotnavearn; ?>"> <br><br>

How many points does a SUPER JV member get for clicking a nav bottom link&nbsp;<input type="text" name="superjvbotnavearnp" value="<? echo $superjvbotnavearn; ?>"> <br><br>





When a Pro member clicks a ptc ad they get how much commissions&nbsp;$<input type="text" name="proptcearnp" value="<? echo $proptcearn; ?>"><br><br>





When a JV member clicks a ptc ad they get how much commissions&nbsp;$<input type="text" name="jvptcearnp" value="<? echo $jvptcearn; ?>"><br><br>



When a SUPER JV member clicks a ptc ad they get how much commissions&nbsp;$<input type="text" name="superjvptcearnp" value="<? echo $superjvptcearn; ?>"><br><br>



How many points does a Pro member get for clicking a solo ad link&nbsp;<input type="text" name="proclickearnp" value="<? echo $proclickearn; ?>"> <br><br>



How many points does a JV member get for clicking a solo ad link&nbsp;<input type="text" name="jvclickearnp" value="<? echo $jvclickearn; ?>"> <br><br>



How many points does a SUPERJV member get for clicking a solo ad link&nbsp;<input type="text" name="superjvclickearnp" value="<? echo $superjvclickearn; ?>"> <br><br>


How many points does a Pro member get for clicking a hp solo ad link&nbsp;<input type="text" name="prohpclickearnp" value="<? echo $prohpclickearn; ?>"> <br><br>



How many points does a JV member get for clicking a hp solo ad link&nbsp;<input type="text" name="jvhpclickearnp" value="<? echo $jvhpclickearn; ?>"> <br><br>



How many points does a SUPERJV member get for clicking a hp solo ad link&nbsp;<input type="text" name="superjvhpclickearnp" value="<? echo $superjvhpclickearn; ?>"> <br><br>


How many points does a Pro member get for clicking a admin email link&nbsp;<input type="text" name="adminproclickearnp" value="<? echo $adminproclickearn; ?>"> <br><br>



How many points does a JV member get for clicking a admin email link&nbsp;<input type="text" name="adminjvclickearnp" value="<? echo $adminjvclickearn; ?>"> <br><br>



How many points does a SUPER JV member get for clicking a admin email link&nbsp;<input type="text" name="adminsuperjvclickearnp" value="<? echo $adminsuperjvclickearn; ?>"> <br><br>

Commissions paid when a Pro member clicks a cash solo ad?&nbsp;$<input type="text" name="procashsoloearnp" value="<? echo $procashsoloearn; ?>"><br><br>

Commissions paid when a JV member clicks a cash solo ad?&nbsp;$<input type="text" name="jvcashsoloearnp" value="<? echo $jvcashsoloearn; ?>"><br><br>

Commissions paid when a SUPER JV member clicks a cash solo ad?&nbsp;$<input type="text" name="superjvcashsoloearnp" value="<? echo $superjvcashsoloearn; ?>"><br><br>

Commissions paid when a Pro member clicks a hpc solo ad?&nbsp;$<input type="text" name="prohpcsoloearnp" value="<? echo $prohpcsoloearn; ?>"><br><br>

Commissions paid when a JV member clicks a hpc solo ad?&nbsp;$<input type="text" name="jvhpcsoloearnp" value="<? echo $jvhpcsoloearn; ?>"><br><br>

Commissions paid when a SUPER JV member clicks a hpc solo ad?&nbsp;$<input type="text" name="superjvhpcsoloearnp" value="<? echo $superjvhpcsoloearn; ?>"><br><br>
How many points does a Pro member get for reading an headline ad&nbsp;<input type="text" name="proheadlineearnp" value="<? echo $proheadlineearn; ?>"><br><br>

How many points does a JV member get for reading an headline ad&nbsp;<input type="text" name="jvheadlineearnp" value="<? echo $jvheadlineearn; ?>"><br><br>

How many points does a SUPER JV member get for reading an headline ad&nbsp;<input type="text" name="superjvheadlineearnp" value="<? echo $superjvheadlineearn; ?>"><br><br>


How many points does a Pro member get for clicking a Hot Headline Ad?&nbsp;<input type="text" name="prohheadlineadearnp" value="<? echo $prohheadlineadearn; ?>"> <br><br>
How many points does a JV member get for clicking a Hot Headline Ad?&nbsp;<input type="text" name="jvhheadlineadearnp" value="<? echo $jvhheadlineadearn; ?>"> <br><br>
How many points does a SUPER JV member get for clicking a Hot Headline Ad?&nbsp;<input type="text" name="superjvhheadlineadearnp" value="<? echo $superjvhheadlineadearn; ?>"><br><br>
How long a Pro member must view a Hot Headline Ad before getting points:&nbsp;<input type="text" name="prohheadlineadcredittimerp" value="<? echo $prohheadlineadcredittimer; ?>"> seconds<br><br>
How long a JV member must view a Hot Headline Ad before getting points:&nbsp;<input type="text" name="jvhheadlineadcredittimerp" value="<? echo $jvhheadlineadcredittimer; ?>"> seconds<br><br>
How long a SUPER JV member must view a Hot Headline Ad before getting points:&nbsp;<input type="text" name="superjvhheadlineadcredittimerp" value="<? echo $superjvhheadlineadcredittimer; ?>"> seconds<br><br>

How many points does a Pro member get for clicking a Hot Header Ad?&nbsp;<input type="text" name="prohheaderadearnp" value="<? echo $prohheaderadearn; ?>"> <br><br>
How many points does a JV member get for clicking a Hot Header Ad?&nbsp;<input type="text" name="jvhheaderadearnp" value="<? echo $jvhheaderadearn; ?>"> <br><br>
How many points does a SUPER JV member get for clicking a Hot Header Ad?&nbsp;<input type="text" name="superjvhheaderadearnp" value="<? echo $superjvhheaderadearn; ?>"><br><br>
How long a Pro member must view a Hot Header Ad before getting points:&nbsp;<input type="text" name="prohheaderadcredittimerp" value="<? echo $prohheaderadcredittimer; ?>"> seconds<br><br>
How long a JV member must view a Hot Header Ad before getting points:&nbsp;<input type="text" name="jvhheaderadcredittimerp" value="<? echo $jvhheaderadcredittimer; ?>"> seconds<br><br>
How long a SUPER JV member must view a Hot Header Ad before getting points:&nbsp;<input type="text" name="superjvhheaderadcredittimerp" value="<? echo $superjvhheaderadcredittimer; ?>"> seconds<br><br>

Maximum Characters allowed in the subject for a Hot Header Ad:&nbsp;<input type="text" name="hheaderadmaxheadingcharsp" value="<? echo $hheaderadmaxheadingchars; ?>"> characters<br><br>
Maximum Characters allowed in the description for a Hot Header Ad:&nbsp;<input type="text" name="hheaderadmaxdesccharsp" value="<? echo $hheaderadmaxdescchars; ?>"> characters<br><br>
Background color for Hot Header Ad Top Admin Bar (text above all hot header ads):&nbsp;<input type="text" name="hheaderadtopnotebgcolorp" value="<? echo $hheaderadtopnotebgcolor; ?>"><br><br>
Text color for Hot Header Ad Top Admin Bar (text above all hot header ads):&nbsp;<input type="text" name="hheaderadtopnotefontcolorp" value="<? echo $hheaderadtopnotefontcolor; ?>"><br><br>
Text size for Hot Header Ad Top Admin Bar (text above all hot header ads):&nbsp;<input type="text" name="hheaderadtopnotefontsizep" value="<? echo $hheaderadtopnotefontsize; ?>"><br><br>
Text font for Hot Header Ad Top Admin Bar (text above all hot header ads):&nbsp;<input type="text" name="hheaderadtopnotefontfacep" value="<? echo $hheaderadtopnotefontface; ?>"><br><br>
Background color for Hot Header Ad Bottom Admin Bar (order text below all hot header ads):&nbsp;<input type="text" name="hheaderadbottomnotebgcolorp" value="<? echo $hheaderadbottomnotebgcolor; ?>"><br><br>
Text color for Hot Header Ad Bottom Admin Bar (order text below all hot header ads):&nbsp;<input type="text" name="hheaderadbottomnotefontcolorp" value="<? echo $hheaderadbottomnotefontcolor; ?>"><br><br>
Text size for Hot Header Ad Bottom Admin Bar (order text below all hot header ads):&nbsp;<input type="text" name="hheaderadbottomnotefontsizep" value="<? echo $hheaderadbottomnotefontsize; ?>"><br><br>
Text font for Hot Header Ad Bottom Admin Bar (order text below all hot header ads):&nbsp;<input type="text" name="hheaderadbottomnotefontfacep" value="<? echo $hheaderadbottomnotefontface; ?>"><br><br>



Daily bonus points<br>

Min: <input type="text" name="bonusminp" value="<? echo $bonusmin; ?>"><br>
Max: <input type="text" name="bonusmaxp" value="<? echo $bonusmax; ?>"> <br><br>




</td></tr></table>

<hr>

<H2>PHP Mailer Settings</H2>
<table><tr><td>
Mailer Type: <select name="smtp_enabledp">
<option value="1" <?php if ($smtp_enabled==1) { echo "SELECTED"; } ?>>SMTP</option>
<option value="2" <?php if ($smtp_enabled==2) { echo "SELECTED"; } ?>>Mail</option>
<option value="3" <?php if ($smtp_enabled==3) { echo "SELECTED"; } ?>>SendMail</option>
<option value="4" <?php if ($smtp_enabled==4) { echo "SELECTED"; } ?>>Qmail</option> 
<option value="5" <?php if ($smtp_enabled==5) { echo "SELECTED"; } ?>>Default</option>
</select><br><br> 

Mail Server: <input type="text" name="smtp_hostp" value="<?php echo $smtp_host; ?>" size="35"><br><br>

Username: <input type="text" name="smtp_usernamep" value="<?php echo $smtp_username; ?>" size="35"><br><br>

Password: <input type="text" name="smtp_passwordp" value="<?php echo $smtp_password; ?>" size="35"><br><br>

Port: <input type="text" name="smtp_portp" value="<?php echo $smtp_port; ?>" size="35"><br><br>

Secure Mailer: <select name="smtp_securep">
<option value="0" <?php if ($smtp_secure==0) { echo "SELECTED"; } ?>>No</option>
<option value="1" <?php if ($smtp_secure==1) { echo "SELECTED"; } ?>>Yes</option>
</select> Recommended<br><br> 
</td><td valign=top>
Recommended SMTP, unless you have QMail then use it.<br>
You can find your smtp configuration in your cpanel email accounts area.
<br><br>
In order to test the mailer set the values on the left and then save before
you test. The test is ran using the values stored on the left.<br>

Send to email: <input type="text" name="testcontact" value="" size="35"><br><br>
Send to name: <input type="text" name="testname" value="" size="35"><br><br>   
<input type="hidden" name="testsubject" value="<? echo $smtp_enabled; ?>" size="35">
<input type="hidden" name="testmessage" value="<? echo $smtp_enabled; ?>" size="35"> 
<input type="submit" name="action" value="Test Email">

</td>
</tr>
</table>


<hr>

<H2>Credit Mailer Settings</H2>
<table width="650"><tr><td><p align="left">

Mailer is disabled until we reach <input type="text" name="cmailmembersp" value="<?php echo $cmailmembers; ?>"> members<br><br>

Pro members can mail every <input type="text" name="promailhoursp" value="<?php echo $promailhours; ?>"> hours<br><br>

JV members can mail every <input type="text" name="jvmailhoursp" value="<?php echo $jvmailhours; ?>"> hours<br><br>

SUPER JV members can mail every <input type="text" name="superjvmailhoursp" value="<?php echo $superjvmailhours; ?>"> hours<br><br>

Pro can mail how many members? <input type="text" name="prolimitmailp" value="<?php echo $prolimitmail; ?>"><br><br>

JV can mail how many members? <input type="text" name="jvlimitmailp" value="<?php echo $jvlimitmail; ?>"><br><br>

SUPER JV can mail how many members? <input type="text" name="superjvlimitmailp" value="<?php echo $superjvlimitmail; ?>"><br><br>


How many credits do a PRO member earn clicking? <input type="text" name="procmailearnp" value="<?php echo $procmailearn; ?>"><br><br>

How many credits do a JV member earn clicking? <input type="text" name="jvcmailearnp" value="<?php echo $jvcmailearn; ?>"><br><br>

How many credits do a SUPER JV member earn clicking? <input type="text" name="superjvcmailearnp" value="<?php echo $superjvcmailearn; ?>"><br><br>

Pro email characther limit? <input type="text" name="promaillengthp" value="<?php echo $promaillength; ?>"><br><br>

JV email characther limit? <input type="text" name="jvmaillengthp" value="<?php echo $jvmaillength; ?>"><br><br>

SUPER JV email characther limit? <input type="text" name="superjvmaillengthp" value="<?php echo $superjvmaillength; ?>"><br><br>

</td></tr></table>

<hr>




<H2>Viral Link Cloaker Settings</H2>

<table width="650"><tr><td><p align="left">



How many links can a Pro member create &nbsp;<input type="text" name="prourlsp" value="<? echo $prourls; ?>">&nbsp;links<br><br>



How many links can a JV member create&nbsp;<input type="text" name="jvurlsp" value="<? echo $jvurls; ?>">&nbsp;links<br><br>



How many links can a SUPER JV member create&nbsp;<input type="text" name="superjvurlsp" value="<? echo $superjvurls; ?>">&nbsp;links<br><br>

</td></tr></table>



<input type="submit" value=" Save Site Settings ">



</form></center>
<center>
<hr>
<form method="POST">
<H2>Surf Settings</H2>

<table width="650"><tr><td><p align="left">

How many surf page can a Pro member create &nbsp;<input type="text" name="prosurfurlsp" value="<? echo $prosurfurls; ?>">&nbsp;pages<br><br>
How many surf page can a JV member create&nbsp;<input type="text" name="jvsurfurlsp" value="<? echo $jvsurfurls; ?>">&nbsp;pages<br><br>
How many surf page can a SUPER JV member create&nbsp;<input type="text" name="superjvsurfurlsp" value="<? echo $superjvsurfurls; ?>">&nbsp;pages<br><br><br>

How many points does a Pro member get for viewing one surf page&nbsp;<input type="text" name="prosurfpointp" value="<? echo $prosurfpoint; ?>">&nbsp;points<br><br>
How many points does a JV member get for viewing one surf page&nbsp;<input type="text" name="jvsurfpointp" value="<? echo $jvsurfpoint; ?>">&nbsp;points<br><br>
How many points does a SUPER JV member get for viewing one surf page&nbsp;<input type="text" name="superjvsurfpointp" value="<? echo $superjvsurfpoint; ?>">&nbsp;points<br><br>

</td></tr></table>
<input type="submit" name="suftsettings" value=" Save Surf Settings ">
</form>
</center>


<? }



echo "</td><td valign=top align=center width=5%></tr></table>";



}



else  {



echo "Unauthorised Access!";



}



include "../footer.php";



mysql_close($dblink);



?>