Exemplo n.º 1
0
                    $db=getDoliDBInstance($conf->db->type,$conf->db->host,$conf->db->user,$conf->db->pass,$conf->db->name,$conf->db->port);
    				if ($db->connected == 1 && $db->database_selected == 1)
    				{
    					$ok=1;
    				}
                }
			}
		}

		// If a database access is available, we set more variable
		
		print end_box();
		print '</div>';
		
		print '<div class="row">';
		print start_box($langs->trans("DolibarrSetup"),"twelve","16-Settings.png");
		
		if ($ok)
		{
			if (empty($dolibarr_main_db_encryption)) $dolibarr_main_db_encryption=0;
			$conf->db->dolibarr_main_db_encryption = $dolibarr_main_db_encryption;
			if (empty($dolibarr_main_db_cryptkey)) $dolibarr_main_db_cryptkey='';
			$conf->db->dolibarr_main_db_cryptkey = $dolibarr_main_db_cryptkey;

			$conf->setValues();
			// Current version is $conf->global->MAIN_VERSION_LAST_UPGRADE
			// Version to install is DOL_VERSION
			$dolibarrlastupgradeversionarray=preg_split('/[\.-]/',isset($conf->global->MAIN_VERSION_LAST_UPGRADE) ? $conf->global->MAIN_VERSION_LAST_UPGRADE : (isset($conf->global->MAIN_VERSION_LAST_INSTALL)?$conf->global->MAIN_VERSION_LAST_INSTALL:''));
			$dolibarrversiontoinstallarray=versiondolibarrarray();
		}
Exemplo n.º 2
0
			print "</div>\n";

			print end_box();
			print '</div>';

			print '<div class="row">';


			/*
			 * Liste des groupes dans lequel est l'utilisateur
			 */

			if ($canreadgroup) {
				print '<div class="row">';
				print start_box($langs->trans("ListOfGroups"), "twelve", "16-Users-2.png", false);

				// On selectionne les users qui ne sont pas deja dans le groupe
				$exclude = array();

				if (!empty($fuser->values->roles)) {
					foreach ($fuser->values->roles as $useringroup) {
						$exclude[] = $useringroup;
					}
				}


				print '<form action="' . $_SERVER['PHP_SELF'] . '?id=' . $fuser->id . '" method="POST">' . "\n";
				print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
				print '<input type="hidden" name="action" value="addgroup">';
				print '<table class="noborder" width="100%">' . "\n";
Exemplo n.º 3
0
			<img src="' . DOL_URL_ROOT . '/theme/blank.gif" style="background-image: url(' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/ico/open/bar-chart.png)" alt="" />
                        <span class="ov_nb">3021</span>
			<span class="ov_text">Unique visitors</span>
                    </a>
		</li>
            </ul>';

			print end_box();

			print '</div><div class="row">';

			$head = societe_prepare_head($object);

			dol_fiche_head($head, 'card', $langs->trans("ThirdParty"), 0, 'company');

			print start_box($langs->trans("ThirdParty"), "twelve", "16-Apartment-Building.png");

			// Confirm delete third party
			if ($action == 'delete' || $conf->use_javascript_ajax) {
				$form = new Form($db);
				$ret = $form->form_confirm($_SERVER["PHP_SELF"] . "?id=" . $object->id, $langs->trans("DeleteACompany"), $langs->trans("ConfirmDeleteCompany"), "confirm_delete", '', 0, "action-delete");
				if ($ret == 'html')
					print '<br>';
			}

			dol_htmloutput_errors($error, $errors);

			$showlogo = $object->logo;
			$showbarcode = ($conf->barcode->enabled && $user->rights->barcode->lire);

			$var = false;
Exemplo n.º 4
0
    try {
        $object->load($_GET['id']);
        $object->rights[$_GET['pid']]->default = false;
        $object->record();
        dol_delcache("DolibarrModules:default_right");
    } catch (Exception $e) {
        dol_print_error('', $e->getMessage());
    }
}
$langs->load("admin");
/*
 * View
 */
llxHeader('', $langs->trans("DefaultRights"));
print '<div class="row">';
print start_box($langs->trans("SecuritySetup"), 'twelve', '16-Cog-4.png', false);
print $langs->trans("DefaultRightsDesc");
print " " . $langs->trans("OnlyActiveElementsAreShown") . "<br>\n";
print "<br>\n";
$head = security_prepare_head();
dol_fiche_head($head, 'default', $langs->trans("Security"));
$i = 0;
$obj = new stdClass();
print '<table class="display dt_act" id="default_right">';
print '<thead>';
print '<tr>';
print '<th>';
print '</th>';
$obj->aoColumns[$i]->mDataProp = "id";
$obj->aoColumns[$i]->sDefaultContent = "";
$obj->aoColumns[$i]->bVisible = false;
Exemplo n.º 5
0
    function deleteVerify($name = false)
    {
        global $sure, $id, $h_section, $delete;
        global $theme, $language, $type;
        $title = $this->nameField;
        if (empty($sure)) {
            start_box();
            ?>
        <br>
        <form method="get" action="<?php 
            echo $PHP_SELF;
            ?>
" name="surething">
        <p align="center">Are you sure you want to delete the record for <b><?php 
            echo $this->{$title};
            ?>
</b>?</p>
        <p align="center">
          <input type="radio" name="sure" value="1" checked>
          Yes
          <input type="radio" name="sure" value="0">
          No</p>
        <p align="center">
        <input type=hidden name='action' value='delete'>
         <input type=hidden name='id' value='<?php 
            echo $this->id;
            ?>
'>
        <?php 
            if (isset($type)) {
                ?>
<input type="hidden" name="type" value="<?php 
                echo $type;
                ?>
"><?php 
            }
            ?>
        <input type="hidden" name="<?php 
            echo $name;
            ?>
" value="<?php 
            echo $value;
            ?>
">
        <input type="image" alt="Delete" name="Delete" value="Submit" src="/admin_live/images_oa/button_delete.gif">
      </p>
      </form>
      <?php 
            end_box();
        }
    }
Exemplo n.º 6
0
 * View
 */

llxHeader();

$form = new Form($db);

if ($action == 'delete') {
	$ret = $form->form_confirm($_SERVER['PHP_SELF'] . "?id=" . $id, $langs->trans("DeleteADatabase"), $langs->trans("ConfirmDatabase", $id), "confirm_delete", '', 0, 1);
	if ($ret == 'html')
		print '<br>';
}


print '<div class="row">';
print start_box($langs->trans("ListOfDatabases"), "twelve", "16-Cloud.png", false);

print ' <div class="row sepH_b">';
print ' <div class="right">';
if ($user->admin) {
	//print '<a class="gh_button primary pill icon add" href="'.DOL_URL_ROOT.'/user/database/fiche.php?action=create">'.$langs->trans("Create").'</a>';
	//$object->buttonCreate(DOL_URL_ROOT.'/user/database/fiche.php');
}
print "</div>\n";
print "</div>\n";

$i = 0;
$obj = new stdClass();

print '<table class="display dt_act" id="user" >';
// Ligne des titres 
Exemplo n.º 7
0
    $sql .= ' f.datef, f.date_lim_reglement,';
    $sql .= ' f.paye, f.fk_statut, f.note,';
    $sql .= ' s.nom, s.rowid';
} else {
    $sql .= ' AND (s.nom LIKE \'%' . $db->escape($sall) . '%\' OR f.facnumber LIKE \'%' . $db->escape($sall) . '%\' OR f.note LIKE \'%' . $db->escape($sall) . '%\' OR fd.description LIKE \'%' . $db->escape($sall) . '%\')';
}
$sql .= ' ORDER BY ';
$listfield = explode(',', $sortfield);
foreach ($listfield as $key => $value) {
    $sql .= $listfield[$key] . ' ' . $sortorder . ',';
}
$sql .= ' f.rowid DESC ';
$sql .= $db->plimit($limit + 1, $offset);
//print $sql;
print '<div class="row">';
print start_box($langs->trans('BillsCustomers'), "twelve", "16-Money-2.png", false);
$resql = $db->query($sql);
if ($resql) {
    $num = $db->num_rows($resql);
    if ($socid) {
        $soc = new Societe($db);
        $soc->fetch($socid);
    }
    $param = '&socid=' . $socid;
    if ($month) {
        $param .= '&month=' . $month;
    }
    if ($year) {
        $param .= '&year=' . $year;
    }
    if ($search_ref) {
Exemplo n.º 8
0
 */
llxHeader('', $langs->trans("ListOfSubscriptions"), 'EN:Module_Foundations|FR:Module_Adh&eacute;rents|ES:M&oacute;dulo_Miembros');
if ($msg) {
    print $msg . '<br>';
}
if (!empty($date_select)) {
    $result = $adherent->getView('cotisationYear', array("key" => (int) $date_select));
} else {
    $result = $adherent->getView('cotisationYear');
}
$title = $langs->trans("ListOfSubscriptions");
if (!empty($date_select)) {
    $title .= ' (' . $langs->trans("Year") . ' ' . $date_select . ')';
}
print '<div class="row">';
print start_box($titre, "twelve", "16-Money.png");
$i = 0;
$obj = new stdClass();
print '<div class="datatable">';
print '<table class="display dt_act" id="cotisation_datatable" >';
// Ligne des titres
print '<thead>';
print '<tr>';
print '<th>';
print '</th>';
$obj->aoColumns[$i]->mDataProp = "_id";
$obj->aoColumns[$i]->bUseRendered = false;
$obj->aoColumns[$i]->bSearchable = false;
$obj->aoColumns[$i]->bVisible = false;
$i++;
print '<th class="essential">';
Exemplo n.º 9
0
         print '<div class="tabsAction">';
         if ($object->Status > 0) {
             print '<a class="butAction" href="' . $_SERVER["PHP_SELF"] . '?id=' . $rowid . '&action=addsubscription">' . $langs->trans("AddSubscription") . "</a>";
         } else {
             print '<a class="butActionRefused" href="#" title="' . dol_escape_htmltag($langs->trans("ValidateBefore")) . '">' . $langs->trans("AddSubscription") . '</a>';
         }
         print "<br>\n";
         print '</div>';
     }
 }
 print end_box();
 $titre = $langs->trans("Messenger");
 print start_box($titre, "six", "16-Mail.png");
 print end_box();
 $titre = $langs->trans("CardMember");
 print start_box($titre, "six", "16-Mail.png");
 $licence = new AdherentCard($db);
 try {
     $licence->load($object->login);
     print $licence->body;
 } catch (Exception $e) {
     print "No licence Card";
 }
 print '<div class="tabsAction">';
 // Send card by email
 if ($user->rights->adherent->creer) {
     if ($object->Status >= 1) {
         if ($object->email) {
             print '<a class="butAction" href="' . $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&action=sendinfo">' . $langs->trans("SendCard") . "</a>\n";
         } else {
             print "<a class=\"butActionRefused\" href=\"#\" title=\"" . dol_escape_htmltag($langs->trans("NoEMail")) . "\">" . $langs->trans("SendCard") . "</a>\n";
Exemplo n.º 10
0
            print '</tr>';
        }
    }

    $object=(object) array();
    $parameters=array();
    $action='';
    $reshook=$hookmanager->executeHooks('addStatisticLine',$parameters,$object,$action);    // Note that $action and $object may have been modified by some hooks

    print '</table>';
    print end_box();   
}

if ($conf->agenda->enabled && $user->rights->agenda->myactions->read && $conf->highcharts->enabled && $user->rights->highcharts->read)
{
    print start_box($langs->trans("Action"),"eight","16-Cog-4.png");
    dol_include_once("/highCharts/class/highCharts.class.php");

    $langs->load("highcharts@highCharts");

    $graph=new HighCharts($db);
    $graph->width="100%";
    $graph->height="250px";
    $graph->name="ActionsToDo";
    $graph->label=$langs->trans("ActionsToDo");
    if($user->rights->highcharts->all)
    {
        $graph->mine=0;
    }
    $graph->eisenhower();
    print end_box();
Exemplo n.º 11
0
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
require "../main.inc.php";
require_once DOL_DOCUMENT_ROOT . "/adherent/class/adherent.class.php";
$langs->load("members");
$langs->load("companies");
$object = new Adherent($db);
/*
 * View
 */
llxHeader('', $langs->trans("Member"), 'EN:Module_Foundations|FR:Module_Adh&eacute;rents|ES:M&oacute;dulo_Miembros');
print '<div class="row">';
$titre = $langs->trans("MembersList");
print start_box($titre, "twelve", "16-Users.png");
$i = 0;
$obj = new stdClass();
print '<div class="datatable">';
print '<table class="display dt_act" id="member" >';
// Ligne des titres
print '<thead>';
print '<tr>';
print '<th>';
print '</th>';
$obj->aoColumns[$i]->mDataProp = "_id";
$obj->aoColumns[$i]->bUseRendered = false;
$obj->aoColumns[$i]->bSearchable = false;
$obj->aoColumns[$i]->bVisible = false;
$i++;
print '<th class="essential">';
Exemplo n.º 12
0
        //refresh menu
        dol_delcache("DolibarrModules:default_right");
        $object->record();
    } catch (Exception $e) {
        $mesg = $e->getMessage();
    }
    Header("Location: " . $_SERVER['PHP_SELF'] . "?&mesg=" . urlencode($mesg));
    exit;
}
/*
 * View
 */
$help_url = 'EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones';
llxHeader('', $langs->trans("Setup"), $help_url);
print '<div class="row">';
print start_box($langs->trans("ModulesSetup"), 'twelve', '16-Cog-4.png', false);
$obj = new stdClass();
$i = 0;
print '<table class="display dt_act" id="list_modules">';
print '<thead>';
print '<tr>';
print '<th>';
print '</th>';
$obj->aoColumns[$i]->mDataProp = "id";
$obj->aoColumns[$i]->sDefaultContent = "";
$obj->aoColumns[$i]->bVisible = false;
$i++;
print '<th class="essential">';
print $langs->trans("Family");
print '</th>';
$obj->aoColumns[$i]->mDataProp = "family";
Exemplo n.º 13
0
/**
 * 	Show a title with picto
 *
 * 	@param	string	$titre				Title to show
 * 	@param	string	$mesg				Added message to show on right
 * 	@param	string	$picto				Icon to use before title (should be a 32x32 transparent png file)
 * 	@param	int		$pictoisfullpath	1=Icon name is a full absolute url of image
 * 	@param	int		$id					To force an id on html objects
 * 	@return	void
 */
function print_fiche_titre($titre, $mesg = '', $picto = 'title.png', $pictoisfullpath = 0, $id = '')
{
    print '<div class="row">';
    print start_box($titre, "twelve", "16-Apartment-Building.png");
    //print load_fiche_titre($titre, $mesg, $picto, $pictoisfullpath, $id);
    //print '</div>';
    //print '</div>';
    //print '<div class="row">';
    //print '<div class="tweelve columns">';
}
Exemplo n.º 14
0
    }
}



/*
 * View
 */

llxHeader();

$head = user_prepare_head($fuser);

$title = $langs->trans("User");
print '<div class="row">';
print start_box($title, "twelve", "16-User-2.png", false);

dol_fiche_head($head, 'guisetup', $title, 0, 'user');


print '<table class="border" width="100%">';

// Ref
print '<tr><td width="25%" valign="top">'.$langs->trans("Ref").'</td>';
print '<td colspan="2">';
print $form->showrefnav($fuser,'id','',$user->rights->user->user->lire || $user->admin);
print '</td>';
print '</tr>';

// Nom
print '<tr><td width="25%" valign="top">'.$langs->trans("LastName").'</td>';
Exemplo n.º 15
0
    /*
     * Boutons d'action
     */
    if (GETPOST("cancel") || $confirm == 'no' || $action == '' || in_array($action, array('valid', 'delete', 'sendall'))) {
        print "\n\n<div class=\"tabsAction\">\n";
        print '<a class="butAction" href="' . $_SERVER['PHP_SELF'] . '?action=edit&amp;id=' . $object->id() . '">' . $langs->trans("Edit") . '</a>';
        print '<br><br></div>';
    }
    print end_box();
    print '</div>';
} else {
    /*
     * Mailing en mode edition
     */
    print '<div class="row">';
    print start_box($langs->trans("CardMember"), "twelve", "16-iPhone-4.png");
    print "\n";
    print '<form name="edit_mailing" action="' . $_SERVER['PHP_SELF'] . '" method="post" enctype="multipart/form-data">' . "\n";
    print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
    print '<input type="hidden" name="action" value="update">';
    print '<input type="hidden" name="id" value="' . $object->id . '">';
    // Print mail content
    //print_fiche_titre($langs->trans("Message"), '', '');
    print '<table class="border" width="100%">';
    // Subject
    print '<tr><td width="25%" class="fieldrequired">' . $langs->trans("CardTitle") . '</td><td colspan="3"><input class="flat" type="text" size=40 name="title" value="' . $object->title . '"></td></tr>';
    // Resume
    print '<tr><td width="25%" class="fieldrequired">' . $langs->trans("Year") . '</td><td colspan="3"><input class="flat" type="text" size=40 name="resume" value="' . $object->resume . '"></td></tr>';
    // Message
    print '<tr><td width="25%" valign="top">' . $langs->trans("Card") . '<br>';
    print '<br><i>' . $langs->trans("CommonSubstitutions") . ':<br>';
Exemplo n.º 16
0
 */
$htmlother = new FormOther($db);
llxHeader('', $langs->trans("ThirdParty"), $help_url, '', '', '', '');
if ($type != '') {
    if ($type == 0) {
        $titre = $langs->trans("ListOfSuspects");
    } elseif ($type == 1) {
        $titre = $langs->trans("ListOfProspects");
    } else {
        $titre = $langs->trans("ListOfCustomers");
    }
} else {
    $titre = $langs->trans("ListOfAll");
}
print '<div class="row">';
print start_box($titre, "twelve", "16-Companies.png");
$i = 0;
$obj = new stdClass();
print '<div class="datatable">';
print '<table class="display dt_act" id="societe" >';
// Ligne des titres
print '<thead>';
print '<tr>';
print '<th>';
print '</th>';
$obj->aoColumns[$i]->mDataProp = "_id";
$obj->aoColumns[$i]->bUseRendered = false;
$obj->aoColumns[$i]->bSearchable = false;
$obj->aoColumns[$i]->bVisible = false;
$i++;
print '<th class="essential">';
Exemplo n.º 17
0
			print "</table>";

			$obj->aaSorting = array(array(0, "asc"));
			$obj->sDom = 'l<fr>t<\"clear\"rtip>';

			$object->datatablesCreate($obj, "users");

			print '</div>';
			print '</div>';

			/*
			 * Liste des groupes / roles dans le database
			 */

			print '<div class="row">';
			print start_box($langs->trans("ListOfRolesInDatabase"), "twelve", "16-Users-2.png", false);

// On selectionne les users qui ne sont pas deja dans le groupe
			$exclude = array();

			if (!empty($object->membersRoles)) {
				foreach ($object->membersRoles as $useringroup) {
					$exclude[] = $useringroup->id;
				}
			}

			if ($caneditperms) {
				print '<form action="' . $_SERVER['PHP_SELF'] . '?id=' . $object->id . '" method="POST">' . "\n";
				print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
				print '<input type="hidden" name="action" value="addgroup">';
				print '<table class="noborder" width="100%">' . "\n";
Exemplo n.º 18
0
    print '</table>';

    print '<center><br><input type="submit" name="button" class="button small radius nice" value="'.$langs->trans("Save").'"> &nbsp; ';
    print '<input type="submit" name="button" class="button white small radius nice" value="'.$langs->trans("Cancel").'"></center>';

    print "</form>";

}



foreach ($extrafields->fields as $key => $aRow)
{   
    print '<div class="row">';
    print start_box($langs->trans($key),"twelve",'16-Alert-2.png','',true);
    
    if($aRow->edit)
    {
       /*
        * Barre d'actions
        *
        */
        if ($action != 'create' && $action != 'edit')
        {
            print '<div class="row sepH_a">';
            print '<div class="right">';
                print '<a class="gh_button primary pill icon add" href='.$_SERVER["PHP_SELF"].'?action=create&fields='.$key.' >'.$langs->trans("NewAttribute").'</a>';
            print "</div>";
            print "</div>";
        }
Exemplo n.º 19
0
/**
 * Show HTML header of install pages
 *
 * @param	string		$soutitre	Title
 * @param 	string		$next		Next
 * @param 	string		$action     Action code ('set' or 'upgrade')
 * @param 	string		$param		Param
 * @return	void
 */
function pHeader($soutitre, $next, $action = 'set', $param = '') {
	global $conf;
	global $langs;
	$langs->load("main");
	$langs->load("admin");

	// On force contenu dans format sortie
	header("Content-type: text/html; charset=" . $conf->file->character_set_client);

	print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">' . "\n";
	print '<html>' . "\n";
	print '<head>' . "\n";
	print '<meta http-equiv="content-type" content="text/html; charset=' . $conf->file->character_set_client . '">' . "\n";
	print'<!-- Foundation framework -->';
	print '<link rel="stylesheet" href="../theme/pertho_sample/foundation/stylesheets/foundation.css">';
	print '<!-- jquery UI -->';
	print '<link rel="stylesheet" href="../theme/pertho_sample/lib/jQueryUI/css/Aristo/Aristo.css" media="all" />';
	print '<!-- fancybox -->';
	print '<link rel="stylesheet" href="../theme/pertho_sample/lib/fancybox/jquery.fancybox-1.3.4.css" media="all" />';
	print '<!-- tooltips -->';
	print '<link rel="stylesheet" href="../theme/pertho_sample/lib/qtip2/jquery.qtip.min.css" />';
	print '<!-- main styles -->';
	print '<link rel="stylesheet" href="../theme/eldy/style.css" />';
	print '<!-- datatables -->';
	print '<link rel="stylesheet" href="../theme/pertho_sample/lib/datatables/css/demo_table_jui.css" media="all" />';
	//print '<link rel="stylesheet" type="text/css" href="default.css">'."\n";
	//print '<link rel="stylesheet" type="text/css" href="../includes/jquery/css/smoothness/jquery-ui-latest.custom.css" type="text/css">'."\n";
	print '<script type="text/javascript" src="../includes/jquery/js/jquery-latest.min.js"></script>' . "\n";
	print '<script type="text/javascript" src="../includes/jquery/js/jquery-ui-latest.custom.min.js"></script>' . "\n";
	print '<title>' . $langs->trans("DolibarrSetup") . '</title>' . "\n";
	print '<!-- Google fonts -->';
	//print '<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet" />';
	print '<style type="text/css" media="screen, print">
		@font-face {
		font-family: "Open Sans Condensed";
		font-style: normal;
		font-weight: 300;
		src: url("../theme/pertho_sample/lib/google/OpenSans-CondensedLight.woff") format("woff"),
			url("http://themes.googleusercontent.com/static/fonts/opensanscondensed/v6/gk5FxslNkTTHtojXrkp-xF1YPouZEKgzpqZW9wN-3Ek.woff") format("woff");
		}
		</style>';
	print '<style type="text/css" media="screen, print">
		@font-face {
		font-family: "Terminal Dosis";
		font-style: normal;
		font-weight: 400;
		src: url("../theme/pertho_sample/lib/google/Dosis-Regular.woff") format("woff"),
			url("http://themes.googleusercontent.com/static/fonts/terminaldosis/v5/_IcvjW_kWHsIHjjUsLbdpFGxLvFzKVP0OsRYGzgS_zk.woff") format("woff");
		}
		</style>';
	print '<script type="text/javascript" src="../includes/lib/stepy/js/jquery.stepy.min.js"></script>';
	print '<script type="text/javascript" src="../includes/lib/validate/jquery.validate.min.js"></script>';
	
	print '<script type="text/javascript" src="../includes/lib/validate/localization/messages_'.substr($langs->getDefaultLang(),0,2).'.js"></script>'; //localization for validation plugin
	//print '<script type="text/javascript" src="../includes/js/pertho.js"></script>';

	print '</head>' . "\n";
	print '<header>';
	print '<div class="container head_s_a">';

	// HEADER
	print '<div class="row sepH_b">
        <div class="six columns">
        <div class="row">
        <div class="five phone-two columns">
        <div id="logo">';
			$urllogo = '../theme/speedealing_logo.png';
	print '<center><img src="' . $urllogo . '" alt="' . $conf->global->MAIN_INFO_SOCIETE_NOM . '" title="' . $conf->global->MAIN_INFO_SOCIETE_NOM . '"/>';
	print DOL_VERSION.'</center>';
	print '</div></div>';
	print '</div>';
	print '</div></div>';
	print '</div>';
	print '</header>';
	print '<body class="ptrn_a grdnt_b mhover_c">' . "\n";
	print '<div class="container">';
	
	print '<div class="row">';
	
	if ($soutitre)
		print start_box($langs->trans("DolibarrSetup"). ' - ' . $soutitre,"twelve","16-Settings.png");
	else
		print start_box($langs->trans("DolibarrSetup"),"twelve","16-Settings.png");

	print '<form name="forminstall" id="validate_wizard" class="stepy-wizzard nice" action="' . $next . '.php' . ($param ? '?' . $param : '') . '" method="POST">' . "\n";
	print '<input type="hidden" name="testpost" value="ok">' . "\n";
	print '<input type="hidden" name="action" value="' . $action . '">' . "\n";

	//print '<table class="main" width="100%"><tr><td>' . "\n";

	//print '<table class="main-inside" width="100%"><tr><td>' . "\n";
}