Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 1392 → Rev 1393

/asterisk-stats/trunk/telbook_export_list.php
0,0 → 1,24
<?php
 
include_once('includes/common.php');
Prolog();
 
$db->query("select export_id, export_name, export_comment"
. " from telbook_export order by upper(export_name), export_name");
 
$table = new Table(array('Name', 'Comment', ''));
$table->set_table_class('telbook list export_list');
 
while($line = $db->fetch_row()) {
$table->newrow();
$table->addcell($line['export_name']);
$table->addcell($line['export_comment']);
$table->addcell(array('class' => 'link', 'html' =>
display_link('telbook_export_details.php?id=' . $line['export_id'], 'Edit')));
}
$g_display->add_html_text($table->build());
$g_display->add_template('telbook_export_list_end');
 
Epilog();
 
?>