| Server IP : 162.214.74.102 / Your IP : 216.73.217.114 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/www/lrsys_apps/team/application/views/backend/admin/ |
Upload File : |
<div class="row">
<div class="col-md-6">
<div class="panel panel-primary" >
<div class="panel-heading">
<div class="panel-title">
<?php echo get_phrase('system_settings'); ?>
</div>
</div>
<div class="panel-body">
<?php echo form_open(base_url() . 'index.php?admin/system_settings/do_update', array('class' => 'form-horizontal form-groups-bordered validate', 'target' => '_top'));
?>
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('system_name'); ?></label>
<div class="col-sm-7">
<input type="text" class="form-control" name="system_name"
value="<?php echo $this->db->get_where('settings', array('type' => 'system_name'))->row()->description; ?>">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('system_title'); ?></label>
<div class="col-sm-7">
<input type="text" class="form-control" name="system_title"
value="<?php echo $this->db->get_where('settings', array('type' => 'system_title'))->row()->description; ?>">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('address'); ?></label>
<div class="col-sm-7">
<input type="text" class="form-control" name="address"
value="<?php echo $this->db->get_where('settings', array('type' => 'address'))->row()->description; ?>">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('phone'); ?></label>
<div class="col-sm-7">
<input type="text" class="form-control" name="phone"
value="<?php echo $this->db->get_where('settings', array('type' => 'phone'))->row()->description; ?>">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('system_email'); ?></label>
<div class="col-sm-7">
<input type="text" class="form-control" name="system_email"
value="<?php echo $this->db->get_where('settings', array('type' => 'system_email'))->row()->description; ?>">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('dropbox_app_key'); ?></label>
<div class="col-sm-7">
<input type="text" class="form-control" name="dropbox_data_app_key"
value="<?php echo $this->db->get_where('settings', array('type' => 'dropbox_data_app_key'))->row()->description; ?>">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('language'); ?></label>
<div class="col-sm-7">
<select name="language" class="selectboxit">
<?php
$fields = $this->db->list_fields('language');
foreach ($fields as $field) {
if ($field == 'phrase_id' || $field == 'phrase')
continue;
$current_default_language = $this->db->get_where('settings', array('type' => 'language'))->row()->description;
?>
<option value="<?php echo $field; ?>"
<?php if ($current_default_language == $field) echo 'selected'; ?>> <?php echo $field; ?> </option>
<?php
}
?>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('text_align'); ?></label>
<div class="col-sm-7">
<select name="text_align" class="selectboxit">
<?php $text_align = $this->db->get_where('settings', array('type' => 'text_align'))->row()->description; ?>
<option value="left-to-right" <?php if ($text_align == 'left-to-right') echo 'selected'; ?>> left-to-right (LTR)</option>
<option value="right-to-left" <?php if ($text_align == 'right-to-left') echo 'selected'; ?>> right-to-left (RTL)</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('paypal_type'); ?></label>
<div class="col-sm-7">
<select name="paypal_type" class="selectboxit">
<?php $paypal_type = $this->db->get_where('settings', array('type' => 'paypal_type'))->row()->description; ?>
<option value="sandbox" <?php if ($paypal_type == 'sandbox') echo 'selected'; ?>> Sand Box</option>
<option value="live" <?php if ($paypal_type == 'live') echo 'selected'; ?>> Live</option>
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-5">
<button type="submit" class="btn btn-info"><?php echo get_phrase('save'); ?></button>
</div>
</div>
<?php echo form_close(); ?>
<hr />
<?php echo form_open(base_url() . 'index.php?admin/system_settings/upload_logo', array('class' => 'form-horizontal form-groups-bordered validate', 'target' => '_top', 'enctype' => 'multipart/form-data'));
?>
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('upload_logo'); ?></label>
<div class="col-sm-7">
<div class="fileinput fileinput-new" data-provides="fileinput">
<div class="fileinput-new thumbnail" style="width: 200px; height: 150px;" data-trigger="fileinput">
<img src="uploads/logo.png" alt="...">
</div>
<div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px"></div>
<div>
<span class="btn btn-white btn-file">
<span class="fileinput-new">Select image</span>
<span class="fileinput-exists">Change</span>
<input type="file" name="userfile" accept="image/*">
</span>
<a href="#" class="btn btn-orange fileinput-exists" data-dismiss="fileinput">Remove</a>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-5">
<button type="submit" class="btn btn-info"><?php echo get_phrase('upload'); ?></button>
</div>
</div>
<?php echo form_close(); ?>
</div>
</div>
</div>
<?php
$skin = $this->db->get_where('settings', array(
'type' => 'skin_colour'
))->row()->description;
?>
<div class="col-md-6">
<div class="panel panel-primary" >
<div class="panel-heading">
<div class="panel-title">
<?php echo get_phrase('theme_settings'); ?>
</div>
</div>
<div class="panel-body">
<div class="gallery-env">
<div class="col-sm-4">
<article class="album">
<header>
<a href="#" id="default">
<img src="assets/images/skins/default.png"
<?php if ($skin == 'default') echo 'style="background-color: black; opacity: 0.3;"'; ?> />
</a>
<a href="#" class="album-options" id="default">
<i class="entypo-check"></i>
<?php echo get_phrase('default'); ?>
</a>
</header>
</article>
</div>
<div class="col-sm-4">
<article class="album">
<header>
<a href="#" id="black">
<img src="assets/images/skins/black.png"
<?php if ($skin == 'black') echo 'style="background-color: black; opacity: 0.3;"'; ?> />
</a>
<a href="#" class="album-options" id="black">
<i class="entypo-check"></i>
<?php echo get_phrase('select_theme'); ?>
</a>
</header>
</article>
</div>
<div class="col-sm-4">
<article class="album">
<header>
<a href="#" id="blue">
<img src="assets/images/skins/blue.png"
<?php if ($skin == 'blue') echo 'style="background-color: black; opacity: 0.3;"'; ?> />
</a>
<a href="#" class="album-options" id="blue">
<i class="entypo-check"></i>
<?php echo get_phrase('select_theme'); ?>
</a>
</header>
</article>
</div>
<div class="col-sm-4">
<article class="album">
<header>
<a href="#" id="cafe">
<img src="assets/images/skins/cafe.png"
<?php if ($skin == 'cafe') echo 'style="background-color: black; opacity: 0.3;"'; ?> />
</a>
<a href="#" class="album-options" id="cafe">
<i class="entypo-check"></i>
<?php echo get_phrase('select_theme'); ?>
</a>
</header>
</article>
</div>
<div class="col-sm-4">
<article class="album">
<header>
<a href="#" id="green">
<img src="assets/images/skins/green.png"
<?php if ($skin == 'green') echo 'style="background-color: black; opacity: 0.3;"'; ?> />
</a>
<a href="#" class="album-options" id="green">
<i class="entypo-check"></i>
<?php echo get_phrase('select_theme'); ?>
</a>
</header>
</article>
</div>
<div class="col-sm-4">
<article class="album">
<header>
<a href="#" id="purple">
<img src="assets/images/skins/purple.png"
<?php if ($skin == 'purple') echo 'style="background-color: black; opacity: 0.3;"'; ?> />
</a>
<a href="#" class="album-options" id="purple">
<i class="entypo-check"></i>
<?php echo get_phrase('select_theme'); ?>
</a>
</header>
</article>
</div>
<div class="col-sm-4">
<article class="album">
<header>
<a href="#" id="red">
<img src="assets/images/skins/red.png"
<?php if ($skin == 'red') echo 'style="background-color: black; opacity: 0.3;"'; ?> />
</a>
<a href="#" class="album-options" id="red">
<i class="entypo-check"></i>
<?php echo get_phrase('select_theme'); ?>
</a>
</header>
</article>
</div>
<div class="col-sm-4">
<article class="album">
<header>
<a href="#" id="white">
<img src="assets/images/skins/white.png"
<?php if ($skin == 'white') echo 'style="background-color: black; opacity: 0.3;"'; ?> />
</a>
<a href="#" class="album-options" id="white">
<i class="entypo-check"></i>
<?php echo get_phrase('select_theme'); ?>
</a>
</header>
</article>
</div>
<div class="col-sm-4">
<article class="album">
<header>
<a href="#" id="yellow">
<img src="assets/images/skins/yellow.png"
<?php if ($skin == 'yellow') echo 'style="background-color: black; opacity: 0.3;"'; ?> />
</a>
<a href="#" class="album-options" id="yellow">
<i class="entypo-check"></i>
<?php echo get_phrase('select_theme'); ?>
</a>
</header>
</article>
</div>
</div>
<center>
<div class="label label-primary" style="font-size: 12px;">
<i class="entypo-check"></i> <?php echo get_phrase('select_a_theme_to_make_changes'); ?>
</div>
</center>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(".gallery-env").on('click', 'a', function () {
skin = this.id;
$.ajax({
url: '<?php echo base_url();?>index.php?admin/system_settings/change_skin/'+ skin,
success: window.location = '<?php echo base_url();?>index.php?admin/system_settings/'
});
});
</script>