%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<div class="main-wapper-inner"> <div class="top-menus top-menus-2"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h3><i class="fa fa-question-circle fa-x"></i> <?php echo $title;?></h3> <?php $logged_in=$this->session->userdata('logged_in'); $assignedModule = assignModuleList($logged_in['role_id']); if($this->session->userdata['logged_in']['su']>=1 || array_key_exists('qbank',$assignedModule)){ ?> <a href="<?php echo site_url('qbank/pre_new_question');?>" class="btn btn-default button3">Add New Question</a> <a href="<?php echo site_url('qbank/rcparagraphs');?>" class="btn btn-default button33">Manage RC Question</a> <?php } ?> </div><!-- /input-group --> </div> </div><!-- /.col-lg-6 --> </div><!-- /.row --> <div class="home-inners"> <div class=" container-fluid"> <div class="row"> <div class="col-md-12"> <?php if($this->session->flashdata('message')){ echo $this->session->flashdata('message'); } ?> <div class="form-search"> <div class="row"> <div class="col-sm-8"> <form method="post" action="<?php echo site_url('qbank/pre_question_list/'.$limit.'/'.$cid.'/'.$lid.'/'.$level);?>"> <select name="cid" id="cid" class="form-control" onchange="javascript:level_list();"> <option value="0"><?php echo $this->lang->line('all_category');?></option> <?php foreach($category_list as $key => $val){ ?> <option value="<?php echo $val['cid'];?>" <?php if($val['cid']==$cid){ echo 'selected';} ?> ><?php echo $val['category_name'];?></option> <?php } ?> </select> <select name="lid" id="lid" class="form-control"> <option value="0"><?php echo $this->lang->line('all_level');?></option> <?php foreach($level_list as $key => $val){ ?> <option value="<?php echo $val['lid'];?>" <?php if($val['lid']==$lid){ echo 'selected';} ?> ><?php echo $val['level_name'];?></option> <?php } ?> </select> <select class="form-control" name="level"> <option value="" >All</option> <option value="Easy" <?php if($level=='Easy'){ echo 'selected'; } ?> >Easy</option> <option value="Medium" <?php if($level=='Medium'){ echo 'selected'; } ?> >Medium</option> <option value="Complex" <?php if($level=='Complex'){ echo 'selected'; } ?> >Complex</option> </select> <button class="btn btn-default button2" type="submit"><?php echo $this->lang->line('filter');?></button> </form> </div> <div class="col-sm-4"> <form method="post" class="form-search-right" action="<?php echo site_url('qbank/index/');?>"> <input type="text" class="form-control" value="<?=$_POST['search']?>" name="search" placeholder="<?php echo $this->lang->line('search');?>..."> <button class="btn btn-default button2" type="submit"><?php echo $this->lang->line('search');?></button> </form> <form method="post" class="form-search-right" action="<?php echo site_url('qbank/generate_report/'.$limit.'/'.$cid.'/'.$lid.'/'.$level);?>"> <button class="btn btn-info button2" type="submit">Download</button> </form> </div><!-- /.col-lg-6 --> </div> </div> <div class="table-responsice"> <table class="table table-bordered"> <tr> <th style="width:50px;">#</th> <th><?php echo $this->lang->line('question');?></th> <th><?php echo $this->lang->line('question_type');?> / Level</th> <th><?php echo $this->lang->line('category_name');?> / <?php echo $this->lang->line('level_name');?></th> <th><?php echo $this->lang->line('percent_corrected');?></th> <th>Modified Date</th> <th style="width:90px;"><?php echo $this->lang->line('action');?> </th> </tr> <?php if(count($result)==0){ ?> <tr> <td colspan="7"><?php echo $this->lang->line('no_record_found');?></td> </tr> <?php } $k=0; foreach($result as $key => $val){ $k++; ?> <tr> <td> <a href="javascript:show_question_stat('<?php echo $val['qid'];?>');">+</a> <?php echo $val['qid'];?></td> <td> <?php echo substr(strip_tags($val['question']),0,40);?> <span style="display:none;" id="stat-<?php echo $val['qid'];?>"> <table class="table table-bordered"> <tr><td><?php echo $this->lang->line('no_times_corrected');?></td><td><?php echo $val['no_time_corrected'];?></td></tr> <tr><td><?php echo $this->lang->line('no_times_incorrected');?></td><td><?php echo $val['no_time_incorrected'];?></td></tr> <tr><td><?php echo $this->lang->line('no_times_unattempted');?></td><td><?php echo $val['no_time_unattempted'];?></td></tr> </table> <?php if($val['rc_qid']>0){ ?> <div><?=substr(getRCAnswer($val['rc_qid']),0,400)?>... <a href="<?=base_url('qbank/edit_rcquestion_6/'.$val['rc_qid'])?>">Read More</a></div> <?php } ?> </span> </td> <td><?php echo $val['question_type'];?> / <?php echo $val['level']=='Medium' ? '<span style="color:orange;">Medium</span>' : ($val['level']=='Complex' ? '<span style="color:red;">Complex</span>' : '<span style="color:green;">Easy</span>') ;?> </td> <td><?php echo $val['category_name'];?> / <span style="font-size:12px;"><?php echo $val['level_name'];?></span> <?php if($this->session->userdata['logged_in']['su']>1) { ?> / Author - <strong><?php echo getUserDetails($val['admin_id']);?></strong> <?php } ?></td> <td><?php if($val['no_time_served']!='0'){ $perc=($val['no_time_corrected']/$val['no_time_served'])*100; $class = ''; if($perc<30){ $class = ' qbg-danger'; } else if($perc<=60 && $perc>=30){ $class = ' qbg-warning'; } else if($perc>60){ $class = ' qbg-success'; } ?> <div class="progress"> <div class="progress-bar <?=$class?>" role="progressbar" style="width: <?php echo intval($perc);?>%" aria-valuenow="<?php echo intval($perc);?>" aria-valuemin="0" aria-valuemax="100"><span style="font-size:10px;"><?php echo intval($perc);?>%</span></div> </div> <?php } else { echo $this->lang->line('not_used');} ?></td> <td><?=$val['modifiedon'] ?></td> <td> <?php $qn=1; if($val['question_type']==$this->lang->line('multiple_choice_single_answer')){ $qn=1; } if($val['question_type']==$this->lang->line('multiple_choice_multiple_answer')){ $qn=2; } if($val['question_type']==$this->lang->line('match_the_column')){ $qn=3; } if($val['question_type']==$this->lang->line('short_answer')){ $qn=4; } if($val['question_type']==$this->lang->line('long_answer')){ $qn=5; } if($val['question_type']==$this->lang->line('rc_answer')){ $qn=6; } ?> <a class="butts-all" href="<?php echo site_url('qbank/view_question/'.$val['qid']);?>" title="View Question"><span class="glyphicon glyphicon-eye-open"></span></a> <a href="<?php echo site_url('qbank/edit_question_'.$qn.'/'.$val['qid']);?>"><img src="<?php echo base_url('images/edit.png');?>"></a> <a href="javascript:remove_entry('qbank/remove_question/<?php echo $val['qid'];?>');"><img src="<?php echo base_url('images/cross.png');?>"></a> </td> </tr> <?php } ?> </table> </div> </div> </div> <?php if($limit>0) { if(($limit-($this->config->item('number_of_rows')))>=0){ $back=$limit-($this->config->item('number_of_rows')); }else{ $back='0'; } ?> <a href="<?php echo site_url('qbank/index/'.$back.'/'.$cid.'/'.$lid);?>" class="btn btn-primary button3"><?php echo $this->lang->line('back');?></a> <?php } ?> <?php if(count($result)>=200) { $next=$limit+($this->config->item('number_of_rows')); ?> <a href="<?php echo site_url('qbank/index/'.$next.'/'.$cid.'/'.$lid);?>" class="btn btn-primary button3"><?php echo $this->lang->line('next');?></a> <?php } ?> </div> </div> </div> </div> <div class="main-wapper-inner main-wapper-inner1"> <div class="top-menus"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h3><?php echo $this->lang->line('import_question');?></h3> </div><!-- /input-group --> </div> </div><!-- /.col-lg-6 --> </div><!-- /.row --> <div class="home-inners"> <div class="container-fluid"> <div class="panel-forms"> <div class="row"> <div class="col-md-12"> <p class="after-button"><a href="<?php echo base_url();?>sample/question_samples.xls" target="new">Click here</a> <?php echo $this->lang->line('upload_excel_info');?> </p> </div> <div class="col-md-12"> <?php echo form_open('qbank/import',array('enctype'=>'multipart/form-data')); ?> <select name="cid" id="cdid" class="form-control" onchange="javascript:level_list_ques();" required> <option value="0"><?php echo $this->lang->line('select_category');?></option> <?php foreach($category_list as $key => $val){ ?> <option value="<?php echo $val['cid'];?>" ><?php echo $val['category_name'];?></option> <?php } ?> </select> <select name="did" id="did" class="form-control" required> <option value="0"><?php echo $this->lang->line('select_level');?></option> <?php foreach($level_list as $key => $val){ ?> <option value="<?php echo $val['lid'];?>" <?php if($val['lid']==$lid){ echo 'selected';} ?> ><?php echo $val['level_name'];?></option> <?php } ?> </select> <input type="hidden" name="size" value="3500000"> <input type="file" name="xlsfile" class="form-control" style="width:150px;float:left;margin-left:10px;" required> <p style="margin:10px 10px 0 10px; float:left;"><?php echo $this->lang->line('upload_excel');?></p> </div> <div class="col-md-12"> <input type="submit" value="Import" class="btn btn-default button3"> </div> </form> </div> </div> </div> </div> </div>