include("./templates/security.php");
include("include/global_constants.php");
include("db/db_initialize.php");
include("functions.php");
require_once('./baseinfo/wea.all.php');
$db = new Admin_DB;
$open_DB = new Admin_DB;
$category = 11;
?>
WEA Intranet
include("templates/top.tpl"); ?>
| include("templates/left_index.tpl"); ?> |
|
?>
|
Announcements :
|
$i=0;
$prefix = "an_";
$tablename = "int_announce";
$page_prefix = "announce_";
$query = "select * from {$tablename}
where {$prefix}branch = 'TO'
order by {$prefix}signdate DESC
limit 0,6 " ;
$open_DB -> query($query);
while($list = $open_DB -> fetch()){
?>
| =$i+1 ?> |
=$list[$prefix.'title'] ?> |
$i++;} ?>
|
|
|
|
$prefix = "ar_";
$tablename = "int_report";
$page_prefix= "report_";
?>
|
News/Reports : |
$i=0;
$query = "select * from {$tablename}
where {$prefix}category = 11
and {$prefix}branch = 'TO'
and {$prefix}activity = 'Y'
order by {$prefix}signdate DESC
limit 0,6 " ;
$open_DB -> query($query);
$i=0;
while($list = $open_DB -> fetch()){
?>
| =$i+1 ?> |
=$list[$prefix.'title'] ?> |
$i++;} ?>
|
|
?>
|
|
include("templates/calendar.htm"); ?>
| include("templates/admin.htm"); ?> |
|
|
|
|
include("templates/footer.tpl"); ?> |
|