Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php

    //$Id: load_from_db.php 3361 2011-02-24 15:34:41Z tiefland $

    /**
     * @author Lars Tiefland <tiefland@weban.de>
     * @copyright 2009 Webagentur Niewerth
     * @package Content-management
     * @version $Rev: 3361 $
     * @license propietary
     * @filesource
     * 
     */

    /**
     * 
     * @author Lars Tiefland <tiefland@weban.de>
     * @copyright 2009 Webagentur Niewerth
     * @package Content-management
     */

    require_once  "connect2.php";

    $sql = "SELECT view_data FROM content_management.Access WHERE user='" . $_SERVER["PHP_AUTH_USER"] .
        "'";
    $res = mysql_query( $sql, $localhost_dbh );
    if ( $res )
    {
        $row = mysql_fetch_assoc( $res );
        $view_data = unserialize( $row["view_data"] );
    }
    else
    {
        echo mysql_error();
    }
?>