?
Current Path : /home1/savoy/public_html/savoyglobal.net/eldertree/application/views/email/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/eldertree/application/views/email/view_email_settings.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $email = ""; $name =""; $password =""; $smtp = ""; foreach ($viewinfo->result() as $row) { $email = $row->from_email; $name = $row->from_name; $password = $row->from_password; $smtp = $row->smtp; } ?> <span id="inner_msg"></span> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Email Settings</div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('email/addinemail/insert_email_settings/view_email_settings/1/', $attributes); ?> <br> <br> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i> Email Setup </div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="control-group"> <label class="control-label">Email</label> <div class="controls"> <input class="required" name="from_email" id="from_email" type="text" value="<?= $email; ?>" /> </div> </div> </div> <div class="row-fluid"> <div class="control-group"> <label class="control-label">Name</label> <div class="controls"> <input class="required" name="from_name" id="from_name" type="text" value="<?= $name; ?>" /> </div> </div> </div> <div class="row-fluid"> <div class="control-group"> <label class="control-label">Password</label> <div class="controls"> <input class="required" name="from_password" id="from_password" type="password" value="<?= $password; ?>" /> </div> </div> </div> <div class="row-fluid"> <div class="control-group"> <label class="control-label">SMTP</label> <div class="controls"> <input class="required" name="smtp" id="smtp" type="text" value="<?= $smtp; ?>" /> </div> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="resfunction" value="search_email_settings"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>