MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/.trash/row.inc.html
<div class="questionarea" data-id="<%= sequenceid %>">
	<div>
	    <div class="questionarea__q d-flex mt-0 justify-content-between align-items-center	">
	       	<h6>QUESTION <%= sequenceid %>
	       		</h6>
	       	<span style="float: right;" class="d-flex mt-0">
	       		<label class="switch mb-0">
					  	<input class="qaquestionlink" data-id="<%= assessmentid %>" data-question_id="<%= question_id %>" data-resolved="<%= isresolved %>" type="checkbox" <% if(qa_approved=="true"){ %> checked <% } %>>
					  	<span class="slider round" <% if(qa_approved=="true"){ %> title="Approved" <% } %> <% if(qa_approved=="false"){ %> title="Unapproved" <% } %>></span>
					</label>
	       		<a href="javascript:;" class="mx-3 mt-2" data-id="<%= id %>" data-questiontype="<%= questiontype %>" id="editquestionlink"><i class="fa fa-pencil"></i></a>
					<a href="javascript:;" data-value="<%= title %>" data-id="<%= id %>" class="mt-2" id="deletequestionlink"><i class="fa fa-trash"></i></a>
				</span>
	      <p class="small mb-0" style="display: none;"> <%= title %>?</p>
	    </div>
	</div>
   <% if(mcqtitle || fillintitle || explanatory || csmcqstitle){ %>
   <div class="questionarea__a">
      <ul>
       	<% if(questiontype == 'Multiple Choice'){
			text ='';
			if(mcqtitle){
			    	mcqstitle = mcqtitle.split(',');
			    	for (i = 0; i < mcqstitle.length; i++) {
					  text = mcqstitle[i].split(';');
			    	<!-- console.log(text)	;  -->
			    	%>
			         <li>
			            <div class="form-check pl-0">
			               <input class="form-check-input" type="radio" <% if(text[1] == 'true'){ %> checked="checked" <% } %> >
			        			<label class="mb-0"> <%= text[0] %> </label>
			            </div>
			         </li>
			          <% }
			      }
			} %> 


			<% if(questiontype == 'Fill-In'){
			text ='';
			if(fillintitle){
			    	fillintitle = fillintitle.split(',');
			    	for (i = 0; i < fillintitle.length; i++) {
					  <!-- text = mcqtitle[i].split(';'); -->
			    	<!-- console.log(text)	;  -->
			    	%>
			         <li>
			            <div class="form-check">
			        			<label> <%= fillintitle[i] %> </label>
			            </div>
			         </li>
			         <% }
			      }
			} %> 

			<% if(type == 'Case Study Codes'){
			text ='';
				if(explanatory){
			    	cstitle = explanatory.split(',');
			    	for (i = 0; i < cstitle.length; i++) {
					  <!-- text = cstitle[i].split(';'); -->
			    	<!-- console.log(text)	;  -->
			    	%>
			         <li>
			            <div class="form-check">
		        				<label> <%= cstitle[i] %> </label>
			            </div>
			         </li>
			         <% }
			      }
			} %> 

			<% if(type == 'MCQs'){
			if(csmcqstitle){
			 	csmcqstitle = csmcqstitle.split(';');
			 	for (i = 0; i < csmcqstitle.length; i++) {
			 	%>
			      <li>
			         <div class="form-check">
			  				<label> <%= csmcqstitle[i] %> </label>
			         </div>
			      </li>
			      <% }
			   }
			} %> 
      </ul>
   </div>
   <hr class="my-2" style="border-color: #ddd;" /> 
	<div class="d-flex">
		<div>
			<h6 class="text-muted">Domain</h6>
			<% if(domainname != ""){ %>
				<span><%= domainname %> </span>
			<% } else {%>
				<span>-</span>
			<% } %>
		</div>
		<div>
			<h6 class="text-muted">Section</h6>
			<span> <%= section %> </span>
		</div>
		<div>
			<h6 class="text-muted">Point Value</h6>
			<span> <%= pointvalue %> </span>
		</div>
		<div>
			<h6 class="text-muted">Include in PET/Baseline</h6>
			<span> 
				<% if(includecheckbox == "true") {%>
					Yes
				<% } else { %>
					No
				<% } %>
			</span>
		</div>
		<div>
			<h6 class="text-muted">Comments Resolved</h6>
			<span> 
				<%= isresolved %>
			</span>
		</div>
	</div>
    <% } %>                                               
    
</div>