<?php include ("php/connect.php");?>
<?php include ("php/nav.php");?>
<?php include ("php/account.php");?>
<?php include ("php/products.php");?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Logo Masters Intl., Inc - Employee Admin Dashboard</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>
<script src="https://cdn.tiny.cloud/1/znxig3ypa8s92l5po9mh8sjo9qm1tkx67rkavrg3r1kc3xx0/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>
<script>
tinymce.init({
selector: 'textarea',
plugins: 'advlist autolink lists link image charmap print preview anchor searchreplace visualblocks code fullscreen insertdatetime media table paste imagetools wordcount',
toolbar_mode: 'floating',
image_advtab: true,
convert_urls:false,
});
</script>
</head>
<body>
<div id="Container">
<div id="Header"><img src="assets/SavvyLogo.png" alt="" height="35" align="absbottom"/>SAVVY SITE DEIGNS
<div class="HeaderRight"><a href="php/secure.php?doLogout=true"><img src="assets/logout.png" alt="Logout" />LOGOUT</a></div>
<div class="HeaderRight"><img src="assets/active-user-icon.png" alt="Welcome"/>Welcome <?php echo $row_Account['name']; ?>!</div>
</div>
<?php echo $Nav_Output; ?>
<div id="ContentCtn">
<div class="ContentHeader">
<h1>LOGO MASTERS INTERNATIONAL, INC.</h1>
</div>
<div class="pageTitle">
<h3><img src="assets/dashboard-icon.png" alt="" width="38" height="40" align="absmiddle"/> Dashboard</h3></div>
<div class="Content">
<div class="container">
<ul class="tabs">
<li class="tab-link current" data-tab="tab-1">Search Products</li>
<li class="tab-link" data-tab="tab-2">Add Products</li>
<li class="tab-link" data-tab="tab-3">Recently Updated</li>
</ul>
<div id="tab-1" class="tab-content current">
<form action="search-results.php" method="post" name="form1" id="form1">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td><label for="textfield">Search Product Number:</label><input name="unitNumber" type="text" id="unitNumber" placeholder="Ex. L500"></td>
</tr>
<tr>
<td><input type="submit" name="submit" id="submit" value="Search">
<input name="search" type="hidden" id="search" value="Yes"></td>
</tr>
</tbody>
</table>
</form>
</div>
<div id="tab-2" class="tab-content">
<form action="php/add.php" method="post" name="form1" id="form2">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td>Manufacture:</td>
</tr>
<tr>
<td><span class="style11">
<select name="manufacture" id="manufacture">
<?php echo $Brand_Output; ?>
</select>
</span></td>
</tr>
<tr>
<td>Product Name:</td>
</tr>
<tr>
<td><span class="style11">
<input name="name" type="text" class="style11" id="name" placeholder="Product Name">
</span></td>
</tr>
<tr>
<td>Product Number:</td>
</tr>
<tr>
<td><span class="style11">
<input name="unitNumber" type="text" class="style11" id="unitNumber" placeholder="D500" size="10">
</span></td>
</tr>
<tr>
<td>Description: </td>
</tr>
<tr>
<td><span class="style11">
<textarea name="description" cols="40" rows="4" class="style11" id="description" placeholder="Product Description"></textarea>
</span></td>
</tr>
<tr>
<td>Base Price:</td>
</tr>
<tr>
<td><span class="style11">
<input name="price" type="text" class="style11" id="price" placeholder="0.00" size="5">
</span></td>
</tr>
<tr>
<td>AMGI Price:</td>
</tr>
<tr>
<td><span class="style11">
<input name="AMGI_PRICE" type="text" class="style11" id="AMGI_PRICE" placeholder="0.00" size="5">
</span></td>
</tr>
<tr>
<td>Show Price On:</td>
</tr>
<tr>
<td><input name="showPrice_main" type="checkbox" id="showPrice_main" value="1">
Main
<input name="showPrice_GE" type="checkbox" id="showPrice_GE" value="1">
GE
<input name="showPrice_EC" type="checkbox" id="showPrice_EC" value="1">
EC
<input name="showPrice_NFCU" type="checkbox" id="showPrice_NFCU" value="1">
NFCU </td>
</tr>
<tr>
<td>Compainion Style Number: </td>
</tr>
<tr>
<td><span class="style11">
<input name="Companion_Style" type="text" class="style11" id="Companion_Style" placeholder="L500" size="10">
</span></td>
</tr>
<tr>
<td align="right"><input name="submit2" type="submit" id="submit2" value="Next >>"></td>
</tr>
<tr>
<td><input name="Product" type="hidden" id="Product" value="Add"></td>
</tr>
</tbody>
</table>
</form>
</div>
<div id="tab-3" class="tab-content">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td width="24%" align="left" valign="middle"><strong>Primary Image</strong></td>
<td width="52%" align="left" valign="middle"><strong>Product</strong></td>
<td width="24%" align="center" valign="middle"><strong>Last Updated</strong></td>
</tr>
<?php echo $Recent_Output; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
$('ul.tabs li').click(function(){
var tab_id = $(this).attr('data-tab');
$('ul.tabs li').removeClass('current');
$('.tab-content').removeClass('current');
$(this).addClass('current');
$("#"+tab_id).addClass('current');
})
})
</script>
</body>
</html> |