Пример #1
0
require_once 'modules/Fenzu/Fenzu.php';
global $app_strings, $mod_strings, $list_max_entries_per_page;
$log = LoggerManager::getLogger('maillist_list');
global $currentModule, $image_path, $theme;
$focus = new Maillists();
$smarty = new CRMSmarty();
if ($_REQUEST['parenttab'] != '') {
    $category = $_REQUEST['parenttab'];
} else {
    $category = getParentTab();
}
$nowdatetime = date("Y-m-d H:i:s");
//<<<<cutomview>>>>>>>
$oFenzu = new Fenzu("Maillists");
$viewid = $_REQUEST['viewname'];
$customviewcombo_html = $oFenzu->getFenzuCombo($viewid);
//$viewnamedesc = $oFenzu->getCustomViewByCvid($viewid);
//<<<<<customview>>>>>
global $current_user;
$theme_path = "themes/" . $theme . "/";
$image_path = $theme_path . "images/";
$smarty->assign("CUSTOMVIEW_OPTION", $customviewcombo_html);
$smarty->assign("VIEWID", $viewid);
$smarty->assign("MOD", $mod_strings);
$smarty->assign("APP", $app_strings);
$smarty->assign("IMAGE_PATH", $image_path);
$smarty->assign("MODULE", $currentModule);
$smarty->assign("SINGLE_MOD", 'Qunfa');
$smarty->assign("BUTTONS", $other_text);
$smarty->assign("CATEGORY", $category);
$smarty->assign("CHANGE_OWNER", getUserslist());