コード例 #1
0
ファイル: fiche.inc.php プロジェクト: Kloadut/noalyss_ynh
 $letter->set_parameter('start', $_GET['start']);
 $letter->set_parameter('end', $_GET['end']);
 // all
 if ($_GET['histo'] == 0) {
     $letter->get_all();
 }
 // lettered
 if ($_GET['histo'] == 1) {
     $letter->get_letter();
 }
 // unlettered
 if ($_GET['histo'] == 2) {
     $letter->get_unletter();
 }
 if ($_GET['histo'] == 6) {
     $letter->get_letter_diff();
 }
 /* skip if nothing to display */
 if (count($letter->content) == 0) {
     continue;
 }
 $detail_card = HtmlInput::card_detail($row->strAttribut(ATTR_DEF_QUICKCODE), $row->strAttribut(ATTR_DEF_NAME));
 echo '<h2>' . $detail_card;
 echo "poste " . ":" . HtmlInput::history_account($row->strAttribut(ATTR_DEF_ACCOUNT), $row->strAttribut(ATTR_DEF_ACCOUNT), 'display:inline') . HtmlInput::infobulle(27) . '</h2>';
 echo '<table class="result">';
 echo '<tr>';
 echo th(_('Date'));
 echo th(_('ref'));
 echo th(_('Interne'));
 echo th(_('Comm'));
 echo th(_('Montant'), 'style="width:auto" colspan="2"');