190 |
XHTML_TRANSITIONAL); |
XHTML_TRANSITIONAL); |
191 |
|
|
192 |
//enable output debugging. |
//enable output debugging. |
193 |
$page->set_text_debug( $_GET["debug"] ); |
if (isset($_GET['debug'])) { |
194 |
|
$page->set_text_debug( TRUE ); |
195 |
|
} |
196 |
|
|
197 |
//add the css |
//add the css |
198 |
$page->add_head_css( new DefaultGUIDataListCSS ); |
$page->add_head_css( new DefaultGUIDataListCSS ); |
199 |
|
|
200 |
//build the PEAR list and sort by ip_address by default |
//build the PEAR list and sort by ip_address by default |
201 |
$pearlist = new pearmysqllist("PEAR::MySQL List", 600, "ip_address", TRUE); |
$pearlist = new pearmysqllist("PEAR::MySQL List", 600, "ip_address", TRUE); |
202 |
|
$pearlist->set_align("right"); |
203 |
|
|
204 |
//build the ADODB list using the same exact table in the DB |
//build the ADODB list using the same exact table in the DB |
205 |
//and sort by version by default |
//and sort by version by default |
206 |
$adodblist = new adodbmysqllist("ADODB::MySQL List", 600, "version", TRUE); |
$adodblist = new adodbmysqllist("ADODB::MySQL List", 600, "version", TRUE); |
207 |
|
$adodblist->set_align("left"); |
208 |
|
|
209 |
$page->add( $pearlist, html_br(2), $adodblist ); |
$page->add( $pearlist, html_br(2), $adodblist ); |
210 |
|
|