mark845 Posted April 26, 2006 Posted April 26, 2006 HI im using this script for the admin login page and i wouold like like to know how to add a company logo so it can be seen on the admin login page <?php include("includes/configure.php"); ?> <html> <head> <title>Simzmobiles Admin login</title> <style type="text/css"> BODY,TD { margin: 0px; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; } .MENU_TITLE { background-color: #BBC3D3; color: white; font-weight: bold; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; } .NAV { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; } </style> <link href="includes/stylesheet.css" rel="stylesheet" type="text/css"> </head> <body> <table border=0 cellpadding=0 cellspacing=0 width=100% height=100%> <tr> <td width=100% height=100% align="center" valign="middle"> <form action="<?php echo HTTPS_CATALOG_SERVER . DIR_WS_ADMIN . "LoginAction.php";?>" method="post" name="LoginAction"> <input type="hidden" name="psRefer" value="<? echo $refer; ?>"> <table border=0 cellpadding=4 cellspacing=0 width=450> <tr> <td colspan="2" align="center" class="NAV"><img src="" alt="" vspace="0" border="0"><br> <br><br> </td> </tr> <tr> <td align="right" width=40% class="menu_title">Administrator's Login</td> <td width=60% class="menu_title"> </td> </tr> <tr> <td align="right" width=40%>Administrator Username:</td> <td align="left" width=60%><input type="text" name="psName" style="width: 200px" value=""></td> </tr> <tr> <td align="right" width=40%>Administrator Password:</td> <td align="left" width=60%><input type="password" name="psPassword" style="width: 200px" value=""></td> </tr> <tr> <td align="right" width=40%><input type="submit" name="admin_login_submit" value="Login"></td> <td align="left" width=60%><input type="reset" name="admin_login_reset" value="Clear"></td> </tr> </table> </form> </td> </tr> </table> </body> </html>
Guest Posted April 26, 2006 Posted April 26, 2006 Anyone? just add your img tag here </td> </tr> //New code start <tr> <img....> </tr> //New code end <tr> <td align="right" width=40% class="menu_title">Administrator's Login</td>
mark845 Posted April 26, 2006 Author Posted April 26, 2006 just add your img tag here </td> </tr> //New code start <tr> <img....> </tr> //New code end <tr> <td align="right" width=40% class="menu_title">Administrator's Login</td> So like this ? go easy on me, this is my fisrt go at this! lol;-) <?php include("includes/configure.php"); ?> <html> <head> <title>SIMZ 2.bmp</title> <style type="text/css"> BODY,TD { margin: 0px; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; } .MENU_TITLE { background-color: #BBC3D3; color: white; font-weight: bold; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; } .NAV { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; } </style> <link href="includes/stylesheet.css" rel="stylesheet" type="text/css"> </head> <body> <table border=0 cellpadding=0 cellspacing=0 width=100% height=100%> <tr> <td width=100% height=100% align="center" valign="middle"> <form action="<?php echo HTTPS_CATALOG_SERVER . DIR_WS_ADMIN . "LoginAction.php";?>" method="post" name="LoginAction"> <input type="hidden" name="psRefer" value="<? echo $refer; ?>"> <table border=0 cellpadding=4 cellspacing=0 width=450> <tr> <td colspan="2" align="center" class="NAV"><img src="" alt="" vspace="0" border="0"><br> <br><br> </td> </tr> <tr> <td align="right" width=40% class="menu_title">Administrator's Login</td> <td width=60% class="menu_title"> </td> </td> </tr> //New code start <tr> <img....simz_logo.GIF> </tr> //New code end <tr> <td align="right" width=40% class="menu_title">Administrator's Login</td> <td align="left" width=60%><input type="text" name="psName" style="width: 200px" value=""></td> </tr> <tr> <td align="right" width=40%>Administrator Password:</td> <td align="left" width=60%><input type="password" name="psPassword" style="width: 200px" value=""></td> </tr> <tr> <td align="right" width=40%><input type="submit" name="admin_login_submit" value="Login"></td> <td align="left" width=60%><input type="reset" name="admin_login_reset" value="Clear"></td> </tr> </table> </form> </td> </tr> </table> </body> </html>
Guest Posted April 26, 2006 Posted April 26, 2006 no image tags are formed thus: <img src="images/logo.jpg">
Recommended Posts
Archived
This topic is now archived and is closed to further replies.