';
echo '
';
if (! isset($_REQUEST['seek'])) exit;
echo '
';
//--------------------------------------------------------------------------------
// record the data
//--------------------------------------------------------------------------------
if ( isset($_POST['record']))
{
$letter=new Lettering_Account($cn);
$letter->save($_POST);
}
//--------------------------------------------------------------------------------
// Show the result
//--------------------------------------------------------------------------------
echo '';
$letter=new Lettering_Card($cn);
$quick_code=strtoupper(trim($_GET['acc']));
$letter->set_parameter('quick_code',$quick_code);
$letter->set_parameter('start',$_GET['start']);
$letter->set_parameter('end',$_GET['end']);
if ( $sel->selected == 0 )
echo $letter->show_list('all');
if ( $sel->selected == 1 )
echo $letter->show_list('letter');
if ( $sel->selected == 2 )
echo $letter->show_list('unletter');
if ( $sel->selected == 3 )
echo $letter->show_list('letter_diff');
echo '
';
echo '';
echo 'Un instant...';
echo '
';
echo '
';