include("./includes/config.smarty.inc.php" ); // include for the ksession library include("./lib/session/session.php"); // include for the adodb library include("./lib/adodb/adodb.inc.php"); //include for the libsql library include("./lib/libsql/LibSql.class.php"); /* init the template */ $template = new Smarty_eshop; /* do the global assignement */ $template->assign('title', $title); $template->assign('keywords', $keywords); $template->assign('description', $description); $template->assign('currency', $currency); $template->assign('taxe', $taxe); /* creating the database connexion */ $connexion = &ADONewConnection($db_type); $connexion->Connect($db_host, $db_login, $db_pass, $db_name); /* default visitor is not login */ $is_not_logged = true; /* init session */ $session = &new SESSION;
// include for the smarty library include "./includes/config.smarty.inc.php"; /* init the template */ $template = new Smarty_eshop(); /* do the global assignement */ $step_header = "Installation du E-shop : "; $step_container = ""; $step_footer = "Etape " . $step . " sur " . $nbr_step_tot; $body_option = ""; include 'step' . $step . '.inc.php'; // Boutons suivant et précédent $step_container .= '<label class="defile">'; if ($step > 1) { $step_container .= '<a title="Précédent" href="javascript:window.history.back()"><-Précédent</a>'; } $step_container .= ' | '; if ($step < $nbr_step_tot) { $step_container .= '<a title="Suivant" href="JavaScript:document.server_info.submit()">Suivant-></a>'; } if ($step == $nbr_step_tot) { $step_container .= '<a title="Suivant" href="JavaScript:document.server_info.submit()">TERMINER - ></a>'; } $step_container .= '</label>'; $template->assign('title', "Installation de E-Shop"); $template->assign('body_option', $body_option); $template->assign('step_header', $step_header); $template->assign('step_footer', $step_footer); $template->assign('step_container', $step_container); $template->assign('step', $step); $template->assign('sending', $_SERVER["PHP_SELF"]); $template->display('./templates/install/install.tpl');
/* do all the includes for the libs */ // include of the configuration include( "./includes/config.inc.php" ); // include for the ksession library include("./lib/session/session.php"); // include for the adodb library include("./lib/adodb/adodb.inc.php"); /* init the template */ $template = new Smarty_eshop; /* do the global assignement */ $template->assign('title', $title); $template->assign('keywords', $keywords); $template->assign('description', $description); /* creating the database connexion */ $connexion = &ADONewConnection($db_type); $connexion->debug = false; $connexion->Connect($db_host, $db_login, $db_pass, $db_name); /* default visitor is not loged */ $is_not_logged = true; /* init session */ $session = &new SESSION; // creating a new session if needed