Example #1
0
        ?>
					<a href="javascript:;">
					<?php 
        if ($_SESSION["user_data"]["companyname"]) {
            echo $_SESSION["user_data"]["companyname"];
        } else {
            if ($_SESSION["tradewithgeorgia_user_namelname"]) {
                echo $_SESSION["tradewithgeorgia_user_namelname"];
            } else {
                echo $_SESSION["tradewithgeorgia_username"];
            }
        }
        ?>
					</a> | 
					<a href="<?php 
        echo company_type::profilelink();
        ?>
"><?php 
        echo $data["language_data"]["profile"];
        ?>
</a> | 
					<a href="javascipt:;" id="logoutbutton">Log Out</a> 
					<?php 
    }
}
?>
				</div>
			</div>
		</div>
		<div id="header_2">
			<div class="col-sm-5 col-md-5 col-xs-5 col-lg-5 padding_0 logo_text">
Example #2
0
<?php

require_once 'object_set.php';
class company_type extends object_set
{
    function table_name()
    {
        return "t_company_type";
    }
    function auto_id()
    {
        return true;
    }
}
$company_type = new company_type();
$company_type->process();