get_total();
if ($total <= 0) {
echo App::ui_widget('info', "Nie znaleziono żadnych rekordów pasujacych do kryteriów wyszukiwania");
}
else {
$list = $qProces->get_list();
$nav = new PageNav($total, $qProces->get_param('offset'), $qProces->get_param('limit'));
$nav->set_request_args(array('task'=>'CRM_SEARCH', 'q'=>$q, '_active_tab'=>($tab_nr - 1)));
$nav->set_request_method_post();
$nav->set_request_arg_page_nr_name('f-_offset');
echo $nav->render('links_only');
?>
| ID |
DESC |
OPIS |
hit_counter |
DESC);
$desc = str_replace($q, ''.$q.'', $desc);
$desc = str_replace(strtoupper($q), ''.strtoupper($q).'', $desc);
$opis = strip_tags($r->OPIS);
if (strlen($opis) > 255) {
$opis = substr($opis, 0, 255) . ' ...';
}
$opis = str_replace($q, ''.$q.'', $opis);
$opis = str_replace(strtoupper($q), ''.strtoupper($q).'', $opis);
echo '';
echo '| ' . App::link($r->ID, array('task'=>'CRM_PROCES', 'filtr_id'=>$r->ID), array('class'=>'external', 'target'=>'_blank')) . ' | ';
echo '' . $desc . ' | ';
echo '' . $opis . ' | ';
echo '' . $r->hit_counter . ' | ';
echo '
';
}
?>
render();
}
?>
get_total();
if ($total <= 0) {
echo App::ui_widget('info', "Nie znaleziono żadnych rekordów pasujacych do kryteriów wyszukiwania");
}
else {
$list = $qZasob->get_list();
$nav = new PageNav($total, $qZasob->get_param('offset'), $qZasob->get_param('limit'));
$nav->set_request_args(array('task'=>'CRM_SEARCH', 'q'=>$q, '_active_tab'=>($tab_nr - 1)));
$nav->set_request_method_post();
$nav->set_request_arg_page_nr_name('f-_offset');
echo $nav->render('links_only');
?>
| ID |
DESC |
OPIS |
hit_counter |
DESC);
$desc = str_replace($q, ''.$q.'', $desc);
$desc = str_replace(strtoupper($q), ''.strtoupper($q).'', $desc);
$opis = strip_tags($r->OPIS);
if (strlen($opis) > 255) {
$opis = substr($opis, 0, 255) . ' ...';
}
$opis = str_replace($q, ''.$q.'', $opis);
$opis = str_replace(strtoupper($q), ''.strtoupper($q).'', $opis);
echo '';
echo '| ' . App::link($r->ID, array('task'=>'CRM_LISTA_ZASOBOW', 'filtr_id'=>$r->ID), array('class'=>'external', 'target'=>'_blank')) . ' | ';
echo '' . $desc . ' | ';
echo '' . $opis . ' | ';
echo '' . $r->hit_counter . ' | ';
echo '
';
}
?>
render();
}
?>
get_total();
if ($total <= 0) {
echo App::ui_widget('info', "Nie znaleziono żadnych rekordów pasujacych do kryteriów wyszukiwania");
}
else {
$list = $qWsk->get_list();
$nav = new PageNav($total, $qWsk->get_param('offset'), $qWsk->get_param('limit'));
$nav->set_request_args(array('task'=>'CRM_SEARCH', 'q'=>$q, '_active_tab'=>($tab_nr - 1)));
$nav->set_request_method_post();
$nav->set_request_arg_page_nr_name('f-_offset');
echo $nav->render('links_only');
?>
| ID |
ID_PROCES |
ID_ZASOB |
OPIS_ZASOB |
hit_counter |
DESC);
$desc = str_replace($q, ''.$q.'', $desc);
$desc = str_replace(strtoupper($q), ''.strtoupper($q).'', $desc);
$opis = strip_tags($r->OPIS_ZASOB);
if (strlen($opis) > 255) {
$opis = substr($opis, 0, 255) . ' ...';
}
$opis = str_replace($q, ''.$q.'', $opis);
$opis = str_replace(strtoupper($q), ''.strtoupper($q).'', $opis);
echo '';
echo '| ' . $r->ID . ' | ';
echo '' . App::link($r->ID_PROCES, array('task'=>'CRM_PROCES', 'filtr_id'=>$r->ID_PROCES), array('class'=>'external', 'target'=>'_blank')) . ' | ';
echo '' . App::link($r->ID_ZASOB, array('task'=>'CRM_LISTA_ZASOBOW', 'filtr_id'=>$r->ID_ZASOB), array('class'=>'external', 'target'=>'_blank')) . ' | ';
echo '' . $opis . ' | ';
echo '' . $r->hit_counter . ' | ';
echo '
';
}
?>
render();
}
?>
get_total();
if ($total <= 0) {
echo App::ui_widget('info', "Nie znaleziono żadnych rekordów pasujacych do kryteriów wyszukiwania");
}
else {
$list = $qProcesInit->get_list();
$nav = new PageNav($total, $qProcesInit->get_param('offset'), $qProcesInit->get_param('limit'));
$nav->set_request_args(array('task'=>'CRM_SEARCH', 'q'=>$q, '_active_tab'=>($tab_nr - 1)));
$nav->set_request_method_post();
$nav->set_request_arg_page_nr_name('f-_offset');
echo $nav->render('links_only');
?>
| ID |
DESC |
OPIS |
hit_counter |
DESC);
$desc = str_replace($q, ''.$q.'', $desc);
$desc = str_replace(strtoupper($q), ''.strtoupper($q).'', $desc);
$opis = strip_tags($r->OPIS);
if (strlen($opis) > 255) {
$opis = substr($opis, 0, 255) . ' ...';
}
$opis = str_replace($q, ''.$q.'', $opis);
$opis = str_replace(strtoupper($q), ''.strtoupper($q).'', $opis);
echo '';
echo '| ' . App::link($r->ID, array('task'=>'CRM_PROCES', 'filtr_id'=>$r->ID), array('class'=>'external', 'target'=>'_blank')) . ' | ';
echo '' . $desc . ' | ';
echo '' . $opis . ' | ';
echo '' . $r->hit_counter . ' | ';
echo '
';
}
?>
render();
}
?>