1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
<?php function refresh_page($time,$url) { echo "<meta http-equiv=refresh content=\"$time;URL='$url'\">"; } function print_arr1($title=NULL){ echo "<img src='coremain/images/marker.gif' title='$title' border='0'>"; } function print_top_menu($title=NULL){ echo "<img src='coremain/images/top_menu.gif' title='$title' border='0'>"; } function print_bullet($title=NULL){ echo "<img src='coremain/images/bullet2.gif' title='$title' border='0'>"; } function print_edit($title=NULL){ echo "<img src='coremain/images/edit.gif' title='$title' border='0'>"; } function print_eye_open($title=NULL){ echo "<img src='coremain/images/show.gif' title='$title' border='0'>"; } function print_eye_close($title=NULL){ echo "<img src='coremain/images/hide.gif' title='$title' border='0'>"; } function print_del($title=NULL){ echo "<img src='coremain/images/del1.gif' title='$title' border='0'>"; } function print_arr_add($title=NULL){ echo "<img src='coremain/images/true.gif' title='$title' border='0'>"; } function print_nopic($title=NULL){ echo "<img src='coremain/images/nopic.jpg' title='$title' border='0'>"; } function print_moveleft($title=NULL){ echo "<img src='coremain/images/moveleft1.gif' title='$title' border='0'>"; } function print_moveright($title=NULL){ echo "<img src='coremain/images/moveright1.gif' title='$title' border='0'>"; } function print_new($title=NULL){ echo "<img src='coremain/images/news.gif' title='$title' border='0'>"; } function print_correct(){ echo "<img src='coremain/images/true.gif' title='$title' border='0'>"; } function print_wrong(){ echo "<img src='coremain/images/del1.gif' title='$title' border='0'>"; } // for picture fram function picture_frame($pic_path,$link=NULL){ global $_SESSION; echo"<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>"; echo" <TR> "; echo" <TD valign='top'> <IMG SRC='coremain/images/border/popup_border_01.gif' WIDTH=15 HEIGHT=15 ALT='' border='0'></TD>"; echo" <TD valign='top' background='coremain/images/border/popup_border_02.gif' border='0'></TD>"; echo" <TD valign='top'> <IMG SRC='coremain/images/border/popup_border_03.gif' WIDTH=17 HEIGHT=15 ALT='' border='0'></TD>"; echo" </TR>"; echo" <TR> "; echo" <TD valign='top' background='coremain/images/border/popup_border_04.gif' border='0'> </TD>"; echo "<TD valign='top'>"; if($link!=NULL) { echo "<a href='$link'>"; echo "<img src='$pic_path' border='0'>"; echo "</a>"; } else echo "<img src='$pic_path' border='0'>"; echo "</TD>"; echo" <TD valign='top' background='coremain/images/border/popup_border_06.gif' border='0'></TD>"; echo" </TR>";
echo" <TR> "; echo" <TD valign='top'> <IMG SRC='coremain/images/border/popup_border_07.gif' WIDTH=15 HEIGHT=16 ALT='' border='0'></TD>"; echo" <TD valign='top' background='coremain/images/border/popup_border_08.gif' border='0'> </TD>"; echo" <TD valign='top'> <IMG SRC='coremain/images/border/popup_border_09.gif' WIDTH=17 HEIGHT=16 ALT='' border='0'></TD>"; echo" </TR>"; echo" </TABLE>"; } /* * overall image function * root must in folder images */ function print_image($img_dat,$title=NULL){ echo "<img src='coremain/images/$img_dat' title='$title' border='0'>"; } ?>
|