Advertisement
Guest User

addCustomer.php

a guest
Aug 22nd, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.25 KB | None | 0 0
  1. <?php include "header.php" ?>
  2.  
  3.  
  4.  
  5.  
  6.  
  7. <style type="text/css">
  8. form{ font: 14px sans-serif; }
  9. .wrapper{ width: 350px; padding: 20px; }
  10.  
  11. </style>
  12.  
  13. <div class="wrapper">
  14. <h2>Add a New Company</h2>
  15. <p>Please fill this form to add a new company.</p>
  16. <form action="logoUpload.php" method="post" autocomplete="off">
  17. <div class="form-group <?php echo (!empty($companyName_err)) ? 'has-error' : ''; ?>">
  18. <label>Company Name:</label>
  19. <input type="text" name="companyName" class="form-control" value="<?php echo $companyName; ?>">
  20. <span class="help-block"><?php echo $companyName_err; ?></span>
  21. </div>
  22.  
  23. <div class="form-group <?php echo (!empty($address1_err)) ? 'has-error' : ''; ?>">
  24. <label>Address Line 1:</label>
  25. <input type="text" name="address1" class="form-control" value="<?php echo $address1; ?>">
  26. <span class="help-block"><?php echo $address1_err; ?></span>
  27. </div>
  28. <div class="form-group <?php echo (!empty($address2_err)) ? 'has-error' : ''; ?>">
  29. <label>Address Line 2:</label>
  30. <input type="text" name="address2" class="form-control" value="<?php echo $address2; ?>">
  31. <span class="help-block"><?php echo $address2_err; ?></span>
  32. </div>
  33.  
  34. <div class="form-group <?php echo (!empty($city_err)) ? 'has-error' : ''; ?>">
  35. <label>City:</label>
  36. <input type="text" name="city" class="form-control" value="<?php echo $city; ?>">
  37. <span class="help-block"><?php echo $city_err; ?></span>
  38. </div>
  39. &nbsp;
  40. <div class="form-group <?php echo (!empty($state_err)) ? 'has-error' : ''; ?>">
  41. <label>State:</label>
  42. <input type="text" name="state" class="form-control" value="<?php echo $state; ?>">
  43. <span class="help-block"><?php echo $state_err; ?></span>
  44. </div>
  45. &nbsp;
  46. <div class="form-group <?php echo (!empty($zip_err)) ? 'has-error' : ''; ?>">
  47. <label>Zip:</label>
  48. <input type="text" name="zip" class="form-control" value="<?php echo $zip; ?>">
  49. <span class="help-block"><?php echo $zip_err; ?></span>
  50. </div>
  51.  
  52. <div class="form-group <?php echo (!empty($country_err)) ? 'has-error' : ''; ?>">
  53. <label>Country:</label>
  54. <input type="text" name="country" class="form-control" value="<?php echo $country; ?>">
  55. <span class="help-block"><?php echo $country_err; ?></span>
  56. </div>
  57. <div class="form-group <?php echo (!empty($phone_err)) ? 'has-error' : ''; ?>">
  58. <label>Phone:</label>
  59. <input type="text" name="phone" class="form-control" value="<?php echo $phone; ?>">
  60. <span class="help-block"><?php echo $phone_err; ?></span>
  61. </div>
  62. <div class="form-group <?php echo (!empty($email_err)) ? 'has-error' : ''; ?>">
  63. <label>E-Mail:</label>
  64. <input type="text" name="email" class="form-control" value="<?php echo $email; ?>">
  65. <span class="help-block"><?php echo $email_err; ?></span>
  66. </div>
  67. <div class="form-group <?php echo (!empty($logo_err)) ? 'has-error' : ''; ?>">
  68. <label>Logo:</label>
  69. <input type="file" name="logo" id="logo" class="form-control" value="<?php echo $logo; ?>">
  70. <span class="help-block"><?php echo $logo_err; ?></span>
  71. </div>
  72. <div class="form-group <?php echo (!empty($logoName_err)) ? 'has-error' : ''; ?>">
  73. <label>Logo Name:</label>
  74. <input type="text" name="logoName" class="form-control" value="<?php echo $logoName; ?>">
  75. <span class="help-block"><?php echo $logoName_err; ?></span>
  76. </div>
  77.  
  78. </div>
  79. <div class="form-group">
  80. <input type="submit" class="btn btn-primary" value="Submit">
  81. <input type="reset" class="btn btn-default" value="Reset">
  82. </div>
  83. </form>
  84. </div>
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95. <?php include "footer.php"; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement