<?php
if (Wo_IsLogged() === false) {
    header("Location: " . Wo_SeoLink('index.php?tab1=welcome'));
    exit();
}
if (Wo_IsUserComplete($wo['user']['user_id']) === false) {
	header("Location: " . Wo_SeoLink('index.php?tab1=home'));
    exit();
}
if ($wo['user']['startup_image'] == 0) {
	$page = 'avatar_startup';
} else if ($wo['user']['start_up_info'] == 0) {
	$page = 'info_startup';
} else if ($wo['user']['startup_follow'] == 0) {
	if ($wo['config']['connectivitySystem'] == 1) {
		Wo_UpdateUserData($wo['user']['user_id'], array('start_up' => 1, 'startup_follow' => 1));
		header("Location: " . Wo_SeoLink('index.php?tab1=home'));
        exit();
	}
	$page = 'follow_startup';
} else {
	header("Location: " . Wo_SeoLink('index.php?tab1=home'));
    exit();
}
$wo['description'] = $wo['config']['siteDesc'];
$wo['keywords']    = $wo['config']['siteKeywords'];
$wo['page']        = 'start_up';
$wo['title']       = 'Let\'s Start ! | ' . $wo['config']['siteTitle'];
$wo['content']     = Wo_LoadPage('start_up/' . $page);