/**
* This file is part of the »opcodeCMS« PHP-Framework (Version 1.0)
* Copyright by Dominik Jain (core framework) and Anil K. Jain (modules)
* This code may not be changed, copied or distributed without prior permission.
* Please, visit http://www.opcodecms.de for contact information, licensing and support. Encoding check: ÄÖÜ!
*/
$modules_root = file_exists("open.inc.php") ? "modules" : "..";
$root = "$modules_root/..";
include_once "$modules_root/module.inc.php";
include_once "TestimonialsModule.object.inc.php";
include_once "$root/core/config.inc.php";
$frontend_lang = "en";
?>
- Testimonials
if(!$config_checkframeset)
include "$root/header.inc.php";
?>
if($config_checkframeset)
echo '';
else {
echo '';
$frontend_lang = "en";
include "$root/pre_content.inc.php";
}
?>
Testimonials
$rescategories = mysql_query("select * from testimonial_categories where id in (select category_id from testimonials) order by IF(testimonial_categories.sort_order IS NULL,1,0), testimonial_categories.sort_order, testimonial_categories.category_eng");
if(mysql_num_rows($rescategories) > 1 && $TestimonialsModule->useCategories) {
echo '
';
}
$resitems = mysql_query("select testimonials.*,testimonial_categories.category_eng,testimonial_categories.sort_order from testimonials left join testimonial_categories on testimonials.category_id=testimonial_categories.id order by IF(testimonial_categories.sort_order IS NULL,1,0), testimonial_categories.sort_order, testimonial_categories.category_eng, IF(testimonials.sort_order IS NULL,1,0), testimonials.sort_order, IF(testimonials.statement_date IS NULL,1,0), testimonials.statement_date desc, testimonials.person_name");
$TestimonialsModule->testimonials_listing($resitems, 2, false, false, 1);
if(!$config_checkframeset) {
$frontent_lang = "en";
include "$root/post_content.inc.php";
}
?>