Current path: home/webdevt/cryptoimpot.fr/module/Application/view/application/accueil/
?? Go up: /home/webdevt/cryptoimpot.fr/module/Application/view/application
<?php
$this->headScript()->appendFile('/dist/js/qcm.js');
//->appendFile('/dist/js/jquery.easing.js')
$this->form->get('q1')->setAttributes([
'class' => 'with-font',
]);
?>
<style>
@import url(//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css);
/*** basic styles ***/
body, footer {
position: relative;
}
ul.nav-pills {
top: 70px;
position: fixed;
}
div.col-8 div {
height: auto;
}
li {
overflow-wrap: break-word;
word-wrap: break-word;
white-space: normal !important;
}
input[type=radio].with-font,
input[type=checkbox].with-font {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
input[type=radio].with-font ~ label:before,
input[type=checkbox].with-font ~ label:before {
font-family: FontAwesome;
display: inline-block;
content: "\f1db";
letter-spacing: 10px;
font-size: 1.2em;
color: #535353;
width: 1.4em;
}
input[type=radio].with-font:checked ~ label:before,
input[type=checkbox].with-font:checked ~ label:before {
content: "\f00c";
font-size: 1.2em;
color: darkgreen;
letter-spacing: 5px;
}
input[type=checkbox].with-font ~ label:before {
content: "\f096";
}
input[type=checkbox].with-font:checked ~ label:before {
content: "\f046";
color: darkgreen;
}
input[type=radio].with-font:focus ~ label:before,
input[type=checkbox].with-font:focus ~ label:before,
input[type=radio].with-font:focus ~ label,
input[type=checkbox].with-font:focus ~ label
{
color: green;
}
/*custom font*/
</style>
<!-- MultiStep Form -->
<?php
?>
<div class="container">
<div class="row">
<?php /*
<nav class="col-3 d-none d-lg-block" id="myScrollspy">
<ul class="nav nav-pills flex-column" >
<?php $qn = 1 ?>
<div class="container">
<div class="row">
<?php foreach ($arrayQuestions as $question) : ?>
<li class="nav-item col-3">
<!--<a class="nav-link" href="#section<?= $qn ?>"><?= substr($question['q'],0,40) ?>...<?= substr($question['q'],-10,10) ?></a>-->
<a class="nav-link" href="#section<?= $qn ?>">Question <?= $qn ?>/<?= count($arrayQuestions) ?></a>
</li>
<?php $qn++ ?>
<?php endforeach ?>
</div>
</div>
<!-- <li class="nav-item">
<a class="nav-link active" href="#section2">Section 1</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#section3">Section 1</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#section4">Section 1</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#section5">Section 1</a>
</li>-->
</ul>
</nav> */ ?>
<div class="col-sm-12 col-md-9">
<?php $qn = 1 ?>
<p style="margin-top:35px; font-size:20px"><i>Ce questionnaire concerne l'achat de crypto-monnaies et leur vente. Il ne concerne pas les autres types de pratiques sur les crypto-monnaies, notamment pas le minage de crypto-monnaies, qui relève en principe des bénéfices non commerciaux.</i></p>
<p style="margin-top:35px; font-size:20px">Important : ce questionnaire permet de décrire dans les grandes lignes, au travers de certaines questions, un profil (non précis) au regard des crypto-monnaies. Il ne permet bien entendu pas la description de votre profil personnel, toujours très spécifique.</p>
<p style="margin-top:35px; font-size:20px">Pour une étude de votre cas spécifique, consultez un avocat. Les critères d'exercice habituel ou occasionnel de l'activité résultent en effet de l'examen, au cas par cas, des circonstances de fait dans lesquelles les opérations d'achat et de revente sont réalisées.</p>
<form id="form-activite" method="post">
<?php foreach ($arrayQuestions as $question) : ?>
<div id="section<?= $qn ?>" >
<?php //if($qn ==1) : ?>
<div style="height:80px"> </div>
<?php //endif ?>
<h4 id="" style="margin-bottom:25px;"><b>Question <?= $qn ?>/<?= count($arrayQuestions) ?> : </b><?= $question['q'] ?></h4>
<?php $rn = 1 ?>
<?php foreach ($question['r'] as $reponse) : ?>
<p>
<input id="q<?= $qn ?>r<?= $rn ?>" type="radio" name="q<?= $qn ?>" class="with-font" value="<?= $rn ?>"><label class="qcm-choix" for="q<?= $qn ?>r<?= $rn ?>"><?= $reponse ?></label>
</p>
<?php $rn++ ?>
<?php endforeach ?>
</div>
<?php $qn++ ?>
<?php endforeach ?>
<div class="text-center">
<!-- <input type="text" name="email" id="email" class="form-control" placeholder="Email facultatif" required="required" value="">-->
<!-- <br>-->
<button id="submit" type="submit" class="btn-lg btn-primary">Valider</button></div>
</form>
<div id="resultat-questions-activite"></div>
</div>
</div>
</div>