Changeset 3441 for temp/trunk/data/lib/slib.php
- Timestamp:
- 2006/08/31 11:58:40 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/lib/slib.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/slib.php
r3420 r3441 5 5 require_once( $INC_PATH ."/../conf/conf.php" ); 6 6 require_once( $INC_PATH ."/../class/SC_DbConn.php" ); 7 8 $GLOBAL_ERR = ""; 7 9 8 10 // ¥¤¥ó¥¹¥È¡¼¥ë½é´ü½èÍý … … 66 68 // Áõ¾þÉÕ¤¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤Îɽ¼¨ 67 69 function sfErrorHeader($mess) { 68 print("<meta http-equiv='Content-Type' content='text/html; charset=EUC-JP'>"); 69 print("<table width='100%' border='0' cellspacing='0' cellpadding='0' summary=' '>"); 70 print(" <tr>"); 71 print("<td bgcolor='#ffeebb' height='25' colspan='2' align='center'>"); 72 print("<SPAN style='color:red; font-size:12px'><strong>" . $mess . "</strong></span>"); 73 print("</td>"); 74 print(" </tr>"); 75 print("</table>"); 70 global $GLOBAL_ERR; 71 if($GLOBAL_ERR == "") { 72 $GLOBAL_ERR = "<meta http-equiv='Content-Type' content='text/html; charset=EUC-JP'>\n"; 73 } 74 $GLOBAL_ERR.= "<table width='100%' border='0' cellspacing='0' cellpadding='0' summary=' '>\n"; 75 $GLOBAL_ERR.= "<tr>\n"; 76 $GLOBAL_ERR.= "<td bgcolor='#ffeebb' height='25' colspan='2' align='center'>\n"; 77 $GLOBAL_ERR.= "<SPAN style='color:red; font-size:12px'><strong>" . $mess . "</strong></span>\n"; 78 $GLOBAL_ERR.= "</td>\n"; 79 $GLOBAL_ERR.= " </tr>\n"; 80 $GLOBAL_ERR.= "</table>\n"; 76 81 } 77 82
Note: See TracChangeset
for help on using the changeset viewer.
