Ejemplo n.º 1
0
<form class="widget-app-element-form" id="widget-form-<?php 
echo $wgetId;
?>
" method="post" action="<?php 
echo base_url() . ($idItem ? "{$appController}/{$appFunction}/element/{$idItem}" . ($quickOpen ? "/quick" : "") : "{$appController}/{$appFunction}/element/new");
?>
" role="form">
  <input type="hidden" value="0" name="goback" class="form-post-goback" />
  <div class="row page-title-row">
        
    <div class="col-xs-12 col-sm-10 col-md-10 col-lg-10">
      <h1 class="page-title txt-color-blueDark"><i class="page-title-ico <?php 
echo $appTitleIco;
?>
"></i> <?php 
echo prep_app_title($appTitle);
?>
</h1>
    </div>
      </div>
  <section class="widget-form-content">
    <div class="row">
          <div class="col-xs-12 col-sm-12 col-md-5 col-lg-5">
        <div class="onoffswitch-container">
          <span class="onoffswitch-title"><?php 
echo $this->lang->line("Estado");
?>
</span> 
          <span class="onoffswitch">
            <input name="active" value="1" type="checkbox" <?php 
if ($dataItem['active'] == 1 || !$idItem && !$this->input->post()) {
Ejemplo n.º 2
0
<?php

$lang = $this->config->item('lang', 'app');
$layoutversion = $this->config->item('layout-version', 'app');
$title = prep_app_title($appTitle, false);
$title = $title ? $title . ' | ' . $this->config->item('client', 'app') : $this->config->item('client', 'app');
$dataSess = $this->session->all_userdata();
if (!isset($dataSess['udata-chat-active'])) {
    $this->session->set_userdata('udata-chat-active', 1);
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php 
echo $lang;
?>
" lang="<?php 
echo $lang;
?>
">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="<?php 
echo $this->config->item('copyright', 'app');
?>
" />
<meta name="copyright" content="<?php 
echo $this->config->item('copyright', 'app');
?>
 - <?php