Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php include "header.php" ?>
- <style type="text/css">
- form{ font: 14px sans-serif; }
- .wrapper{ width: 350px; padding: 20px; }
- </style>
- <div class="wrapper">
- <h2>Add a New Company</h2>
- <p>Please fill this form to add a new company.</p>
- <form action="logoUpload.php" method="post" autocomplete="off">
- <div class="form-group <?php echo (!empty($companyName_err)) ? 'has-error' : ''; ?>">
- <label>Company Name:</label>
- <input type="text" name="companyName" class="form-control" value="<?php echo $companyName; ?>">
- <span class="help-block"><?php echo $companyName_err; ?></span>
- </div>
- <div class="form-group <?php echo (!empty($address1_err)) ? 'has-error' : ''; ?>">
- <label>Address Line 1:</label>
- <input type="text" name="address1" class="form-control" value="<?php echo $address1; ?>">
- <span class="help-block"><?php echo $address1_err; ?></span>
- </div>
- <div class="form-group <?php echo (!empty($address2_err)) ? 'has-error' : ''; ?>">
- <label>Address Line 2:</label>
- <input type="text" name="address2" class="form-control" value="<?php echo $address2; ?>">
- <span class="help-block"><?php echo $address2_err; ?></span>
- </div>
- <div class="form-group <?php echo (!empty($city_err)) ? 'has-error' : ''; ?>">
- <label>City:</label>
- <input type="text" name="city" class="form-control" value="<?php echo $city; ?>">
- <span class="help-block"><?php echo $city_err; ?></span>
- </div>
-
- <div class="form-group <?php echo (!empty($state_err)) ? 'has-error' : ''; ?>">
- <label>State:</label>
- <input type="text" name="state" class="form-control" value="<?php echo $state; ?>">
- <span class="help-block"><?php echo $state_err; ?></span>
- </div>
-
- <div class="form-group <?php echo (!empty($zip_err)) ? 'has-error' : ''; ?>">
- <label>Zip:</label>
- <input type="text" name="zip" class="form-control" value="<?php echo $zip; ?>">
- <span class="help-block"><?php echo $zip_err; ?></span>
- </div>
- <div class="form-group <?php echo (!empty($country_err)) ? 'has-error' : ''; ?>">
- <label>Country:</label>
- <input type="text" name="country" class="form-control" value="<?php echo $country; ?>">
- <span class="help-block"><?php echo $country_err; ?></span>
- </div>
- <div class="form-group <?php echo (!empty($phone_err)) ? 'has-error' : ''; ?>">
- <label>Phone:</label>
- <input type="text" name="phone" class="form-control" value="<?php echo $phone; ?>">
- <span class="help-block"><?php echo $phone_err; ?></span>
- </div>
- <div class="form-group <?php echo (!empty($email_err)) ? 'has-error' : ''; ?>">
- <label>E-Mail:</label>
- <input type="text" name="email" class="form-control" value="<?php echo $email; ?>">
- <span class="help-block"><?php echo $email_err; ?></span>
- </div>
- <div class="form-group <?php echo (!empty($logo_err)) ? 'has-error' : ''; ?>">
- <label>Logo:</label>
- <input type="file" name="logo" id="logo" class="form-control" value="<?php echo $logo; ?>">
- <span class="help-block"><?php echo $logo_err; ?></span>
- </div>
- <div class="form-group <?php echo (!empty($logoName_err)) ? 'has-error' : ''; ?>">
- <label>Logo Name:</label>
- <input type="text" name="logoName" class="form-control" value="<?php echo $logoName; ?>">
- <span class="help-block"><?php echo $logoName_err; ?></span>
- </div>
- </div>
- <div class="form-group">
- <input type="submit" class="btn btn-primary" value="Submit">
- <input type="reset" class="btn btn-default" value="Reset">
- </div>
- </form>
- </div>
- <?php include "footer.php"; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement