<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
// +----------------------------------------------------------------------+
// | PHP version 4/5                                                      |
// +----------------------------------------------------------------------+
// | This source file is a part of iScripts Multicart                     |
// +----------------------------------------------------------------------+
// | Authors: Programmer<programmer@armia.com>        		              |
// +----------------------------------------------------------------------+
// | Copyrights Armia Systems, Inc and iScripts.com � 2005                |
// | All rights reserved                                                  |
// +----------------------------------------------------------------------+
// | This script may not be distributed, sold, given away for free to     |
// | third party, or used as a part of any internet services such as      |
// | webdesign etc.                                                       |
// +----------------------------------------------------------------------+
?>
<?php
include "../includes/config.php";
include "../includes/session.php";
include "../includes/functions.php";
include "../includes/htmltop.php";
$approval=$_GET['approval'];

?>
<script>
	function checkArtistLoginForm()
	{
	
	  var form_name = new Array('txtUserName','txtPassword');		
	  var display_name = new Array('<?php echo TEXT_USER_NAME; ?>','<?php echo TEXT_PASS; ?>');
	  var count = 2;	
	
	  if(check_fields('frmLogin',form_name,display_name,count))	
	  {
			
		 	   
	  }
	  else
	  {
	  
			return false;
	  
	  }
	   
	}
</script>

		<body>
		
		<center>
		
		<div align="left" id="layout">
		
		
				
				
				<!--header area start -->
<?php

	include_once("../includes/topheader_seller_approval.php")

?>
				
				<!--header area end -->
				
				
				
				
				<div align="left" class="main_body">
				<!--main body start -->
				
				
				
<?php
		include_once("../includes/artisttopmenu.php")
?>		
																					
								
					<div align="left" class="content_area">
					
					<!--content area start -->
				
					<form name="frmLogin" action="<?php echo $_SERVER["PHP_SELF"]?>" method="POST" onSubmit="return checkArtistLoginForm();">
							
					<div align="left" class="page_title"><?php echo TEXT_AFFILIATE_ACCOUNT_ACTIVATION; ?></div>
					<div align="center" class="text_information grey_tr"><?php echo $message?></div>
					<table cellpadding="0" cellspacing="0" width="100%" border="0" class="manage_table">
					<tr>
						<td>
							<?php if($approval=="3") { // Seller Approval By Email  ?>
							
								<table cellpadding="0" cellspacing="0" width="100%" border="0">
								<tr>
									<td height="40" >
										
										  <?php echo MSG_AFFILIATE_APPROVAL_CASE1_1; ?>
									<td></tr>
<tr>
<td>
<?php echo MSG_AFFILIATE_APPROVAL_CASE1_2; ?>
  <br>
  <br>
 <?php echo MSG_AFFILIATE_APPROVAL_CASE1_3; ?>
  <br>
 <br>
 <?php echo MSG_AFFILIATE_APPROVAL_CASE1_4; ?>
<br><br>
 <?php echo MSG_AFFILIATE_APPROVAL_CASE1_5; ?>

				</td>
							</tr>
						</table>	
						
						<?php }  // end if approval?>
						
						<?php if($approval=="2") { // Seller Approval By Administrator  ?>
							
								<table cellpadding="0" cellspacing="0" width="100%" border="0">
								<tr>
									<td height="40" >
										  <?php echo MSG_AFFILIATE_APPROVAL_CASE2_1; ?>
									<td></tr>
<tr>
<td>
    <?php echo MSG_AFFILIATE_APPROVAL_CASE2_2; ?>
<br>
 <br>
 <?php echo MSG_AFFILIATE_APPROVAL_CASE2_3; ?>
 <br><br>
 <?php MSG_AFFILIATE_APPROVAL_CASE2_4; ?>

				</td>
							</tr>
						</table>	
						
						<?php }  // end if approval?>
								
						<!--content area end-->
				
				
								
				</td>
			</tr>
		</table>					
		</form>
				</div>
				
				
								
					<div align="left" class="clear_float"><img src="<?php echo $imagefolder;?>/clear.gif" alt="" width="1" height="1" /></div>
				<!--main body end -->
				</div>
				
				
<?php
	include "../includes/footer.php";
?>