D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
realadss
/
www
/
partymaker.in
/
application
/
views
/
front
/
page_part
/
Filename :
faq.php
back
Copy
<?php $galler_arr = array(); $common_setting = $this->common_model->common_setting; if(isset($cms_data['faq']) && $cms_data['faq'] !='') { $our_services_cms_pages_arr = explode(',',$cms_data['faq']); $this->db->where_in('id',$our_services_cms_pages_arr); $faq_arr = $this->common_model->get_count_data_manual('faq_master',array('status'=>'Active'),2); } ?> <?php if(isset($faq_arr) && $this->common_model->is_array_count($faq_arr)) { ?> <br/><br/> <h2 class="section-heading text-upper text-center"><?php if(isset($common_setting['faq_title']) && $common_setting['faq_title'] !=''){ echo $common_setting['faq_title']; } ?></h2> <div class="accordion rs-accordion" id="accordionExample"> <?php foreach($faq_arr as $faq_arr_val) { $kk= $faq_arr_val['id']; ?> <div class="card"> <div class="card-header" id="headingOne_<?php echo $kk; ?>"> <h3 class="title"> <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseOne_<?php echo $kk; ?>" aria-expanded="false" aria-controls="collapseOne_<?php echo $kk; ?>"> <?php echo $faq_arr_val['question']; ?> </button> </h3> </div> <div id="collapseOne_<?php echo $kk; ?>" class="collapse" aria-labelledby="headingOne_<?php echo $kk; ?>" data-parent="#accordionExample" style=""> <div class="card-body" style="padding: 15px;"> <?php echo $faq_arr_val['answer']; ?> </div> </div> </div> <?php } ?> </div> <?php } ?>