<?php
 /***************************************************************************
 *   Copyright (C) 2008 by oscim   Project lossim                          *
 *   a@oscim.fr                                                            *
 *       [created : 14.03.2008, 17:53:41] @oscim                           *
 ***************************************************************************/
 if (!isset($_POST['success_base']))$_POST['success_base']=0;
 if (!isset($_POST['success_user']))$_POST['success_user']=0;
 if (!isset($_POST['success_mod']))$_POST['success_mod']=0;
 if (!isset($_POST['success_data']))$_POST['success_data']=0;
 ?>


<form name='formt' enctype="multipart/form-data" action='setup.php?etape=3' Method='POST'>
	<?php post_hidden($_POST) ?>
	<h2><?php echo TITLE_ETP_2 ?></h2>
	<p><?php echo NOTE_ETP_2 ?></p>

	<ul><?php if ( ($_POST['success_base']!=1)AND ($_POST['success_user']==0)AND ($_POST['success_mod']==0) ) : ?>
		<li><input type='radio' name='type_install' value='base' /><?php echo BASE ?></li>
	    <?php endif;
		  if ( ($_POST['success_base']==1)AND ($_POST['success_user']!=1)AND ($_POST['success_mod']==0)AND ($_POST['install']=='i')  ) : ?>
		<li><input type='radio' name='type_install' value='user' /> <?php echo USER ?></li>
	  <?php endif;
		 /* if ($_POST['success_data']!=1) :*/ ?>
<!--  		<li><input type='radio' name='type_install' value='data' /><?php echo DATA ?> </li>  -->
	<?php /*endif;*/
		  if ( ($_POST['success_base']==1)AND ($_POST['success_user']==1)AND ($_POST['success_mod']!=1)AND ($_POST['install']=='i') ): ?>
		<li><input type='radio' name='type_install' value='mod' /><?php echo MODULES ?></li>
	<?php endif;  ?>
	</ul>

	<?php if ( ( ($_POST['success_base']==1)AND ($_POST['success_user']==1)AND ($_POST['success_mod']==1) )OR ($_POST['success_base']==1)AND ($_POST['install']=='r') ) : ?>
		<h1>Configuration terminé</h1>
		<p><a href="<?php echo $_POST['url_du_site'].'admin/' ?>" ><?php echo BACKOFFICE ?></a> <br />
		<a href="<?php echo $_POST['url_du_site'].'' ?>" ><?php echo FRONT ?></a></p>
	<?php endif;  ?>
	<?php print BOUTON ?>
</form>


