use Nerds\Base\Util\Helpers\SiteHelper;
$order_fields = $this->addition_fields_list();
$user_stages = User::getPaidStages();
$products = array_keys(SiteHelper::product_stage_relation());
$is_user_has_deposit = User::getMeta($user_id, $user_fields['deposit']);
$is_user_has_proposals = User::getMeta($user_id, $user_fields['proposals']);
$course_id = isset($_GET['course-id']) && !empty($_GET['course-id']) ? $_GET['course-id'] : User::getCourseID($user_id);
$course = $db->getEntry($course_id);
$stage1 = new Event();
#var_dump($stage1->getConfirmedByCountry(876));
#var_dump(User::getBoughtStage('stage-name-PRE', 876));
#var_dump(User::getRegistrationForm(106)[11]);
?>

<?php 
if (!User::is_filled_registration()) {
    ?>
	<h2>Please fill the <a href="<?php 
    echo site_url();
    ?>
/account/adventures-registration-form/">Registration Form</a></h2>
<?php 
} elseif (empty($is_user_has_deposit)) {
    ?>
	<div class="bsalted-payments">
		<h3 class="noPay">To begin just put money on your deposit:</h3>
		<form action="." id="bsalted-payments">
			<div class="form-row clearfix">
				<input name="bsalted-stages" id="deposit_offer" class="stage" type="radio" checked>
				<label for="deposit_offer">
					Deposit