<?php
/**
* module - column_right.php
* output all the right sidebox
* require(DIR_WS_MODULES . zen_get_module_directory('column_right.php'));
*/
?>
<?php
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
$column_left_display= $db->Execute("select layout_box_name from " . TABLE_LAYOUT_BOXES . " where layout_box_location = 0 and layout_box_status= '1' and layout_template ='" . $template_dir . "'" . ' order by layout_box_sort_order');
while(! $column_left_display->EOF){
if(file_exists(DIR_WS_MODULES . 'sideboxes/' . $column_left_display->fields['layout_box_name']) or file_exists(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . $column_left_display->fields['layout_box_name'])){
if(file_exists(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . $column_left_display->fields['layout_box_name'])){
require (DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . $column_left_display->fields['layout_box_name']);
} else{
require (DIR_WS_MODULES . 'sideboxes/' . $column_left_display->fields['layout_box_name']);
}
}
$column_left_display->MoveNext();
}
?>