EPMA 11.1.2.1 (Interface Tables) Working with Shared Upper Level Members

Hi Everyone,
I am building a hierarchy with interface tables in which I specify a shared member. In the interface table, I assign a null datastorage and a 0 for the ISPrimary to designate the shared member. The stored member has a datastorage of storedata and an ISPrimary of 1. The sort order for the shared member is set at 999999 and the sort order for the stored member is 6.
We have an org hierarchy that goes Division->Business Group->Department. Please reference the member that is highlighted for the two questions I have below.
I just made up some hierarchy names and placed in parenthesis what the member name would look like in our real hierarchy.
Example Hierarchy:
Organization
|--Main_Hierarchy
|--|--Division1 (DV_XYZ)
|--|--|--BusinessGroup1 (BG_ABCD)
|--|--|--|--Department1 (DP_1234)
|-Alternate Rollup
*|--|--Division2 (DV_ABC) [stored]*
|--|--|--BG_123
|--|--|--|--DP_9999
|--|--|--|--DP_9876
|--|--Research Division (DV_ZZZ)
*|--|--|--Division2(DV_ABC) [shared]*
I have 2 issues with this setup.
1) When I run an import into the shared library, I see the shared member with children underneath it (the same children that are under the stored member) Is this supposed to look like that, or is there an additional configuration that I need to make? When I look in the application library, I see it correctly with the shared members having no children, but the shared library shows the shared members with children.
2) When I run a deploy to the application, the application library shows the hierarchy correctly, but Planning and the Essbase Outline reversed the members (The stored member comes in as shared and the shared member comes in as stored in essbase and planning, but the application library shows it the correct way). Just wondering if someone could suggest a starting point for me to try and troubleshoot this issue.

Is this an essbase only application? It seems like the property is defaulting to stored and then flipping the initial stored member to shared because Essbase isn't interpreting the deployment correctly. I would try using ShareData as the datastorage property (I think that is the correct spelling). Also, I believe the correct way to set IsPrimary is Y/N and not 0/1.
If that did not work I would try the following in this order:
1 - I would first extract the dimension in question using the file generator and confirm that the properties are indeed correct.
2 - If they were correct. I would toggle the dimension from shared->local->shared. EPMA is still a little nutty and this will fix a fair amount of issues as it will 'refresh' the application's version of the dimension. I would then deploy
3 - deploy from EPMA->Planning only (no essbase creation), then deploy to essbase separately after ensuring the property represents itself in planning. If it is essbase only - create the outlnie instead of refresh.
4 - create a duplicate app in EPMA and deploy the copy of the app - and see if it has the same problem
Try that and see how it goes.

Similar Messages

  • My audio interface not working with my IMac

    My audio interface not working with my IMac

    Have you tried > Apogee Electronics > Apogee Support & Product Downloads

  • I want to work with shared variables. How can I add a remote pc?

    I did an aplication to work with shared variables, but I do not know how add a remote pc. I tried make it in Variable Manager, but Labview showed a error message: "Cannot Connect to Target xxxxxxxx". What can I do?

    Message Edité par JeromeL le 08-28-2007 06:44 AM
    Jérôme LIBBRECHT

  • EPMA 11.1.2.1 Interface Tables Aliases are added as orphans

    Hi,
    I am setting up an EPMA shared library through interface tables and my aliases are not being recognized as aliases. EPMA is trying to import them as members and cannot find a hierarchy, so it is adding them to my shared dimensions as orphans.
    In my database, I have it set up as follows (for simplicity I will only use 1 dimension (Years) and the alias for that dimension).
    IM_DIMENSION
    LOADID-----C_DIMENSION_NAME-----C_DIMENSION_CLASS_NAME-----C_MEMBER_TABLE_NAME-----C_HIERARCHY_TABLE_NAME
    NULL-----------YEARS-------------------------YEAR-------------------------------------NULL---------------------------------YEARS_VW
    C_PROPERTY_ARRAY_TABLE_NAME-----C_DIM_PROPERTY_TABLE_NAME
    YEARS_ALIAS_VW-------------------------------NULL
    In my YEARS_VW I have
    LOADID-----PARENT-----CHILD-----ISPRIMARY
    null-------------YEARS--------FY09----- 1
    null-------------YEARS--------FY10----- 1
    and i have this for FY09- FY16 (The alias will be the year written out 2009, 2010, 2011, 2012, etc)
    My alias view looks like this:
    LOADID------PROPERTY------NAME------KEY------VALUE
    null--------------Alias---------------2009-------Default---null
    I have a row for each year 2009-2016
    Within EPMA, I created the alias dimension and the years dimension. I associated the alias dimension to the years dimension. I also created the import profile for the years dimension (PROF_YEARS). In the Map Dimensions section I have the dimension Years mapped to the Years shared library and selected replace as the process type. In the mapping options, only the alias column shows up and it is automatically mapped to Alias.
    When I run the profile, I get the following errors:
    "Member '2009' will be added but it is an orphan. Please check the Hierarchy Section/Table for member"
    "Member '2010' will be added but it is an orphan. Please check the Hierarchy Section/Table for member"
    "Member '2011' will be added but it is an orphan. Please check the Hierarchy Section/Table for member"
    "Member '2012' will be added but it is an orphan. Please check the Hierarchy Section/Table for member"
    "Member '2013' will be added but it is an orphan. Please check the Hierarchy Section/Table for member"
    "Member '2014' will be added but it is an orphan. Please check the Hierarchy Section/Table for member"
    "Member '2015' will be added but it is an orphan. Please check the Hierarchy Section/Table for member"
    "Member '2016' will be added but it is an orphan. Please check the Hierarchy Section/Table for member"
    (I get this error for each alias that I have)
    The members all get added correctly, but the aliases are not being added as aliases, but as orphan members.
    Any help you can provide would be greatly appreciated.
    Thanks,
    Daniel

    If you are just using the default alias and you want to put an alias against a member then you include it in your hierarchy table.
    You would have a column called ALIAS=DEFAULT e.g.
    LOADID-----PARENT-----CHILD-----ALIAS=DEFAULT------ISPRIMARY
    null-----------YEARS-------FY09----- 2009----------------------1
    You would then map the column in the import profile
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Are there ANY firewire interfaces that work with 24" imac 2.16 Core 2 duo?

    This is really getting frustrating. I have now tried and failed at getting both an m-audio profire lightbridge and a TC electronic studio konnekt 48 to work on this computer. Both interfaces were tested with Leopard and Tiger, no success.
    My computer is NOT the aluminum imac, it's the earlier whiteface version, so it's supposed to have the TI chipset(I've been told that the aluminum imacs don't work because they have a agrere chipset....) The firewire port works fine with an external hard drive, but no one seems to be able to write software drivers that work.
    If anyone is successfully running a firewire interface with this model computer please let me know what OS you are running, the interface, and what software you are using.
    I'm starting to think that the problem is on apple's end, it shouldn't be this hard for third party manufacturers to write reliable drivers. both m-audio and tc electronic's forums are littered with complaints about bad drivers for the last year or so.
    Message was edited by: MNMinstrel

    Yildox - I've been doing a little more research... Your imac has a known problem, it's the particular firewire chipset it uses, made by Agere. The older white versions have a Texas instruments chipset, which is supposed to be better, though I haven't had any success with mine so far in the audio interface department.
    I really think that the problem is bigger than that though. Everyone having a problem with a firewire audio interface seems to have one similarity, a mac made in the last 2 years running OS 10.4.9 or later.

  • Interface not working with mavericks 10.9.3

    is there anything apple can do i have pro fire 610 on mavericks upgrade os x 10.9.3 but driver no good and no updates help!!

    Try uninstalling all the software and driver(s) from the interface manufacturer and restart your mac. Then plug your interface in and see if it will work.
    I have a (different manufacturer) audio USB interface which never worked with any of the drivers from the manufacturer, with either Mountain Lion or Mavericks. Support at the manufacturer kept sending me beta drivers, none would work. I uninstalled everything and my Mac's generic audio capablilties were enough to "see" the interface and use it.

  • Audio INTERFACE that works with Garage Band??

    Any suggestions for a good inexpensive audio interface? Fast Track is awful.... Something about 250 or under?
    Want to plug guitar into device, device into MAC - and lay down tracks.

    ZoohGirl wrote:
    Do the second two in the top row work with Garage Band
    there isn't such a thing as "working with GB", if it works on a mac it will work with GB
    and ProTools?
    i know very little about protools, though they tend to be more proprietary
    can we plug them in (to guitar and MAC) and roll?
    yes
    Or is a mic needed??
    "needed", no. there are both 1/4" as well as XLR jacks, as you can see in the pics. you can use either.

  • Mics and audio interfaces that work with Camera Connector

    FYI: After playing with the Camera Connector I have been able to connect USB recording gear for use with MultiTrack DAW app on the iPad. The Blue Yeti, Samson's GTrack and Roland's Cakewalk Audio Interface all work for inputting audio. All three have internal headphone jacks which work for monitoring both the input and multitrack recordings.
    One caveat with the Yeti: it appears to be almost at the limit of the power that the iPad's USB Camera Connnector can supply. Some headphones and earbuds shut down the mic. Sennheiser HD280 phones work fine, but some of the Sennheiser buds don't.

    It has been reported before that a lot of USB audio devices (e.g., headsets, microphones). As an example see:
    http://www.electronista.com/articles/10/04/24/ipad.has.native.usb.support.for.ma ny.devices/

  • What midi interface would work with my iBook g4?

    i want to record some simple vocals and was wondering what midi would be best

    The midi interface works, but only with items with those kind of ports.
    The one you posted a link to seems to need Serial ports. Not available
    on newer Mac, perhaps on some older Tower G3/G4 or PCI card update.
    https://www.google.com/?gws_rd=ssl#q=Mini+Macman+Midiman
    While the iMic product allows other product to attach to the audio
    circuitry inside the Mac, by use of USB ports. Midi porting isn't native.
    So other adapter &/or components would be necessary with midi.
    A search of various kinds and models of MIDI (if you even need it?)
    would yield several kinds of technologies and some outdated even
    more so than the USB2.0 or 1.1 ports on an early iBook G4.
    (Some suggest using adapters and network ports, LAN, etc, if you
    were set up to choose Ethernet hardware as a path. iMic is easier.)
    The item you posted link to has no USB and no way to connect to
    the Mac, as you cannot use standard high quality audio equipment
    with the iBook G4 without accessing the USB ports. With an iMic
    you could also access output, for better quality, or pro headphones.
    Some products currently available may not work with the older vintage
    iBook G4 hardware, but the iMic can be used to adapt microphones,
    and better quality audio equipment to the Mac.
    I see one could order the iMic product from the maker web page, but
    did not try their site far enough to see if it would take actual orders.
    In some locations, you may be able to find a quality second hand one
    for less than the asking price (without warranty, though) of a new one.
    What kinds of audio are you attempting? Do you have midi hardware
    already? The item you posted a link to has no way to connect directly.
    But the iMic product from Griffin does connect to a USB port. Easily.
    Anyway, more info is needed...
    Did you read the iMic -Griffin info?

  • Focusrite Saffire interface not working with FCP 4?

    I can't seem to get my focusrite saffire audio interface to work properly with FCP? It works fine with all other apps (itunes, QT, Logic etc) and all the other Studio apps (Motion, DVD Pro and Soundtrack Pro) - but in Final Cut the sound is 'distorted' and 'jumpy'? All focusrite and FCP software is upto date.
    Has anybody else had this sort of problem? Is anybody happily using the saffire with fcp? (I can't seem to find any on the search!)
    it seems strange that it wont work with fcp but work with the other apps of the package? I can't see any sort of settings in fcp to solve this issue? Any help?!

    I am actually only using it to play back audio 'syncd' with picture straight off camera or importing clips from quicktime/DVD's etc. in FCP - it is this that I can't hear correctly? (all the clips are fine by the way played in other aps etc)
    Yes, editing is done in Soundtrack Pro or Logic Pro (used to have pro-tools mbox - but decided to ditch it and go down the Logic route with another interface!) - but I expect to be able to hear basic audio with picture in FCP?
    Sample rates are matched?...

  • What interface will work with Intel MacBookPro?

    Hi--
    I just got a replacement from Apple for the first MBP I bought earlier this year which was defective. I really like this one, but as I use it for audio recording professionally (voice over auditioning and want to use it for ISDN later), I have heard that there are many compatibility issues with the 15" Core2Duo MBP ---interfaces which will not workcorrectly. Is anyone here using similar equipment as I have with success? I am now using a Sennheiser 416 ,a Samson mixer,an imic into the USB port which does work--but I want to be able to get the value from the Sennheiser so need a better audio interface. I would appreciate any suggestions.
    Thanks, MB

    Blearyeyes,
    Are your virtual instruments loaded on, and streaming off, this external drive?
    Just curious, because TC Electronic's Support Dept. wrote me a response to that same question and said that set-up was unlikely to work with the new MacBook Pro Core 2 Duos. Here's the quote (typos and all -- I just copied and pasted):
    "with regards to the available bandwidth of the Firewire standard, it depends what you do with it. If your HD is just connected for backup reasons it should work. If you use it for streaming lots of samples for virtual instruments or many audiofiles, you might run into issues. Same i you use other Firewire devices on top.
    On our G4 notebook we have here in support i can run the Konnekt together with a Powercore FIWI without any issues.
    Best,
    Mike"
    Kind of a nice dance around a fairly important topic, don't you think?

  • Recording Interfaces that work with Logic Studio

    Hey there! I'm pretty much a noob to Logic Studio. I've been using garageband and reason 4 before that. I've had an M-Audio Fast Track that worked alright with Garageband, but it won't work with Logic, at least for me. I did some research and found out that this happened for most people.
    So I was wondering, what's a good recording interface that would work well with Logic (which should then work with garageband) that works very well and worth the money that's paid for it?
    Specs:
    Macbook Pro
    version 10.5.2
    2.4 GHz Intel Core 2 Duo
    2 GB 667 MHz DDR2 SDRAM
    Thanks alot.

    Welcome to the forum jareddddddd, i do believe the problem your having with the M-Audio is the the drivers for intel, at the moment are Beta drivers.
    Beta meaning they are going thought testing and isn't official drivers, therefore it might work or it might not.
    As flood123 said the Duet will be much better, compare to low end M-Audio interface, which will sound far better and integrates well with Logic.
    Also Fire-Face by R.M.E is a good interface, almost forget to mention Lavry interface which sounds way better than the two already mention that's only my opinion though.
    Personally i have found it to be my preferred choice compare to Apogee low end interface that hasn't got the C77 clock work that Apogee flag-ship interface has, such as the Rossette 800 and AD/DA 16 carries.
    Try and find a local music store and try out a few interface that is hook-up to L.P. by Fire wire and maybe you'll have a better choice in choosing.
    Fr.BlayZay.

  • RS485 LabVIEW interface not working with a constant

    I need to control an RS 485 interface (not a National Instruments device).
    I found a vi written by a colleague which I have attached.
    This works perfectly, so I used a probe to identify the value being generated, and used this to replace the variables with a constant.
    Now the vi doesn’t work. It runs, but the device it is connected to no longer activates. Then I found that by replacing only one variable with the constant, and keeping the other as a variable kept the vi working.
    Can anyone offer any suggestions please ?
    Of course, where I really want to get to is a vi that just reads and writes to a non-NI RS485 interface.
    Many thanks.
    Attachments:
    RS485_usb.vi ‏55 KB

    Using NI Measurement and Automation Explorer, I sent vset50\n and the instrument responded correctly by going to position 50.
    Using the 485 example http://zone.ni.com/devzone/cda/epd/p/id/2674      202314.vi    The documentation states that this example will only work with National Instruments RS-485 interfaces. I don’t have and NI 485 and not sure what difference it will make.
    In 202314.vi    I enabled the termination character  since  RS485_usb.vi ‏55 KB uses this and it works. Not sure what to do about Assert DTR and transceiver mode so I tried all combinations but kept getting error code 1073807330.
    I looked at (Help>>Find Examples..>>search term "485"), but couldn’t pick anything out that I could apply here.
    Yes, the randome numbers are now string constants in the block diagram. The string constant, now including \n, is placed at the VISA write input.
    I’ve used Measurement and Automation Explorer to send the same command repetitively and there is no problem with this, the instrument jiggles back and forth and rests at the original position.
    When the instrument doesn’t work, the vi completes without errors, but there is no instrument activity.
    Any thoughts would be appreciated.

  • Getting Autoscroll Interface to work with JScrollPane/JPanel

    I got drag and drop working with a JPanel extended class.
    JScrollPane -> JPanel
    My JPanel is a DropTarget. I want the viewable portion on that JPanel to have an Insets object associated with it. How would I do that?
    I originally associated the Insets object with the JPanel. Problem was that a lot of the JPanel can be obscured. So if the top is hidden it doesn't realize it is at the edge. I tried associating an Insets object with the JScrollPane and with the JScrollPane's JViewport with limited success. But I ran into similar errors. I may be on the right track with some of this. Not sure.
    I would appreciate any help if anyone has done this before.
    Regardless of the ways I am attempting, if you had a JScrollPane with a JPanel (and the JPanel was your DropTarget), how would you implement the autoscrolling? Esp. in regards to the Insets object?
    regards,
    Geoff Robinson

    The following code will autoscroll almost any drop target, not sure what insets you are talking about though.
        static int autoscrollMargin = 20;
        Insets autoscrollInsets = new Insets(0, 0, 0, 0);
        // AutoScroll methods.
        public void autoscroll(Point location)
            //System.out.println("mouse at " + location);
            int top = 0, left = 0, bottom = 0, right = 0;
            Dimension size = getSize();
            Rectangle rect = getVisibleRect();
            int bottomEdge = rect.y + rect.height;
            int rightEdge = rect.x + rect.width;
            if (location.y - rect.y <= autoscrollMargin && rect.y > 0) top = autoscrollMargin;
            if (location.x - rect.x <= autoscrollMargin && rect.x > 0) left = autoscrollMargin;
            if (bottomEdge - location.y <= autoscrollMargin && bottomEdge < size.height) bottom = autoscrollMargin;
            if (rightEdge - location.x <= autoscrollMargin && rightEdge < size.width) right = autoscrollMargin;
            rect.x += right - left;
            rect.y += bottom - top;
            scrollRectToVisible(rect);
        public Insets getAutoscrollInsets()
            Dimension size = getSize();
            Rectangle rect = getVisibleRect();
            autoscrollInsets.top = rect.y + autoscrollMargin;
            autoscrollInsets.left = rect.x + autoscrollMargin;
            autoscrollInsets.bottom = size.height - (rect.y + rect.height) + autoscrollMargin;
            autoscrollInsets.right = size.width - (rect.x + rect.width) + autoscrollMargin;
            return autoscrollInsets;
        }

  • Restrict Access To Page Not Working with Different Auth Levels

    I have just started playing with the idea of using different auth levels to allow different users access to certain pages on my site.
    Within my SQL database I have a authlevel table consisting of 3 possible levels (guest, user, admin)
    I am using the Dreamweaver "Log in user" to log in users based on username, pass, and auth level and "Restrict access to page" set to allow user levels 'user' and 'admin'.
    The problem, however, occurs when trying to log in.  No matter what auth level I try I am redirected to my page where users should be redirected if they are not allowed to enter that page.
    I have included below my code from my login page and the page where all authorized users (user and admin) should be directed upon entering the restricted area.
    Login Page:
    <?php require_once('../Connections/hondovfd.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    ?>
    <?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
      session_start();
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
      $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    if (isset($_POST['username'])) {
      $loginUsername=$_POST['username'];
      $password=$_POST['password'];
      $MM_fldUserAuthorization = "authlevel";
      $MM_redirectLoginSuccess = "/membersonly/membersonly.php";
      $MM_redirectLoginFailed = "/membersonly/loginfailed.php";
      $MM_redirecttoReferrer = false;
      mysql_select_db($database_hondovfd, $hondovfd);
      $LoginRS__query=sprintf("SELECT username, password, authlevel FROM login WHERE username=%s AND password=%s",
      GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));
      $LoginRS = mysql_query($LoginRS__query, $hondovfd) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      if ($loginFoundUser) {
        $loginStrGroup  = mysql_result($LoginRS,0,'authlevel');
        //declare two session variables and assign them
        $_SESSION['MM_Username'] = $loginUsername;
        $_SESSION['MM_UserGroup'] = $loginStrGroup;          
        if (isset($_SESSION['PrevUrl']) && false) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];    
        header("Location: " . $MM_redirectLoginSuccess );
      else {
        header("Location: ". $MM_redirectLoginFailed );
    ?>
    <!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"><!-- InstanceBegin template="/Templates/phptemplate.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="Title" -->
    <title>Log In</title>
    <!-- InstanceEndEditable -->
    <meta name="description" content="Hondo Fire and Rescue serves the Arroyo Hondo and Canada Village areas of Santa Fe County, NM." />
    <meta name="keywords" content="hondo, hondo fire, hondo vfd, hondo fire department, santa fe county fire department, santa fe county, volunteer fire department, hondo volunteer fire department" />
    <link href="../stylesheet.css" type="text/css" rel="stylesheet" />
    <!--[if IE]>
    <style type="text/css">
    #mainContent, #sidebar1 { zoom: 1;}
    </style>
    <![endif]-->
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="thrColLiqHdr">
    <div id="container">
    <div id="header"></div>
      <div id="sidebar1">
      <h3>Navigation : </h3>
      <ul id="MenuBar1" class="MenuBarVertical">
      <li><a href="/index.php">Home</a></li>
    <li><a href="/support.php">Support Hondo</a></li>
      <li><a class="MenuBarItemSubmenu" href="#">Information Menu</a>
        <ul>
          <li><a href="/people.php">Our People</a></li>
          <li><a href="http://www.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=101620713606637979698.00045b6ead4ab4ea70b78&z=11" target="_blank">Response Area</a></li>
          <li><a href="/medical.php">Medical</a></li>
          <li><a href="/apparatus.php">Apparatus</a></li>
          <li><a href="/training.php">Training</a></li>
          <li><a href="/volunteer.php">Volunteer</a></li>
          <li><a href="/statistics.php">Statistics</a></li>
          <li><a href="/patchtrading.php">Patch Trading</a></li>
        </ul>
      </li>
      <li><a href="/album.php">Photo Gallery</a></li>
      <li><a href="/calendar.php">Calendar</a></li>
      <li><a href="/news.php">Blog/News</a></li>
      <li><a href="/links.php">Links</a></li>
      <li><a href="/contact.php">Contact Us</a></li>
    </ul>
    <br />
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <span class="lefttext">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="8567201">
    <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </img></input></input>
      </span>
    </form>
    <span class="lefttext"><br />
    </span>
    <center>
      <span class="lefttext"><a href="http://www.facebook.com/pages/Santa-Fe-NM/Hondo-Volunteer-Fire-Department/74284233488" target="_blank" class="lefttext">Hondo VFD on Facebook</a></span>
    </center>
      <!-- end #sidebar1 --></div>
      <div id="sidebar2"> 
        <p><a href="/membersonly/login.php">Log In</a> | <a href="/membersonly/logout.php">Log Out</a></p>
        <p>Call Statistics for <?php
    $myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/month.txt";
    $fh = fopen($myFile, 'r');
    $theData = fread($fh, filesize($myFile));
    fclose($fh);
    echo $theData;
    ?> as of <?php
    $myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/date.txt";
    $fh = fopen($myFile, 'r');
    $theData = fread($fh, filesize($myFile));
    fclose($fh);
    echo $theData;
    ?></p>
      <table width="90%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="60%">EMS Calls</td>
        <td width="40%"><?php
    $myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/emscalls.txt";
    $fh = fopen($myFile, 'r');
    $theData = fread($fh, filesize($myFile));
    fclose($fh);
    echo $theData;
    ?></td>
      </tr>
      <tr>
        <td>Fire Calls</td>
        <td><?php
    $myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/firecalls.txt";
    $fh = fopen($myFile, 'r');
    $theData = fread($fh, filesize($myFile));
    fclose($fh);
    echo $theData;
    ?></td>
      </tr>
    </table>
      <hr />
        <div id="cse" style="width:100%;">Loading</div>
    <script src="http://www.google.com/jsapi" type="text/javascript"></script>
    <script type="text/javascript">
      google.load('search', '1');
      google.setOnLoadCallback(function(){
        new google.search.CustomSearchControl().draw('cse');
      }, true);
    </script>
         <!-- End Google Search Element -->
      </div>
      <!-- end #sidebar2 -->
      <div id="mainContent">
      <div class="top"></div><div class="wrap"><!-- InstanceBeginEditable name="Main Content" -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="47" class="h2">Members Only Login</td>
      </tr>
      <tr>
        <td><form ACTION="<?php echo $loginFormAction; ?>" id="login" name="login" method="POST">
        <table width="40%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="31%">Username:</td>
        <td width="69%"><input name="username" type="text" /></td>
      </tr>
      <tr>
        <td>Password</td>
        <td><input name="password" type="password" /></td>
      </tr>
    </table>
    <input name="Submit" type="submit" />
        </form></td>
      </tr>
    </table>
      <!-- InstanceEndEditable -->
    </div>
    <div class="bottom"></div>
    </div>
         <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --> <br class="clearfloat" />
      <div id="footer">
        <p align="center">&copy; Copyright 2009 Hondo Volunteer Fire Department | <a href="mailto:[email protected]">Contact Us</a><a href="http://www.legalhelpers.com/chapter-13-bankruptcy/chapter13.html"></a><br />Hosting provided by <a href="http://studiox.com/" target="_blank">Studio X</a></p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    <?php include_once("/var/home/hondovfd/hondovfd.org/www/analyticstracking.php"); ?>
    </body>
    <!-- InstanceEnd --></html>
    Other Page:
    <?php
    if (!isset($_SESSION)) {
      session_start();
    $MM_authorizedUsers = "user,admin";
    $MM_donotCheckaccess = "false";
    // *** Restrict Access To Page: Grant or deny access to this page
    function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
      // For security, start by assuming the visitor is NOT authorized.
      $isValid = False;
      // When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
      // Therefore, we know that a user is NOT logged in if that Session variable is blank.
      if (!empty($UserName)) {
        // Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
        // Parse the strings into arrays.
        $arrUsers = Explode(",", $strUsers);
        $arrGroups = Explode(",", $strGroups);
        if (in_array($UserName, $arrUsers)) {
          $isValid = true;
        // Or, you may restrict access to only certain users based on their username.
        if (in_array($UserGroup, $arrGroups)) {
          $isValid = true;
        if (($strUsers == "") && false) {
          $isValid = true;
      return $isValid;
    $MM_restrictGoTo = "/membersonly/loginfailed.php";
    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {  
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0)
      $MM_referrer .= "?" . $QUERY_STRING;
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    ?>
    <!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"><!-- InstanceBegin template="/Templates/phptemplate.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="Title" -->
    <title>Members Only Area</title>
    <!-- InstanceEndEditable -->
    <meta name="description" content="Hondo Fire and Rescue serves the Arroyo Hondo and Canada Village areas of Santa Fe County, NM." />
    <meta name="keywords" content="hondo, hondo fire, hondo vfd, hondo fire department, santa fe county fire department, santa fe county, volunteer fire department, hondo volunteer fire department" />
    <link href="../stylesheet.css" type="text/css" rel="stylesheet" />
    <!--[if IE]>
    <style type="text/css">
    #mainContent, #sidebar1 { zoom: 1;}
    </style>
    <![endif]-->
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="thrColLiqHdr">
    <div id="container">
    <div id="header"></div>
      <div id="sidebar1">
      <h3>Navigation : </h3>
      <ul id="MenuBar1" class="MenuBarVertical">
      <li><a href="/index.php">Home</a></li>
    <li><a href="/support.php">Support Hondo</a></li>
      <li><a class="MenuBarItemSubmenu" href="#">Information Menu</a>
        <ul>
          <li><a href="/people.php">Our People</a></li>
          <li><a href="http://www.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=101620713606637979698.00045b6ead4ab4ea70b78&z=11" target="_blank">Response Area</a></li>
          <li><a href="/medical.php">Medical</a></li>
          <li><a href="/apparatus.php">Apparatus</a></li>
          <li><a href="/training.php">Training</a></li>
          <li><a href="/volunteer.php">Volunteer</a></li>
          <li><a href="/statistics.php">Statistics</a></li>
          <li><a href="/patchtrading.php">Patch Trading</a></li>
        </ul>
      </li>
      <li><a href="/album.php">Photo Gallery</a></li>
      <li><a href="/calendar.php">Calendar</a></li>
      <li><a href="/news.php">Blog/News</a></li>
      <li><a href="/links.php">Links</a></li>
      <li><a href="/contact.php">Contact Us</a></li>
    </ul>
    <br />
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <span class="lefttext">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="8567201">
    <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </img></input></input>
      </span>
    </form>
    <span class="lefttext"><br />
    </span>
    <center>
      <span class="lefttext"><a href="http://www.facebook.com/pages/Santa-Fe-NM/Hondo-Volunteer-Fire-Department/74284233488" target="_blank" class="lefttext">Hondo VFD on Facebook</a></span>
    </center>
      <!-- end #sidebar1 --></div>
      <div id="sidebar2"> 
        <p><a href="/membersonly/login.php">Log In</a> | <a href="/membersonly/logout.php">Log Out</a></p>
        <p>Call Statistics for <?php
    $myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/month.txt";
    $fh = fopen($myFile, 'r');
    $theData = fread($fh, filesize($myFile));
    fclose($fh);
    echo $theData;
    ?> as of <?php
    $myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/date.txt";
    $fh = fopen($myFile, 'r');
    $theData = fread($fh, filesize($myFile));
    fclose($fh);
    echo $theData;
    ?></p>
      <table width="90%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="60%">EMS Calls</td>
        <td width="40%"><?php
    $myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/emscalls.txt";
    $fh = fopen($myFile, 'r');
    $theData = fread($fh, filesize($myFile));
    fclose($fh);
    echo $theData;
    ?></td>
      </tr>
      <tr>
        <td>Fire Calls</td>
        <td><?php
    $myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/firecalls.txt";
    $fh = fopen($myFile, 'r');
    $theData = fread($fh, filesize($myFile));
    fclose($fh);
    echo $theData;
    ?></td>
      </tr>
    </table>
      <hr />
        <div id="cse" style="width:100%;">Loading</div>
    <script src="http://www.google.com/jsapi" type="text/javascript"></script>
    <script type="text/javascript">
      google.load('search', '1');
      google.setOnLoadCallback(function(){
        new google.search.CustomSearchControl().draw('cse');
      }, true);
    </script>
         <!-- End Google Search Element -->
      </div>
      <!-- end #sidebar2 -->
      <div id="mainContent">
      <div class="top"></div><div class="wrap"><!-- InstanceBeginEditable name="Main Content" -->
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="47" class="h2">Members Only Area</td>
      </tr>
      <tr>
        <td><p><a href="/membersonly/documents.php">Useful Documents</a></p>
          <p><a href="/membersonly/IncidentCount01_08.pdf">Current Call Statistics</a> as of 9/3/09</p>
          </td>
      </tr>
    </table>
      <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script><!-- InstanceEndEditable -->
    </div>
    <div class="bottom"></div>
    </div>
         <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --> <br class="clearfloat" />
      <div id="footer">
        <p align="center">&copy; Copyright 2009 Hondo Volunteer Fire Department | <a href="mailto:[email protected]">Contact Us</a><a href="http://www.legalhelpers.com/chapter-13-bankruptcy/chapter13.html"></a><br />Hosting provided by <a href="http://studiox.com/" target="_blank">Studio X</a></p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    <?php include_once("/var/home/hondovfd/hondovfd.org/www/analyticstracking.php"); ?>
    </body>
    <!-- InstanceEnd --></html>

    you don't need all that bloat.  set a session during login of some kind of uniquely identifying id.  i.e.
    $_SESSION['id'] = $row_rs['id'];
    then on the pages you need to protect, check it like this....
    <?php
    session_start();
    if (!(isset($_SESSION['id']) && $_SESSION['id'] != '')) {
    die(header("Location: http://www.notinprotectedareas.com")); }
    ?>
    you can use an include file i.e.
    <?php require_once('login_check.php'); ?>
    where file is name login_check.php to make your auth controls clean on your protected pages.

Maybe you are looking for

  • Chain Reports

    I have a client that wants to print 2 reports with one click in her application. Since I don't have the source code to the application, I cannot change the behavior to print 2 reports. So I am trying to embed one report into another in a Crystal Repo

  • Map Webservice schema to actionscript bean?

    I used the wizard in flex builder to generate webservice proxy classes from a wsdl. The wizard created bean type classes from the wsdl schema. I already had model classes for my flex views/forms. I have to set different properties of these models dep

  • BO 4.0

    Hi All, I am working on BO 4.0 now, so need help. Can we save Webi report in excel format and how? Regards,

  • Table Maintenance Generator via program using ALV OO concept

    Hi All, I have a requriement to update the table using OO ALV i.e table maintenance generator program. My Z table have three fields say.. NEW status, old status and flag. I have to dispaly the records of the Z table in Matrix format. for example the

  • Regarding BPM and UCM integration

    we are unable to add a custom attribute in documents tab in Human Task Flow, where we want to pass a custom value to be stored in UCM for retrieval of the document How can we add a custom attribute in HumanTaskFlow, which has to be stored in UCM doc