<?php
include_once('c_rmt_check_s.php') ;
class c_page_cab_rmt_check_denied_info extends c_page_cab_rmt_check_s
{
  var $step=3 ;
  public $h1='Комментарий техника' ;

  function menu_config()
  { $this->menu[$this->rec_to['__href'].'s1/']='Подтверждение личности водителя' ;
    $this->menu[$this->rec_to['__href'].'s3/']='Проверка технического состояния' ;
    $this->menu[$this->rec_to['__href'].'s4/']='Подпись техника' ;
    $this->menu['/cab/rmt/']=array('title'=>'Закрыть') ;
  }

    function block_main()
    {
        //$this->page_title() ;
        $this->panel_check_car() ; ;
    }

    function panel_check_car()
    {
        ?>
        <form>
            <table class="basic fz_big full auto" id="TO_check">
                <tr><th colspan="3"><?echo $this->rec_to['car_model'].' '.$this->rec_to['car_number']?></th></tr>
                <tr>
                    <td colspan=2 class="textbox"><textarea class="" name="comment"></textarea></td>
                </tr>
            </table>
            <div class="buttons sky-form">
                <button class="v2 button" cmd="rmt/save_tech_comment" to_id=<?echo $this->rec_to['pkey']?>>Сохранить</button>
            </div>
        </form>
        <style type="text/css">
            table#TO_check{font-size:20px;line-height:40px;}
            table#TO_check td{vertical-align:middle;min-height:50px;border-width:2px;}
            table#TO_check td.textbox textarea{width:100%;height:300px;font-size:20px;}

            .sky-form  button.button{width:200px;height:80px;font-size:22px;}
        </style>
        <?
    }

}

?>