ProfileBar();
?>
</ul>
<nav>
  <div class="nav-wrapper grey darken-3">
    <!--<a href="#!" class="brand-logo">Logo</a>-->
    <a href="#" data-activates="mobile-demo" class="button-collapse"><i class="mdi-navigation-menu"></i></a>
    
    <ul class="left hide-on-med-and-down">
      <?php 
NavBar();
?>
    </ul>
    <ul class="right hide-on-med-and-down">
      <?php 
AdminEntry();
?>
      <li><a class="dropdown-button" href="#!" data-activates="dropdown1" style="text-indent: .5em;"><?php 
AccountName();
?>
<i class="mdi-navigation-expand-more right "></i></a></li>
    </ul>
    
    <ul class="side-nav" id="mobile-demo">
      <?php 
NavBar();
?>
    </ul>
  </div>
</nav>
Example #2
0
                    $s_desc = $row["s_desc"];
                    $l_desc = $row["l_desc"];
                    $on_hand = $row["my_count"];
                    echo "<p>{$s_desc}</p>";
                }
                echo "<p><IMG title='{$l_desc}' src='./pics/" . $my_cat_id . "_{$my_id}" . ".jpg'></p>";
                echo "<form method='POST' action='{$cgi}' enctype='multipart/form-data'>";
                echo "<input type='hidden' name='act' value='upload'>\n";
                echo "<input type='hidden' name='my_id' value='{$my_id}'>\n";
                echo "<input type='hidden' name='cargo' value='comment'>\n";
                echo "<p>File to upload : <input type ='file' name = 'uploadedfile'></p><br />";
                echo "<input type='submit'  class='hulk-button' name = 'submit' value='Change Photo'>\n";
                echo "</form>";
            }
        }
        NavBar($cgi, $act, $usr_access, $copyrite);
        break;
}
// Cleanup
$dblink->close();
// notes
/*
	
				CREATE TABLE IF NOT EXISTS `$dbf_prefix" . "_trans` (
				  `id` float NOT NULL AUTO_INCREMENT,
				  `cat_id` float NOT NULL,
				  `prod_id` float NOT NULL,
				  `qty` float NOT NULL,
				  `my_usr` varchar(30) NOT NULL DEFAULT '',
				  `my_date` date NOT NULL DEFAULT '0000-00-00',
				  `my_time` varchar(5) NOT NULL DEFAULT '',