Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require("includes/configcheck.php");
- require("config.php");
- require("includes/settings.php");
- $cleanlogin = "0";
- $conn = @mysql_connect($dbhost, $dbuser, $dbpass) or die("Error connecting to database");
- mysql_select_db($dbname, $conn);
- $sql = mysql_query("SELECT * FROM cmum_settings WHERE id='1'");
- $line = mysql_fetch_array($sql);
- $cleanlogin = $line["cleanlogin"];
- mysql_close($conn);
- if ($cleanlogin == "1") {
- $pagetitle = " ";
- $headertitle = "";
- $versionfooter = "";
- $favicon = "";
- } else {
- $pagetitle = ":: " . $longtitle;
- $headertitle = $longtitle;
- $versionfooter = "v" . $version;
- $favicon = "images/favicon.ico";
- }
- echo '<!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=';
- print($charset);
- echo '" />
- <p align="center">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>CSP ActiveCode - Login</title>
- <link href="css/style.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <form id="form1" name="form1" method="post" action="login.php">
- <br />
- <br />
- <br />
- <br />
- <br />
- <table width="350" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td><div class="Contorno">
- <table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td colspan="2"><div align="center" class="TitoloLogin">Active-Code User Manager 2011</div></td>
- </tr>
- <tr>
- <td width="150"> </td>
- <td width="150"> </td>
- </tr>
- <tr>
- <td class="TestoDesc">Username :</td>
- <td><label for="password"></label>
- <input name="loginuser" type="text" class="LoginBox" id="textfield2" /></td>
- <img border="0" src="images/lock.png"></p>
- </tr>
- <tr>
- <td class="TestoDesc">Password :</td>
- <td><label for="textfield3"></label>
- <input name="loginpass" type="password" class="LoginBox" id="textfield3" /></td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td><input name="button" type="submit" class="LoginBox" id="button" value="Login" /></td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- </div></td>
- </tr>
- </table>
- <br />
- </form>
- </body>
- </html>';
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement