Topic: agent_top ---- coding change ,,,

code here .....brings up barren unformatted page on agentadmin/login...changes made are below the original...
-------------------------------------------

<?php // $Id: agent_top.php,v 2.13 2011-06-17 01:09:38 pat Exp $            //
$link = getdb();
$login = new user_login();
$current_user = $_SESSION['current_user'];
$install_path = config_options('install_path');
$images_use = config_options('images_use');
$image = new image();
$login->login('agent');

$baseurl = config_options('baseurl');
$admin_path = config_options('admin_path');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

    <head>
        <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
        <link rel="stylesheet" href="freerealty.css" type= "text/css">
        <title>Free Realty</title>
    </head>

-------------------------------------------------changes made

<?php // $Id: agent_top.php,v 2.13 2011-06-17 01:09:38 pat Exp $  //?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

    <head>
        <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
        <link rel="stylesheet" href="freerealty.css" type= "text/css">
        <title>Free Realty</title>
    </head>


<body>
<?php
$link = getdb();
$login = new user_login();
$current_user = $_SESSION['current_user'];
$install_path = config_options('install_path');
$images_use = config_options('images_use');
$image = new image();
$login->login('agent');

$baseurl = config_options('baseurl');
$admin_path = config_options('admin_path');
?>
----------------------------------------------------------------------this brings back the style sheet....





and then again the lonely paragraph tag at the bottom???

Re: agent_top ---- coding change ,,,

So the page works and gives you the login options, but the formatting is absent as are the menu items across the top giving additional links, etc? I can see your changes improving the overall look and continuity of the page.

Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.

3 (edited by bestnametaken 2013-12-16 13:12:54)

Re: agent_top ---- coding change ,,,

yep,,,just makes it pretty ,,,