示例#1
0
 /*
  * Actions to project
  */
 $bt = $cep->action_options($cep->status);
 if (count($bt) > 0) {
     echo '<table width="100%" border=0 class="table_normal" >';
     echo '<TR class="hd"><TD>' . msg('actions');
     echo '</table>';
     echo '<table width="100%" border=0 class="table_normal" >';
     echo '<TR><TD>';
     echo '<div id="action">';
     //echo $cep->cep_historic_append('001',msg('history_001'));
     echo '<BR>';
     /* executa acao se existir */
     if (strlen($dd[3]) > 0) {
         $ok = $cep->action($dd[3], $cep);
     }
     echo $cep->action_display($bt);
     echo '</div>';
     echo '<BR>';
     echo '</table>';
 }
 /* Historic */
 echo '<table width="100%" border=0 class="table_normal" >';
 echo '<TR class="hd"><TD>' . msg('historic');
 echo '</table>';
 /* Mostra Historico */
 echo '<div id="the_history">';
 echo '<div id="bha" style="text-align: left;">' . msg('show_historic') . '</div>';
 echo '<div id="the_history_show" style="display:none;">';
 echo '<table width="100%" bgcolor="#F0F0F0">';