C:\xampp\htdocs\kptv\admin\modules\today\table_today.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
require_once($LIBPATH "libutil.php");
assert_rights("C");
require_once (
$LIBPATH  "tableContent.php");
$table_today_feeder = array("TODAY_FEEDER""DbFeeder", array("TBL_TODAY"nullnullnull"AND"falsefalse" ORDER BY MonthRO, DayRO"));
$table_today = array(array("Titlu""Anul""Luna""Ziua"), array("NameRO""YearRO""MonthRO""DayRO"),  array(300,  7512075),
    
"sortable"// table class
    
"stSortableHeader"// title class
    
"stNRow"// normal first row
    
"stFRow"// normal next row
    
"stTableRowOver",  // row over class
    
"mod.php?mod=today&action=act_delete"// deletion link
    
"index.php?cnt_=today/todayDetails"// details link
    
"ID",// pass to detail
    
"index.php?cnt_=today/todayAdd""", array(1)); // add link


function table_today_dataparser(&$data){
global 
$months;
$count=count($data);
for (
$i=0;$i<$count;$i++){
$data[$i]->MonthRO  $months[$data[$i]->MonthRO];
}
}

?>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586