%PDF-1.4
Directory : /var/www/vhosts/lautnusantara.com/httpdocs/mis/app/Views/theme/BeyondAdmin/halaman/modul/perusahaan/ |
<div class="row"> <div class="col-xs-12 col-md-12"> <div class="widget"> <div class="widget-header "> <span class="widget-caption"> <?= $page1 ?> </span> <div class="widget-buttons"> <a href="tables-data.html#" data-toggle="maximize"> <i class="fa fa-expand"></i> </a> <a class="sidebar-toggler" href="#"> <i class="fa fa-arrows-h"></i> </a> </div> </div> <div class="widget-body"> <?php if (!empty(session()->getFlashdata('error'))): ?> <div class="alert alert-danger fade in"> <button class="close" data-dismiss="alert"> × </button> <i class="fa-fw fa fa-times"></i> <strong>Error!</strong> <?= session()->getFlashdata('error'); ?> </div> <?php endif; ?> <div id="horizontal-form"> <form class="form-horizontal" role="form" method="post" enctype="multipart/form-data" action="<?= $url_form ?>"> <div class="row" style="margin-bottom: 10px;"> <div class="col-sm-8"> <div class="form-group"> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;">Nama Perusahaan</label> <div class="col-sm-9"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Nama Perusahaan" name="nama" value="<?= $nama ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> </div> </div> </div> <div class="row" style="margin-bottom: 10px;"> <div class="col-sm-8"> <div class="form-group"> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;">Alamat Perusahaan</label> <div class="col-sm-9"> <textarea id="metadesc" name="alamat" rows="6" style="width: 100%;"><?= $alamat ?></textarea> </div> </div> </div> </div> <div class="row" style="margin-bottom: 10px;"> <div class="col-sm-8"> <div class="form-group"> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;">Telepon</label> <div class="col-sm-3"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Telp1" name="telp" value="<?= $telp ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <div class="col-sm-2"> <span class="input-icon icon-right" style="margin-top: 10px;text-align:right"> Nama Sales </span> </div> <div class="col-sm-4"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Nama Sales 1" name="cs" value="<?= $cs ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;"> </label> <div class="col-sm-3"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Telp2" name="telp2" value="<?= $telp2 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <div class="col-sm-2"> <span class="input-icon icon-right" style="margin-top: 10px;"> </span> </div> <div class="col-sm-4"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Nama Sales 2" name="cs2" value="<?= $cs2 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;"> </label> <div class="col-sm-3"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Telp3" name="telp3" value="<?= $telp3 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <div class="col-sm-2"> <span class="input-icon icon-right" style="margin-top: 10px;"> </span> </div> <div class="col-sm-4"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Nama Sales 3" name="cs3" value="<?= $cs3 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;"> </label> <div class="col-sm-3"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Telp4" name="telp4" value="<?= $telp4 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <div class="col-sm-2"> <span class="input-icon icon-right" style="margin-top: 10px;"> </span> </div> <div class="col-sm-4"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Nama Sales 4" name="cs4" value="<?= $cs4 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;"> </label> <div class="col-sm-3"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Telp5" name="telp5" value="<?= $telp5 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <div class="col-sm-2"> <span class="input-icon icon-right" style="margin-top: 10px;"> </span> </div> <div class="col-sm-4"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Nama Sales 5" name="cs5" value="<?= $cs5 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> </div> </div> </div> <div class="row" style="margin-bottom: 10px;"> <div class="col-sm-8"> <div class="form-group"> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;">Jenis Whatsapp</label> <div class="col-sm-9"> <span class="input-icon icon-right"> <label> <input name="jenis_wa" type="radio" class="colored-blue" value="1" <?php if ($jenis_wa == 1) { echo "checked"; } ?>> <span class="text"> Standart</span> </label> <label> <input name="jenis_wa" type="radio" class="colored-danger" value="2" <?php if ($jenis_wa == 2) { echo "checked"; } ?>> <span class="text"> Chat WA</span> </label> <label> <input name="jenis_wa" type="radio" class="colored-success" value="3" <?php if ($jenis_wa == 3) { echo "checked"; } ?>> <span class="text"> Chat Wa Multi Sales</span> </label> </span> </div> </div> </div> </div> <div class="row" style="margin-bottom: 10px;"> <div class="col-sm-8"> <div class="form-group"> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;">Fax</label> <div class="col-sm-9"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="fax" name="fax" value="<?= $fax ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> </div> </div> </div> <div class="row" style="margin-bottom: 10px;"> <div class="col-sm-8"> <div class="form-group"> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;">E-mail</label> <div class="col-sm-9"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="e-Mail" name="email" value="<?= $email ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;"></label> <div class="col-sm-9"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="e-Mail2" name="email2" value="<?= $email2 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;"></label> <div class="col-sm-9"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="e-Mail3" name="email3" value="<?= $email3 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;"></label> <div class="col-sm-9"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="e-Mail4" name="email4" value="<?= $email4 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;"></label> <div class="col-sm-9"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="e-Mail5" name="email5" value="<?= $email5 ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> </div> </div> </div> <div class="row" style="margin-bottom: 10px;"> <div class="col-sm-8"> <div class="form-group"> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;">Copyright</label> <div class="col-sm-9"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="Copyright" name="copyright" value="<?= $copyright ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> </div> </div> </div> <div class="row" style="margin-bottom: 10px;"> <div class="col-sm-8"> <div class="form-group"> <label for="inputEmail3" class="col-sm-3 control-label no-padding-right text-right" style="margin-top: 5px;padding-top: 1px;">URL Website</label> <div class="col-sm-9"> <span class="input-icon icon-right"> <input type="text" class="form-control" placeholder="https://www.domain.com" name="url" value="<?= $url ?>"> <!--<i class="fa fa-user blue"></i>--> </span> </div> </div> </div> </div> <div class="row" style="margin-bottom: 10px;"> <div class="col-sm-6"> <div class="form-group"> <div class="col-sm-12 text-left"> <label for="inputEmail3" class="control-label" style="margin-top: 5px;">Logo website</label> <br> </div> <div class="col-sm-12" style="margin-top: 5px;"> <?php if ($data_baru == 'Y') { ?> <img id="output_image" alt="100%x140" style="padding: 10px; max-height: 350px; width: 100%; display: block;" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/PjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQ4IiBoZWlnaHQ9IjE0MCIgdmlld0JveD0iMCAwIDI0OCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxkZWZzLz48cmVjdCB3aWR0aD0iMjQ4IiBoZWlnaHQ9IjE0MCIgZmlsbD0iI0VFRUVFRSIvPjxnPjx0ZXh0IHg9IjkxLjg0OTk5ODQ3NDEyMTEiIHk9IjcwIiBzdHlsZT0iZmlsbDojQUFBQUFBO2ZvbnQtd2VpZ2h0OmJvbGQ7Zm9udC1mYW1pbHk6QXJpYWwsIEhlbHZldGljYSwgT3BlbiBTYW5zLCBzYW5zLXNlcmlmLCBtb25vc3BhY2U7Zm9udC1zaXplOjEycHQ7ZG9taW5hbnQtYmFzZWxpbmU6Y2VudHJhbCI+MjQ4eDE0MDwvdGV4dD48L2c+PC9zdmc+" data-holder-rendered="true"> <?php } else { ?> <img id="output_image" alt="100%x140" style="padding: 10px; max-height: 350px; width: 100%; display: block;" src="<?= base_url() . $logo ?>" data-holder-rendered="true"> <?php } ?> <script type='text/javascript'> function preview_image(event) { var reader = new FileReader(); reader.onload = function() { var output = document.getElementById( 'output_image'); output.src = reader.result; } reader.readAsDataURL(event.target.files[0]); } </script> </div> <div class="col-sm-12" style="margin-top: 5px;"> <div class="input-group"> <input type="hidden" name="sampulLama" value="<?= $logo ?>"> <br> <input accept="image/*" type='file' id="imgInp" onchange="preview_image(event)" value="<?= $logo ?>" name="image" /> </div> </div> </div> </div> <div class="col-sm-6"> <div class="form-group"> <div class="col-sm-12 text-left"> <label for="inputEmail3" class="control-label" style="margin-top: 5px;">Favicon website</label> <br> </div> <div class="col-sm-12" style="margin-top: 5px;"> <?php if ($data_baru == 'Y') { ?> <img id="output_favicon" alt="100%x140" style="padding: 10px; max-height: 350px; width: 100%; display: block;" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/PjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQ4IiBoZWlnaHQ9IjE0MCIgdmlld0JveD0iMCAwIDI0OCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxkZWZzLz48cmVjdCB3aWR0aD0iMjQ4IiBoZWlnaHQ9IjE0MCIgZmlsbD0iI0VFRUVFRSIvPjxnPjx0ZXh0IHg9IjkxLjg0OTk5ODQ3NDEyMTEiIHk9IjcwIiBzdHlsZT0iZmlsbDojQUFBQUFBO2ZvbnQtd2VpZ2h0OmJvbGQ7Zm9udC1mYW1pbHk6QXJpYWwsIEhlbHZldGljYSwgT3BlbiBTYW5zLCBzYW5zLXNlcmlmLCBtb25vc3BhY2U7Zm9udC1zaXplOjEycHQ7ZG9taW5hbnQtYmFzZWxpbmU6Y2VudHJhbCI+MjQ4eDE0MDwvdGV4dD48L2c+PC9zdmc+" data-holder-rendered="true"> <?php } else { ?> <img id="output_favicon" alt="50x50" style="padding: 10px; max-height: 50px; width: 50px; display: block;" src="<?= base_url() . $favicon ?>" data-holder-rendered="true"> <?php } ?> <script type='text/javascript'> function preview_favicon(event) { var reader = new FileReader(); reader.onload = function() { var output = document.getElementById( 'output_favicon'); output.src = reader.result; } reader.readAsDataURL(event.target.files[0]); } </script> </div> <div class="col-sm-12" style="margin-top: 5px;"> <div class="input-group"> <input type="hidden" name="faviconLama" value="<?= $favicon ?>"> <br> <input accept="image/*" type='file' id="favInp" onchange="preview_favicon(event)" value="<?= $favicon ?>" name="favicon" /> </div> </div> </div> </div> </div> <br> <input type="hidden" name="id" value="<?= $id ?>"> <button type="submit" class="btn btn-primary shiny">Simpan Perusahaan</button> <button type="button" class="btn btn-danger shiny" onclick="onBack()">Batal</button> <br> <br><br> </form> </div> </div> </div> </div> </div> <!--Dropzone--> <script src="<?= base_url(); ?>/assets/theme/BeyondAdmin/js/dropzone/dropzone.min.js"></script> <!--Bootstrap Tags Input--> <script src="<?= base_url(); ?>/assets/theme/BeyondAdmin/js/tagsinput/bootstrap-tagsinput.js"> </script> <!--Bootstrap Date Picker--> <script src="<?= base_url(); ?>/assets/theme/BeyondAdmin/js/datetime/bootstrap-datepicker.js"> </script> <!--Bootstrap Time Picker--> <script src="<?= base_url(); ?>/assets/theme/BeyondAdmin/js/datetime/bootstrap-timepicker.js"> </script> <!-- <script src="https://cdn.ckeditor.com/4.20.1/standard-all/ckeditor.js"></script> --> <script src="<?= base_url(); ?>/assets/js/ckeditor/ckeditor.js"></script> <script> CKEDITOR.replace('editor2', { height: 260, /* Default CKEditor 4 styles are included as well to avoid copying default styles. */ // contentsCss: [ // 'http://cdn.ckeditor.com/4.20.1/full-all/contents.css', // 'https://ckeditor.com/docs/ckeditor4/4.20.1/examples/assets/css/classic.css' // ], removeButtons: 'PasteFromWord' }); </script> <script type="text/javascript"> function onBack() { var url = '<?= base_url('/') ?>'; window.open(url, "_self"); } </script> <script> //--Bootstrap Date Picker-- $('.date-picker').datepicker(); //--Bootstrap Time Picker-- $('#timepicker1').timepicker(); </script>