-
Notifications
You must be signed in to change notification settings - Fork 1
/
list_postcodes.php
32 lines (24 loc) · 721 Bytes
/
list_postcodes.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
27
28
29
30
31
32
<?php
/**
* @version $Header$
* Copyright (c) 2004 bitweaver nlpg
* @package nlpg
* @subpackage functions
*/
/**
* required setup
*/
require_once('../kernel/setup_inc.php' );
require_once(NLPG_PKG_PATH.'BitNlpg.php' );
// Is package installed and enabled
$gBitSystem->verifyPackage('nlpg' );
// Now check permissions to access this page
$gBitSystem->verifyPermission('p_nlpg_view' );
$nlpg = new BitNlpg();
$_REQUEST['list'] = 'postcode';
$listnlpg = $nlpg->getOsnList( $_REQUEST );
$gBitSmarty->assignByRef('listInfo', $_REQUEST['listInfo']);
$gBitSmarty->assignByRef('list', $listnlpg);
// Display the template
$gBitSystem->display('bitpackage:nlpg/list_postcodes.tpl', tra('Postcode record list') );
?>