Files
Testing/templates/faq.tpl
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

449 lines
13 KiB
Smarty

{literal}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Remote file for Bootstrap Modal</title>
<style>
body {
top: 0px !important;
}
body > .skiptranslate {
display: none;
}
.goog-te-banner-frame {
display: none !important;
/* top: initial !important; */
/* bottom: 0 !important; */
}
.goog-te-gadget {
display: none !important;
}
.filter-panel .panel {
/*opacity: 1 !important;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)" !important;
display: block !important;*/
}
.panel-default > .panel-heading {
background-color: #3b0f0f !important;
font-family: 'exo_2.0medium' !important;
}
.panel-title > a {
color: #fff !important;
font-family: 'exo_2.0medium' !important;
}
.accordion .panel-heading a.collapsed i.fa:before {
content: "\f196" !important;
color: #fff !important;
}
.accordion .panel-heading a i.fa:before {
content: "\f147" !important;
color: #fff !important;
}
.panel-group .panel-heading + .panel-collapse .panel-body {
border-top:none;
border-bottom: 1px solid #fea611 !important;
background: #3b0f0f !important;
color: white !important;
font-family: 'exo_2.0medium' !important;
}
.accordion .panel-heading:not(.collapsed) {
border-bottom: none !important;
}
a:link {
color: #ff9900;
text-decoration: none;
font-weight: bold;
}
.mabot {
margin-bottom: 10px !important;
}
.breadcrumb > .active {
color: #FFFFFF !important;
}
.generic-title p, .breadcrumb{
font-family: 'exo_2.0medium';
}
.panel, h4, .h4, h5, .h5, h6, .h6{ font-family: 'Roboto', sans-serif;
}
.breadcrumb {
font-family: 'exo_2.0medium';
color: #ff9900;
}
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : portrait) {
#iphon5-pRight {
padding-left: 0 !important;
}
#iphon5-pLeft {
padding-right: 0 !important;
}
}
#lan-desk::-webkit-scrollbar {
width: 9px;
height: 9px;
}
#lan-desk::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: #ff9900;
color: #fff;
}
#lan-desk::-webkit-scrollbar-track {
background: #7C200F;
border-radius: 4px;
border: 1px solid #ff9900;
}
.generic-title p {
font-family: 'exo_2.0medium';
}
.generic-title::-webkit-scrollbar {
width: 9px;
height: 9px;
}
.generic-title::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: #ff9900;
color: #fff;
}
.generic-title::-webkit-scrollbar-track {
background: rgba(124, 32, 15, 0.49);
border-radius: 4px;
border: 1px solid rgba(255, 153, 0, 0.06);
}
.orangebg {
background: #fea611 !important;
}
/* iPad 2 (portrait) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
.modal {
overflow-y: auto !important;
}
}
/* iPad 3 (portrait) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
}
}
/* iPhone 4 (landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* iPhone 4 (portrait) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
}
}
/* iPhone 5 (landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* iPhone 5 (portrait) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* iPhone 6 (landscape) ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* iPhone 6 (portrait) ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* iPhone 6+ (landscape) ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* iPhone 6+ (portrait) ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* Samsung Galaxy S3 (landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* Samsung Galaxy S3 (portrait) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* Samsung Galaxy S4 (landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* Samsung Galaxy S4 (portrait) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* Samsung Galaxy S5 (landscape) ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
/* Samsung Galaxy S5 (portrait) ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* Smartphones (portrait) -- -- -- -- -- - */
@media only screen
and (max-width : 320px) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
}
}
/* Smartphones (landscape) ----------- */
@media only screen
and (min-device-width : 321px)
and (max-device-width : 480px) {
.modal {
overflow-y: auto !important;
z-index: 51000 !important;
padding-top: 4px;
margin-top: -157px !important;
}
}
</style>
</head>
<body>
{/literal}
{* JAVASCRIPT FOR CHANGING FRIEND MENU OPTION *}
{literal}
<script type="text/javascript">
<!--
function faq_show(id) {
if($(id).style.display == 'block') {
$(id).style.display = 'none';
} else {
$(id).style.display = 'block';
$('ajaxframe').src = 'help.php?task=view&faq_id='+id;
}
}
//-->
</script>
{/literal}
<div class="modal-header" style="border:none;">
<button type="button" class="close main-bg-color alt-text-color orangebg" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></button>
<h4 class="modal-title" id="myModalLabel"><span style="color:#fea611;text-transform:uppercase;font-family:'exo_2.0medium';">Frequently Asked Questions</span></h4>
</div>
<div class="modal-body" style="margin-top:0;">
<div class="generic-title" style="overflow-y:auto;height:210px;color:white;text-align:justify;padding-right:10px;">
<ol class="breadcrumb accordion-filter" id="accordion-4-filters">
<li class="active filter" data-filter="all">All</li>
{section name=faqcat_loop loop=$faqcats}
{if $faqcats[faqcat_loop].faqs|@count != 0}
{php}
ob_start();
{/php}
{lang_print id=$faqcats[faqcat_loop].faqcat_title}
{php}
$datafilter = ob_get_clean();
$datafilter = str_replace(" ","",$datafilter);
{/php}
<li class="filter" data-filter="{php}echo $datafilter;{/php}">{lang_print id=$faqcats[faqcat_loop].faqcat_title}</li>
{/if}
{/section}
<!-- <li class="filter" data-filter="account">Account</li>
<li class="filter" data-filter="contact">Contact</li>
<li class="filter" data-filter="privacy">Privacy</li>
<li class="filter" data-filter="membership">Membership</li>
<li class="filter" data-filter="rules">Rules</li> -->
</ol>
<div class="panel-group accordion filter-panel" id="accordion-4">
{php}
$i = 0;
{/php}
{section name=faqcat_loop loop=$faqcats}
{if $faqcats[faqcat_loop].faqs|@count != 0}
{php}
ob_start();
{/php}
{lang_print id=$faqcats[faqcat_loop].faqcat_title}
{php}
$datafilter = ob_get_clean();
$datafilter = str_replace(" ","",$datafilter);
{/php}
{section name=faq_loop loop=$faqcats[faqcat_loop].faqs}
{php}
$i++;
{/php}
<div class="panel panel-default {php}echo $datafilter;{/php}" style="color: white;">
<div class="panel-heading alt-bg-color" style="color: white;">
<h6 class="panel-title" style="color: white;">
<a data-toggle="collapse" class="collapsed" data-parent="#accordion-4" href="#acc-4-{php}echo $i;{/php}">
<i class="fa "></i>
{lang_print id=$faqcats[faqcat_loop].faqs[faq_loop].faq_subject}
</a>
</h6>
</div>
<div id="acc-4-{php}echo $i;{/php}" class="panel-collapse collapse" style="height: 0px;">
<div class="panel-body">
<p class="mabot">
{lang_print id=$faqcats[faqcat_loop].faqs[faq_loop].faq_content}
</div>
</div>
</div>
{/section}
{/if}
{/section}
{literal}
</div>
<div class="clearfix"></div>
</div>
<div class="modal-footer" style="border:none;">
<a class="button solid orange orangebg md" data-dismiss="modal" aria-hidden="true" style="border-radius:20px;">
<div class="over" style="font-family:'exo_2.0medium';letter-spacing:1px;">close</div>
</a>
</div>
<script type="text/javascript" src="js/jquery.isotope.min.js"></script>
<script type="text/javascript" src="js/jquery.mixitup.js"></script>
<script type="text/javascript" src="js/script-full.js"></script>
<!--[if gte IE 9]>
<script type="text/javascript" src="js/ie9.js"></script>
<![endif]-->
<script>
if (document.getElementsByClassName('mobile-header').length||document.getElementsByClassName('bg-mobile').length){
// Do something if class exists
} else {
document.body.style.backgroundColor = "black";
// Do something if class does not exist
}
</script>
</body>
</html>
{/literal}