GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/advertise-banner.php

<? session_start();
 include("lib/globals.php");
 include("lib/common.php");
 include("lib/functions.php");
 ?>
<? include "includes/header_top.php";?>

<script language="javascript">

function openlogin()
{
	
	  document.getElementById('avt2').style.display="block";
	  document.getElementById('avt1').style.display="none";
	
}
function openavt3()
{
	  document.getElementById('avt3').style.display="block";
	  document.getElementById('avt2').style.display="none";
	  document.getElementById('avt1').style.display="none";
}


</script>
<script language="javascript">
	function validate()

	{
		if (document.f1.target_country.value=="" ) 
		{  
		   alert("Select your country");
		   document.f1.target_country.focus();
			return false;     
		}
		var elem=document.forms['f1'].elements['bannerprice'];
		var len=elem.length-1;
		var chkvalue='';
		for(i=0; i<=len; i++)
		{
		if(elem[i].checked)chkvalue=elem[i].value;
		}
		if(chkvalue=='')
		{
		alert('Select at least one Banner Ad Option.');		
		return false;
		}
		
	}
</script>
<body>
<? include "includes/header.php";?>
 
<div class="main_bg">

 		<div style="height:32px; width:1000px;">
        	        
        </div>
        <div  style="width:1000px; margin:0 auto;">
        	<div class="statedetails">
                	<div class="stdtls_header">
                    	Advertise - <span style="color:#000;">Banner Ad </span>                	
                    </div>
                    <div class="stdtls_midder">
                    	<div style=" width:960px; margin:0 auto;"><br/>
                        	<div class="seftyleft">
                                <br/>
                                    <img src="images/100safe.png" />
                                 <p class="notetext">NOTE</p>
                                 <p class="noteans">
                                 	Chose your desired package then click the red botton.<br/><br/>You can pay by Visa, Mastercard and Masstro credit cards.<br/><br/>
                                 
                                 </p>
                                
                            </div>
                            <div class="bannermid">
                             <? if($_SESSION['userlogin']=="true")
							 {?>
                            <form action="advertise-bannerdetails.php" method="post" name="f1" style="margin: 0px; padding: 0px;" enctype="multipart/form-data" onSubmit="return validate();">
                                 <input name="submit_form" value="1" type="hidden">
                                 
                               <? } else
							   
							   {?>
                               	<form action="bannerlogin.php" method="post" name="f1" style="margin: 0px; padding: 0px;" enctype="multipart/form-data" onSubmit="return validate();">
                                 <input name="submit_form" value="1" type="hidden">
                               
                               <? } ?>
                            	<div style="width:600px; margin:0 auto;" id="avt1">
                            	<table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;">
                                	<tr height="15" align="center">
                                    	<? if($_GET['msg']==1){ ?>
                                            <p class="passwordmsg">Your Banner has been submitted successfully with payment and viewable soon.</p>
                                        <? } ?>
                                    
                                    </tr>
                                    <tr>
                                    	<td class="jointext222">&nbsp;Target Country :</td>
                                        <td>
                                        	<select class="drp_img2" id="visitor_country" name="target_country" onChange="openmobilecareer(this.value)">

                                         		  <option value="">Select Country</option>
                                                   <?
                                                    $sql_country="select * from countries";
                                                    $country_res=execute_query($sql_country);
                                                    while($country_row=mysql_fetch_array($country_res)){
                                                   ?>
                                                  <option value="<?=$country_row['ccode']?>"><?=$country_row['country']?></option>
                                                 <? }?>
                                                
                                            </select>
                                        </td>
                                    
                                    </tr>
                                    <tr height="15"></tr>
                                    <tr>
                                    	<td colspan="2" class="firstprice">
                                        	<input type="radio" name="bannerprice" value="90" />&nbsp;&nbsp;<span class="dayscolor">90 Days Banner Ad</span><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="othercolor">100 USD for recurring billing for 90days.(around 100 USD)</span>
                                        </td>
                                    </tr>
                                     <tr height="15"></tr>
                                    <tr>
                                    	<td colspan="2" class="firstprice">
                                        <input type="radio" name="bannerprice" value="30" />&nbsp;&nbsp;<span class="dayscolor">30 Days Banner Ad</span><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="othercolor">50 USD for recurring billing for 30days.(around 50 USD)</span>
                                        
                                        </td>
                                    </tr>
                                    <tr height="20"></tr>
                                    <tr>
                                    	<td align="center" colspan="2">
                                        
                                        	<input type="image" src="images/buybannerad.png"  />
                                                                                       
                                        </td>
                                    </tr> <tr height="20"></tr>
                                    <tr>
                                    	<td align="center" colspan="2">
                                        	<img src="images/payment-methods.png" />
                                        </td>
                                    </tr>
                                    <tr height="15"></tr>
                                
                                </table>
                            	</div>
                                
                                
                                </form>
                            </div>
                            <div class="bannerrules">
                            	<table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;">
                                	<tr height="10"></tr>
                                    <tr>
                                    	<td class="freetext2"><img src="images/signuparrow.png" /> Our Country</td>
                                    
                                    </tr>
                                    <tr height="6"></tr>
                                    <tr>
                                    	<td class="freetext2"><img src="images/signuparrow.png" /> Random Position</td>
                                    
                                    </tr>
                                    <tr height="6"></tr>
                                    <tr>
                                    	<td class="freetext2"><img src="images/signuparrow.png" /> 200 x 200 px size</td>
                                    
                                    </tr>
                                    <tr height="6"></tr>
                                    <tr>
                                    	<td class="freetext2"><img src="images/signuparrow.png" /> Max 150kb</td>
                                    
                                    </tr>
                                    <tr height="6"></tr>
                                    <tr>
                                    	<td class="freetext2"><img src="images/signuparrow.png" /> Banner & url Change</td>
                                    
                                    </tr>
                                    <tr height="45"></tr>
                                    <tr>
                                    	<td class="morelink22">
                                        	More info about Banner Advertisement
                                        </td>
                                    
                                    </tr>
                                
                            	</table>
                            </div>                                                   
                           <br class="spacer" />
                           	       	
                        </div>
                    
                    </div>
                    <div class="stdtls_footer"></div>
                </div>
            
              </div>
            
        </div>

<? include "includes/footer.php";?>

./BlackJoker Mini Shell 1.0