Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1404 Revision 1405
Zeile 3... Zeile 3...
3
/**
3
/**
4
 *
4
 *
5
 * @package WebanOS CI
5
 * @package WebanOS CI
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
7
 * @copyright 2016
7
 * @copyright 2016
8
 * @version $Rev: 1404 $
8
 * @version $Rev: 1405 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Order_model extends CI_Model
11
class Order_model extends CI_Model
12
{
12
{
Zeile 526... Zeile 526...
526
				b.id DESC
526
				b.id DESC
527
			LIMIT
527
			LIMIT
528
				100
528
				100
529
		";
529
		";
530
		$res = $GLOBALS['order_db']->query($sql);
530
		$res = $GLOBALS['order_db']->query($sql);
-
 
531
		echo $sql;
531
		$sql_anz = "SELECT
532
		$sql_anz = "SELECT
532
				FOUND_ROWS() AS total
533
				FOUND_ROWS() AS total
533
		";
534
		";
534
		$res_anz = $GLOBALS["order_db"]->query($sql_anz);
535
		$res_anz = $GLOBALS["order_db"]->query($sql_anz);
535
		$row = $res_anz->row_array();
536
		$row = $res_anz->row_array();