2 /*------begin------ This protection code was suggested by Luki R. luki@karet.org ---- */
3 if (eregi("inc_rightcolumn_menu.php",$PHP_SELF))
4 die('<meta http-equiv="refresh" content="0; url=../">');
7 /* Get the main info data */
8 $config_type='main_info_%';
9 require($root_path.'include/inc_get_global_config.php');
12 $main_info_address=nl2br($main_info_address);
14 /* Prepare the url links variables */
15 $url_open="open-time.php".URL_APPEND
;
16 $url_mgmt="newscolumns.php".URL_APPEND
."&dept_nr=28&user_origin=dept";
17 $url_dept="".$root_path.'modules/news/'."departments.php".URL_APPEND
;
18 $url_cafe="".$root_path.'modules/cafeteria/'."cafenews.php".URL_APPEND
;
19 $url_adm="newscolumns.php".URL_APPEND
."&dept_nr=33&user_origin=dept";
20 $url_exh="newscolumns.php".URL_APPEND
."&dept_nr=29&user_origin=dept";
21 $url_edu="newscolumns.php".URL_APPEND
."&dept_nr=30&user_origin=dept";
22 $url_stud="newscolumns.php".URL_APPEND
."&dept_nr=31&user_origin=dept";
23 $url_phys="newscolumns.php".URL_APPEND
."&dept_nr=10&user_origin=dept";
24 $url_tips="newscolumns.php".URL_APPEND
."&dept_nr=32&user_origin=dept";
25 $url_calendar=$root_path."modules/calendar/calendar.php".URL_APPEND
."&retpath=home";
26 $url_jshelp="javascript:gethelp()";
27 $url_news="editor-pass.php".URL_APPEND
;
28 $url_jscredits="javascript:openCreditsWindow()";
30 $TP_com_img_path=$root_path.'gui/img/common';
33 $tp=&$TP_obj->load('tp_rightcolumn_menu.htm');