(file) Return to login.php CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / mysqlinks

 1 rizwank 1.1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 2             <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 3             <head>
 4             <title>MySQLinks | Not Logged In</title>
 5             <link rel="stylesheet" type="text/css" href="mysqlinks.css" media="all" name="default" />
 6             <meta http-equiv="imagetoolbar" content="no" />
 7             <meta http-equiv="cache-control" content="no-cache" />
 8             <meta http-equiv="pragmas" content="no-cache" />
 9             <meta http-equiv="robots" content="noindex,nofollow,noarchive,nocache" />
10             <meta http-equiv="Content-type" content='text/html; charset="utf-8"' />
11             <meta http-equiv="Content-Language" content="en-au" />
12             </head>
13             <body>
14             
15             
16             <div id="header">
17             &nbsp;
18             </div>
19             
20             
21             
22 rizwank 1.1 <div id="menu">
23             <span class="menu-pad">&nbsp;</span>&nbsp; 
24             log in to see menu options
25             </div>
26             
27             
28             <div id="title">
29             <a href="http://freebies.wiccked.com/mysqlinks/"><img src="mysqlinks_maintitle.png" width="301" height="64" title="MySQLinks" alt="MySQLinks" border="0" /></a><br />
30             </div>
31             
32             <div id="categories">
33             <ul>
34             <li>your categories will be displayed when you are logged in</li>
35             </ul>
36             </div>
37             
38             <div id="links">
39                     
40                     <h1>
41                     Login Screen
42                     </h1>
43 rizwank 1.1         
44                     <p>
45             				<?php
46             				if (isset($HTTP_GET_VARS['log']) && ($HTTP_GET_VARS['log'] == "out")) {
47             					print "<span class=\"error\">You have logged out of MySQLinks. Please enter your username and password to login again.</span><br /><br />\n";
48             					} else {
49             					print "<span class=\"error\">Please enter your username and password to login to MySQLinks.</span><br /><br />\n";
50             					}
51             				?>	
52             				<?php
53                     
54                     $messages[0] = "If you have forgotten your username and/or password, that's just too damn bad, isn't it?<br /><br />\n			Recreation of passwords is a feature on the list for future releases, but it's not necessarily the most important thing because, really, how hard is it to remember a damn password that YOU chose?\n";
55                     $messages[1] = "<span class=\"error\">\nI think you might have forgotten to type something. Try again.\n</span>\n";
56                     $messages[2] = "<span class=\"error\">\nInvalid username and password combo. Try again.\n</span>\n";
57                     
58                      if (!isset($msg)) {
59                      		print $messages[0]; 
60                     		} else {
61                     		print $messages[$msg];
62                     		}
63                     
64 rizwank 1.1         ?>
65                     <br /><br />
66             				<form action="lib/loggerinnerer.php" method="post">
67                     <strong>Username:</strong><br />
68                     <input type="text" name="login_user" /><br /><br />
69                     
70                     <strong>Password:</strong><br />
71                     <input type="password" name="login_pass" /><br /><br />
72                     
73                     <small>Stay logged in? <input type="checkbox" name="persist" value="yes" checked /></small><br /><br />
74                     
75                     <input type="submit" value="&nbsp;log in&nbsp;" />
76                     </form>
77             				</p>
78             
79             </div>
80             
81             
82             </body>
83             </html>

Rizwan Kassim
Powered by
ViewCVS 0.9.2