Subversion-Projekte lars-tiefland.ci

Revision

Revision 1434 | Revision 1453 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1434 Revision 1452
Zeile 8... Zeile 8...
8
 * @copyright Lars Tiefland
8
 * @copyright Lars Tiefland
9
 * @version 2016
9
 * @version 2016
10
 * @access public
10
 * @access public
11
 */
11
 */
Zeile 12... Zeile 12...
12
 
12
 
Zeile 13... Zeile 13...
13
//$Id: Order.php 1434 2016-11-12 20:58:49Z lars $
13
//$Id: Order.php 1452 2016-11-12 23:23:30Z lars $
14
 
14
 
Zeile 15... Zeile 15...
15
class Order extends CI_Controller
15
class Order extends CI_Controller
Zeile 391... Zeile 391...
391
		if ($anz == 1)
391
		if ($anz == 1)
392
		{
392
		{
393
			header("Location:/backend/order/edit/".$orders[0]["id"]);
393
			header("Location:/backend/order/edit/".$orders[0]["id"]);
394
			exit;
394
			exit;
395
		}
395
		}
-
 
396
		$config['base_url'] = $this->config->item('base_url').'/order/';
-
 
397
		$config['total_rows'] = $anz;
-
 
398
		$config['per_page'] = 100;
-
 
399
		$config['page_query_string'] = true;
-
 
400
		//$config['use_page_numbers'] = true;
-
 
401
		$config['cur_tag_open'] = '&nbsp;[&nbsp;<b>';
-
 
402
		$config['cur_tag_close'] = '</b>&nbsp;]';
-
 
403
		$config['num_tag_open'] = '&nbsp;[&nbsp;';
-
 
404
		$config['num_tag_close'] = '&nbsp;]';
-
 
405
		$config['first_tag_open'] = '&nbsp;[&nbsp;';
-
 
406
		$config['first_tag_close'] = '&nbsp;]';
-
 
407
		$config['last_tag_open'] = '&nbsp;[&nbsp;';
-
 
408
		$config['last_tag_close'] = '&nbsp;]';
-
 
409
		$config['next_tag_open'] = '&nbsp;[&nbsp;';
-
 
410
		$config['next_tag_close'] = '&nbsp;]';
-
 
411
		$config['prev_tag_open'] = '&nbsp;[&nbsp;';
-
 
412
		$config['prev_tag_close'] = '&nbsp;]';
-
 
413
		$this->pagination->initialize($config);
-
 
414
		$this->smarty->assign('pagination', $this->pagination->create_links());
396
		$this->smarty->assign('anz', $anz);
415
		$this->smarty->assign('anz', $anz);
397
		$this->smarty->assign('anker', $anker);
416
		$this->smarty->assign('anker', $anker);
398
		$this->smarty->assign('orders', $orders);
417
		$this->smarty->assign('orders', $orders);
399
		$this->smarty->view('orders.tpl');
418
		$this->smarty->view('orders.tpl');
400
	}
419
	}