Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isset($_REQUEST['itemId'])) {
- global $trklib; require_once('lib/trackers/trackerlib.php');
- global $auto_query_args;
- $auto_query_args_local = array('trackerId', 'tr_initial',"tr_sort_mode$iTRACKERLIST",'tr_user', 'filterfield', 'filtervalue', 'exactvalue', 'itemId');
- $auto_query_args = empty($auto_query_args)? $auto_query_args_local: array_merge($auto_query_args, $auto_query_args_local);
- $smarty->assign('listTrackerId', $trackerId);
- $tracker_info = $trklib->get_tracker($trackerId);
- if ($t = $trklib->get_tracker_options($trackerId)) {
- $tracker_info = array_merge($tracker_info, $t);
- }
- $tracker_info = $trklib->get_tracker($trackerId);
- if ($t = $trklib->get_tracker_options($trackerId)) {
- $tracker_info = array_merge($tracker_info, $t);
- }
- if (!isset($showlastmodif)) {
- $showlastmodif = $tracker_info['showLastModif'];
- }
- //$smarty->assign_by_ref('showlastmodif', $showlastmodif);
- echo "<br/>trackerId: ";
- echo $trackerId;
- echo "<br/>tracker_info: ";
- echo $tracker_info;
- echo "<br/>showlastmodif: ";
- echo $showlastmodif;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement