Пример #1
0
}
?>
						</ul>
					</div>
				    <div class="faq-tabs-change right">
				    	<div id="marquee_prev_btn" class="btn btn-faq-tabs-prev faq-tabs-btn left">
				    		<i class="fa fa-caret-down"></i>
				    	</div>
				    	<div id="marquee_next_btn" class="btn btn-faq-tabs-next faq-tabs-btn left">
				    		<i class="fa fa-caret-up"></i>
				    	</div>
				    </div>
				</div>
				<div class="row2 tab_container">
					<?php 
$faq = new JTFAQ();
foreach ($rsGroup as $i => $dg) {
    $rs = $faq->all($dg->id);
    ?>
								<div id="tab<?php 
    echo $i;
    ?>
" class="tab_content">
								   <section class="mod mod-tab_cnt">
										<ul class="faq-list cf">
											<?php 
    foreach ($rs as $i => $d) {
        ?>
														<li class="faq-item">
															<h3 class="faq-item-q">
																<span class="col">Q <?php 
Пример #2
0
<?
	require_once('./local.inc');
	$smarty = new JSmartyTemplate($templateName);
	$news = new JTNews();
	$smarty->assign('news_count', $news->count());
	$team = new JTTeam();
	$smarty->assign('team_count', $team->count());
	$advisory = new JTAdvisory();
	$smarty->assign('advisory_count', $advisory->count());
	$report = new JTReport();
	$smarty->assign('report_count', $report->count());
	$document = new JTDocument();
	$smarty->assign('document_count', $document->count());
	$saleschannel = new JTSaleschannel();
	$smarty->assign('saleschannel_count', $saleschannel->count());
	$faq = new JTFAQ();
	$smarty->assign('faq_count', $faq->count());
	$user = new JTUser();
	$smarty->assign('user_count', $user->count());
	$smarty->display(dirname(__FILE__).'/index.tpl.htm');
?>