les09 cre ui tm





Creating the User Interface










The interactions in this eCourse require Javascript to be enabled.



 

Creating the User Interface


previous|next





Sheila's team stores the main user interface logic in a file called hr_ui.inc. The user interface uses the following two functions to help produce a consitent appearance for each Web page generated by the application:




ui_print_header() to create a standard page header using the text supplied in its parameter



ui_print_footer() to create a standard footer for each page, which prints its parameter string in the footer, typically used to print the current date and time



For additional control over the look and feel, the ui_print_header() function uses a Cascading Style Sheet, in styles.css, to help define the visual attributes of HTML tags generated by the application.
Each function that generates a Web page must call ui_print_header(), followed by the page content, and finally call ui_print_footer(). For example:
<?php
require('hr_ui.inc');

ui_print_header('Test');
echo "This is the content"
ui_print_footer(date('Y-m-d H:i:s'));
?>

 


 








Wyszukiwarka

Podobne podstrony:
les09 page handling tm
les09 disp?pt tm
les09 create? logic tm
les09 crectl logic tm
les09 credb connect tm
les09 get?pt tm
les09 login page tm
les09 hr ui inc
les09 logout page tm
les09 get emp tm
les09 cregen query tm
les09 disp emp tm
les09 create? conn prop tm
les09 getstart tm
TM 08 termin I
les09 styles css
Fanuc 11M [TM] CQ07 16 2
TM UART
Ulotka Pytania dotyczące TS, ETPCz, TM

więcej podobnych podstron