Location: PHPKode > projects > OpenBizMap > obm2007.1/mydata/script/skin__mobile.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="SHORTCUT ICON" href="favicon.ico" />

<link rel="stylesheet" type="text/css" href="autosuggest.css" />
<script type="text/javascript">
  var needToConfirm = false;
  var skipConfirm = false;
  window.onbeforeunload = confirmExit;
  function confirmExit()
  {
    if(needToConfirm && !skipConfirm)
      return "<?php myecho('You have attempted to leave this page. If you have made any changes to the fields without clicking the Save button, your changes will be lost.  Are you sure you want to exit this page?'); ?>";
  }
</script>

<?php echo ODBJAVASCRIPT; ?>
<script type="text/javascript" src="autosuggest.js"></script>
<script type="text/javascript" src="calendarpopup.js"></script>

<title><?php
    if($mm1)
      myecho($mm1);
    if($mm2)
    {
      echo ' &raquo; ';
      myecho($mm2);
    }
?></title>
</head>
<body>

<p><a name="top"></a>
<?php
  echo '<b>'.cfg_skin_name.'</b>';
  $is_first_menu=1;
  reset($menu_array);
  while(list($menu_name,$submenu)=each($menu_array))
  {
    if(!is_array($submenu))
    {
        echo ' | ';
      $menu_link=$submenu;
      if(substr($menu_link,0,4)=='http')
        echo '<a href="'.$menu_link.'">';
      else
      echo '<a href="index.php?'.$menu_link.'&amp;odb_mm1='.$menu_name.'&amp;odb_mm2=&amp;odb_lid='.NEW_LID.'">';
        myecho($menu_name);
      echo '</a>';
      $is_first_menu=0;
    }
  }
  echo ' | <a href="#search">';
    myecho('Search');
  echo '</a>';
?>


  <?php include(ODBSCRIPT); ?>


<a name="search"></a>
<?php

  echo '<h2>';
    myecho('Search and Menu');
  echo '</h2>';

  echo '<a href="#top">';
    myecho('Page Top');
  echo '</a>';
?>
<hr />

<div class="navsearch"><form id="form0" action="index.php" method="get"><div>
<input class="search" style="width:100px;" name="odb_search" type="text" value="<?php if($search!='---') echo $search; ?>" />
<?php echo '<input class="button" name="submit" type="submit" value="'.myecho('Search','RETURN').'" />'; ?>
<input name="odb_script" type="hidden" value="<?php if($script!='new') echo $script; ?>" />
<input name="odb_group" type="hidden" value="<?php if(isset($group)) echo $group; ?>" />
<input name="odb_popup" type="hidden" value="<?php echo $popup; ?>" />

<?php
  if($script=='report' or $script=='action' or $script=='cal' or $script=='rcal')
  {
    echo '<input name="odb_title" type="hidden" value="'.$title.'" />';
    echo '<input name="k2" type="hidden" value="'.get('k2').'"/>';
    echo '<input name="k3" type="hidden" value="'.get('k3').'"/>';
    echo '<input name="k4" type="hidden" value="'.get('k4').'"/>';
    for($ii=1;$ii<4;$ii++)
    {
      echo '<input name="a'.$ii.'" type="hidden" value="'.get('a'.$ii).'" />';
      echo '<input name="f'.$ii.'" type="hidden" value="'.get('f'.$ii).'" />';
      echo '<input name="s'.$ii.'" type="hidden" value="'.get('s'.$ii).'" />';
    }
    for($ii=1;$ii<11;$ii++)
    {
      echo '<input name="n'.$ii.'" type="hidden" value="'.get('n'.$ii).'" />';
      echo '<input name="e'.$ii.'" type="hidden" value="'.get('e'.$ii).'" />';
      echo '<input name="v'.$ii.'" type="hidden" value="'.get('v'.$ii).'" />';
    }
  }
?>
</div></form></div>

<br />

<ul id="csstopmenu" style="margin-left:1px;">
<?php

  $is_first_menu=1;
  reset($menu_array);
  while(list($menu_name,$submenu)=each($menu_array))
  {
    $menu_link='';
    $submenu_array=array();

    echo '<li class="mainitems">';

    if(is_array($submenu))
    {
      $submenu_array=$submenu;

      echo '<div class="headerlinks"><a>';
      echo myecho($menu_name,'RETURN');
      echo '</a></div>';
      echo '<ul class="submenus">';
      while(list($submenu_name,$submenu_link)=each($submenu_array))
      {
        if($submenu_link=='')
        {
          echo '<li> ------------------- ';
          echo '</li>';
        }
        else
        {
          echo '<li>';
          if(substr($submenu_link,0,4)=='http')
            echo '<a href="'.$submenu_link.'">';
          else
          echo '<a href="index.php?'.$submenu_link.'&amp;odb_mm1='.$menu_name.'&amp;odb_mm2='.$submenu_name.'&amp;odb_lid='.NEW_LID.'">';
          myecho($submenu_name);
          echo '</a>';
          echo '</li>';
        }
      }
      echo '</ul>';
    }
    else
    {
      $menu_link=$submenu;
      if(substr($menu_link,0,4)=='http')
        echo '<div class="headerlinks"><a href="'.$menu_link.'">';
      else
      echo '<div class="headerlinks"><a href="index.php?'.$menu_link.'&amp;odb_mm1='.$menu_name.'&amp;odb_mm2=&amp;odb_lid='.NEW_LID.'">';
      echo myecho($menu_name,'RETURN');
      echo '</a></div>';
    }

    echo '</li>';
    $is_first_menu=0;
  }

  echo '<li>';
    myecho('System');
    echo '<ul class="submenus">';
      echo '<li><a href="index.php?odb_login=logoff">'; myecho('Logoff'); echo '</a></li>';
      if($script)
      {
        echo '<li><a href="index.php?odb_search='.urlencode($search).'">'; myecho('Show plain data'); echo '</a></li>';
      }
      echo '<li><a href="index.php?odb_script=chpasswd">'; myecho('Change password'); echo '</a></li>';
      echo '<li><a href="'.cfg_help_url.'">'; myecho('Help'); echo '</a></li>';
    echo '</ul>';
  echo '<li>';
?>


</ul>
<div id="clearmenu" style="clear: left"></div>

<hr />
<p>
Hotline hide@address.com, +48 600 216 716 <br />
OpenDataBag <?php echo INFO; ?>
</p>
</body>
</html>
Return current item: OpenBizMap