echo $form->DisplayProperties(); //email $values = $row_detail['email']; $properties = array('100'); //maxlength OTHER (disabled, readonly) $views = array('Email', 'email', 'input_medium'); //label id&name class style $form->getProperties('1', $values, $properties, $views); echo $form->DisplayProperties(); //message $values = $row_detail['message']; $properties = ''; //disabled, readonly $views = array('Nội dung', 'message', 'textarea'); //label id&name class colspan $other = ckeditor_custom('message'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //id $values = $row_detail['id']; $views = 'id'; //name $form->getProperties('2', $values, '', $views); echo $form->DisplayProperties(); //btn_cancel $other = '<input type="button" name="btn_cancel" id="btn_cancel" value="Hủy" class="submit" onClick="window.location.href=\'administrator.php?p=' . $table . '\'" />'; //btn_submit $properties = ''; //disabled, readonly $views = array($lable_submit, 'btn_action', 'submit btn_action'); //label id&name class style
//contact_foo $values = $row_detail['contact_foo']; $properties = array('200'); //maxlength OTHER (disabled, readonly) $views = array('Thông tin footer', 'contact_foo', 'textarea'); //label id&name class colspan $other = ckeditor_custom('contact_foo'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //contact_form $values = $row_detail['contact_form']; $properties = ''; //disabled, readonly $views = array('Thông tin contact', 'contact_form', 'textarea'); //label id&name class colspan $other = ckeditor_custom('contact_form'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //id $values = $row_detail['id']; $views = 'id'; //name $form->getProperties('2', $values, '', $views); echo $form->DisplayProperties(); //btn_cancel $other = '<input type="button" name="btn_cancel" id="btn_cancel" value="Hủy" class="submit" onClick="window.location.href=\'administrator.php?p=' . $table . '\'" />'; //btn_submit $properties = ''; //disabled, readonly $views = array($lable_submit, 'btn_action', 'submit btn_action'); //label id&name class style
//quyenloi $values = $row_detail['quyenloi']; $properties = ''; //disabled, readonly $views = array('Quyền lợi', 'quyenloi', 'textarea'); //label id&name class colspan $other = ckeditor_custom('quyenloi'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //yeucau $values = $row_detail['yeucau']; $properties = ''; //disabled, readonly $views = array('Yêu cầu', 'yeucau', 'textarea'); //label id&name class colspan $other = ckeditor_custom('yeucau'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //content $values = $row_detail['content']; $properties = ''; //disabled, readonly $views = array('Nội dung', 'content', 'textarea', 'colspan=2'); //label id&name class colspan $other = ckeditor_full('content'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //other $values = $row_detail['other']; $properties = array('250'); //maxlength OTHER (disabled, readonly)
echo $form->DisplayProperties(); //order $values = $row_detail['order']; $properties = array('3'); //maxlength OTHER (disabled, readonly) $views = array('Thứ tự', 'order', 'input_medium'); //label id&name class style $form->getProperties('1', $values, $properties, $views); echo $form->DisplayProperties(); //content $values = $row_detail['content']; $properties = ''; //disabled, readonly $views = array('Thông tin', 'content', 'textarea'); //label id&name class colspan $other = ckeditor_custom('content'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //id $values = $row_detail['id']; $views = 'id'; //name $form->getProperties('2', $values, '', $views); echo $form->DisplayProperties(); //lang $values = $lang; $views = 'lang'; //name $form->getProperties('2', $values, '', $views); echo $form->DisplayProperties(); //btn_cancel
$form->getProperties('1',$values,$properties,$views); echo $form->DisplayProperties(); //nampheduyet $values = $row_detail['nampheduyet']; $properties = array('100'); //maxlength OTHER (disabled, readonly) $views = array('Năm phê duyệt','nampheduyet','input_medium'); //label id&name class style $form->getProperties('1',$values,$properties,$views); echo $form->DisplayProperties();*/ //info $values = $row_detail['info']; $properties = ''; //maxlength OTHER (disabled, readonly) $views = array('Tóm lược', 'info', 'textarea'); //label id&name class colspan $other = ckeditor_custom('info'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //id $values = $row_detail['id']; $views = 'id'; //name $form->getProperties('2', $values, '', $views); echo $form->DisplayProperties(); //lang $values = $lang; $views = 'lang'; //name $form->getProperties('2', $values, '', $views); echo $form->DisplayProperties(); //btn_cancel
echo $form->DisplayProperties(); //metaKeyword $values = $row_detail['metaKeyword']; $properties = array('200'); //maxlength OTHER (disabled, readonly) $views = array('Keyword', 'metaKeyword', 'input_medium'); //label id&name class style $form->getProperties('1', $values, $properties, $views); echo $form->DisplayProperties(); //thongtin_them $values = $row_detail['thongtin_them']; $properties = ''; //disabled, readonly $views = array('Thông tin thêm', 'thongtin_them', 'textarea'); //label id&name class colspan $other = ckeditor_custom('thongtin_them'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //content $values = $row_detail['content']; $properties = ''; //disabled, readonly $views = array('Nội dung', 'content', 'textarea', 'colspan=2'); //label id&name class colspan $other = ckeditor_full('content'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //other $arr = array(); $arr[] = array('id' => '1', 'name' => 'Có'); $arr[] = array('id' => '0', 'name' => 'Không');
echo $form->DisplayProperties(); //metaKeyword $values = $row_detail['metaKeyword']; $properties = array('200'); //maxlength OTHER (disabled, readonly) $views = array('Keyword', 'metaKeyword', 'input_medium'); //label id&name class style $form->getProperties('1', $values, $properties, $views); echo $form->DisplayProperties(); //dactinh $values = $row_detail['dactinh']; $properties = ''; //disabled, readonly $views = array('Thông tin ngắn', 'dactinh', 'textarea'); //label id&name class colspan $other = ckeditor_custom('dactinh'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //content $values = $row_detail['content']; $properties = ''; //disabled, readonly $views = array('Nội dung', 'content', 'textarea', 'colspan=2'); //label id&name class colspan $other = ckeditor_full('content'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //other $arr = array(); $arr[] = array('id' => '1', 'name' => 'Hiện'); $arr[] = array('id' => '0', 'name' => 'Ẩn');
//label id&name class colspan $other = ckeditor_custom('answer_2'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); //answer_3 /*$values = $row_detail['answer_3']; $properties = array('250'); //maxlength OTHER (disabled, readonly) $views = array('Câu 3','answer_3','input_medium'); //label id&name class style $form->getProperties('1',$values,$properties,$views); echo $form->DisplayProperties();*/ $values = $row_detail['answer_3']; $properties = ''; //disabled, readonly $views = array('Cách chế biến', 'answer_3', 'textarea'); //label id&name class colspan $other = ckeditor_custom('answer_3'); $form->getProperties('3', $values, $properties, $views, $other); echo $form->DisplayProperties(); $datetime = $row_detail['date_end'] - $row_detail['date_start']; echo '<tr> <td class="label">Tổng thời gian</td> <td valign="middle" style="color:#00F; font-weight:bold">' . date('i:s', $datetime) . '</td> </tr>'; //id $values = $row_detail['id']; $views = 'id'; //name $form->getProperties('2', $values, '', $views); echo $form->DisplayProperties(); //lang $values = $lang;