<h4 class="post_title text-center">
                                                <a title="View Courses" href="<?php 
    echo SITE_URL . 'courses/category/' . $categoryObj->id . '/' . StringManipulator::slugify($categoryObj->name) . '/';
    ?>
"><?php 
    echo $categoryObj->name;
    ?>
</a>
                                            </h4>
                                            <div class="post_info">
                                                <span class="post_info_item post_info_posted">No of Courses: 
                                                    <a title="View Courses" href="<?php 
    echo SITE_URL . 'courses/category/' . $categoryObj->id . '/' . StringManipulator::slugify($categoryObj->name) . '/';
    ?>
" class="post_info_date"><?php 
    echo number_format(Course::getSingleCategoryCount($dbObj, $categoryObj->id));
    ?>
</a>
                                                </span>
                                            </div>
                                            <div class="post_descr">
                                                <p class="text-justify"><?php 
    echo StringManipulator::trimStringToFullWord(160, strip_tags($categoryObj->description));
    ?>
</p>
                                                <a title="View Courses" href="<?php 
    echo SITE_URL . 'courses/category/' . $categoryObj->id . '/' . StringManipulator::slugify($categoryObj->name) . '/';
    ?>
" class="sc_button sc_button_square sc_button_style_filled sc_button_bg_link sc_button_size_small">VIEW COURSES</a>					
                                            </div>
                                        </div>				<!-- /.post_content -->
예제 #2
0
    ?>
" style="width: 32.3333%;<?php 
    echo $addStyle;
    ?>
">
                                                            <div class="sc_price_block sc_price_block_style_<?php 
    echo $num;
    ?>
" style="width:100%;">
                                                                <div class="sc_price_block_title"><?php 
    echo $categoryObj->name;
    ?>
</div>
                                                                <div class="sc_price_block_money">
                                                                    <div class="sc_price"><span class="sc_price_money"><?php 
    echo Course::getSingleCategoryCount($dbObj, $categoryObj->id);
    ?>
</span></div> COURSE(S)
                                                                </div><div class="sc_price_block_description"><?php 
    echo StringManipulator::trimStringToFullWord(160, strip_tags($categoryObj->description));
    ?>
..</div><div class="sc_price_block_link"><a href="<?php 
    echo SITE_URL . 'courses/category/' . $categoryObj->id . '/' . StringManipulator::slugify($categoryObj->name) . '/';
    ?>
" class="sc_button sc_button_square sc_button_style_filled sc_button_bg_link sc_button_size_small">VIEW COURSES</a></div></div></div>
                                                        <?php 
    $num++;
}
?>
                                                    </div>
                                                </div>
예제 #3
0
                                                                                    <a href="courses/" title="<?php 
    echo $category['name'];
    ?>
">
                                                                                        <img src="<?php 
    echo MEDIA_FILES_PATH1 . 'category/' . $category['image'];
    ?>
" width="500" height="500" title="<?php 
    echo $category['name'];
    ?>
" alt="<?php 
    echo $category['name'];
    ?>
">
                                                                                        <span class="thumbnail-overlay"><?php 
    echo Course::getSingleCategoryCount($dbObj, $category['id']);
    ?>
 Course(s) in <?php 
    echo $category['name'];
    ?>
</span>
                                                                                    </a>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-6 col-sm-12">
                                                                                <div class="content-pad">
                                                                                    <div class="item-content">
                                                                                        <h3 class="item-title"><a href="<?php 
    echo SITE_URL;
    ?>
예제 #4
0
echo SITE_URL;
?>
courses/" class="btn btn-primary text-default">View Courses!!!</a></div>
                                        </div>
                                    </div>
                                    <div class="col-md-8 col-sm-7">
                                        <div class="content-pad single-event-detail">
                                            <div class="event-detail">
                                                <div class="event-speaker"></div><!--/event-speaker-->
                                                <div class="event-info row content-pad">
                                                    <div class="col-md-6 col-sm-6">
                                                        <a href="<?php 
echo SITE_URL;
?>
courses/" > <i class="fa fa-book"></i> Courses Available: <?php 
echo strtoupper(Number::convertToWords(Course::getSingleCategoryCount($dbObj, $categoryObj->id)));
?>
</a>
                                                        
                                                    </div>
                                                </div><!--/event-info-->
                                            </div><!--/event-detail-->
                                            <div class="event-content">
                                                <div class="content-dropcap">
                                                    <h3>Category Details</h3>
                                                    <?php 
echo $categoryObj->description;
?>
                                                </div>
                                               
                                                <div class="event-more-detail">