?
Path : /home/admin/domains/happytokorea.com/public_html_bk/gall/admin/ |
Current File : /home/admin/domains/happytokorea.com/public_html_bk/gall/admin/header.php |
<? session_start(); require("../include/db.class.php"); require("../include/module.php"); $u = explode("/",$_SERVER['PHP_SELF']); $url = $u[count($u)-1]; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link rel="stylesheet" type="text/css" href="css/theme.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script> // var StyleFile = "theme" + document.cookie.charAt(6) + ".css"; document.writeln('<link rel="stylesheet" type="text/css" href="css/theme1.css">'); </script> <!--[if IE]> <link rel="stylesheet" type="text/css" href="css/ie-sucks.css" /> <![endif]--> <style type="text/css"> <!-- .style6 {color: #333333} --> </style> </head> <body> <div id="header"> <table background="images/head.jpg" id="Table_01" width="1600" border="0" cellspacing="0" cellpadding="0" height="207"> <tr> <td width="520" height="207"> </td> <td width="667" height="207" align="left" valign="top"><table width="667" height="208" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="97" colspan="4"> </td> </tr> <tr> <td width="158" height="62"><a href="index.html"><img src="images/Menu-Home.jpg" width="118" height="34" border="0" /></a></td> <td width="196"><a href="index.php"><img src="images/Menu-see.jpg" width="162" height="48" border="0" /></a></td> <td width="102"><a href="rule.php"><img src="images/Menu-rule.jpg" width="72" height="48" border="0" /></a></td> <td width="211"><a href="price.php"><img src="images/Menu-award.jpg" width="201" height="42" border="0" /></a></td> </tr> <tr> <td height="49" colspan="4"> </td> </tr> </table></td> <td height="207" valign="top"><br /> <? if(isset($_SESSION[u_id])){ ?> <table width="44%" border="0" bordercolor="#FFFFFF" cellspacing="0" cellpadding="0" style="border-collapse:collapse"> <tr height="40" > <td height="40" background="images/i_14.jpg" bgcolor="#996633"><div align="center" class="style3"> <font face="Verdana, Arial, Helvetica, sans-serif"><span class="style4">Welcome</span> <?=$_SESSION[u_name]?> </font> </div></td> </tr> <tr> <td align="left" background="images/i_17.jpg" style="padding:10px; color:#a8875e"><strong><span style="color: #333333"><br /> <a href="?logout=logout" style="text-decoration:none;color:#a8875e">Logout</a></span> </strong></td> </tr> </table> <? }else{ ?> <table width="44%" border="0" bordercolor="#FFFFFF" cellspacing="0" cellpadding="0" style="border-collapse:collapse"> <tr> <td align="left" background="images/i_17.jpg" style="padding:10px; color:#a8875e; "><form method="post" style="text-align:left; " > <strong><font color="#a8875e" face="Verdana, Arial, Helvetica, sans-serif" > <input name="login" type="hidden" value="login" /> <br /> <input name="email_address" type="text" id="email_address" style="width:120px;"> <br /> <br /> <input name="password" type="password" id="password" style="width:120px;"> </font></strong> <br /> <input name="Input" type="submit" value="Login"> <span class="style6"><br /> </span> <center> <span class="style6"><a href="register.php" style="text-decoration:none;color:#a8875e;"><strong>สมัครสมาชิกคลิ๊กเลยค่ะ</strong></a></span> </center> </form></td> </tr> </table> <? } ?> </td> </tr> </table> </div>