00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010 function Util_PrintAuthenticationSuccess($username,$can_logout)
00011 {
00012 ?>
00013 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
00014 <html xmlns="http://www.w3.org/1999/xhtml">
00015 <head>
00016 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
00017 <title>Log In Successfull</title>
00018 <style type="text/css">
00019 <!--
00020 .Style1 { font-family: "Century Gothic";
00021 font-size: 24px;
00022 }
00023 .Style6 {
00024 font-size: 14px;
00025 font-family: "Century Gothic";
00026 }
00027 -->
00028 </style>
00029 </head>
00030
00031 <body>
00032 <table width="760" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" bordercolorlight="" bordercolordark="" bgcolor="#FFFFFF">
00033 <tr>
00034 <th height="454" valign="top" scope="col"><table width="760" height="375" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="" bordercolorlight="" bordercolordark="">
00035 <tr>
00036 <th height="96" align="left" valign="top">Authentication</th>
00037 </tr>
00038 <tr>
00039 <th ><h1 class="Style1" style="margin-top:2em;">Welcome <?php echo $username; ?><br/></h1>
00040 <?php
00041 if($can_logout)
00042 {
00043 ?>
00044 <div align=center><a href="<?php echo (isset($_SERVER['HTTPS']) ? "https:
00045 <?php
00046 }
00047 ?>
00048 <?php
00049
00050
00051
00052
00053
00054
00055 ?>
00056 </tr>
00057 <tr>
00058 </tr>
00059 <tr><td> </tr>
00060 </table></th>
00061 </tr>
00062 </table>
00063 <br />
00064 </body>
00065 </html>
00066 <?php
00067 }
00068 ?>