protected function init($name) { $buffer = EMPTYSTRING; $buffer .= '<div class="form-group' . $this->error($name) . '">'; $buffer .= '<label for="input' . $name . '" class="col-sm-3 control-label">' . FormsTranslate::getLabel($name) . '</label>'; $buffer .= '<div class="col-sm-9">'; return $buffer; }
public function passwordPlaceHolder($name) { $value = isset($this->controller->request->data->{$name}) ? stripslashes($this->controller->request->data->{$name}) : EMPTYSTRING; $buffer = EMPTYSTRING; $buffer .= '<div class="form-group' . $this->error($name) . '">'; $buffer .= '<input type="password" id="input' . $name . '" name="' . $name . '" value="' . $value . '" class="form-control" placeholder="' . FormsTranslate::getLabel($name) . '" required>'; $error = $this->error($name); if (!empty($error)) { $buffer .= '<span class="help-block">' . $this->errors[$name] . '</span>'; } $buffer .= '</div>'; return $buffer; }
</h3> </div> <div class="panel-body"> <table class="table table-hover table-bordered" id="urgencydata"> <thead> <tr> <th style="width:8%;"><?php echo FormsTranslate::getLabel('visibility'); ?> </th> <th><?php echo FormsTranslate::getLabel('name'); ?> </th> <th><?php echo FormsTranslate::getLabel('phone'); ?> </th> <td style="width:23%;" class="text-right"> <?php echo $this->FormLink->add('cockpit/urgency/add'); ?> </td> </tr> </thead> <tbody> <?php foreach ($Urgency as $k => $v) { ?> <?php echo $v->logicaldelete == 1 ? '<tr class="danger">' : '<tr>';
</h3> </div> <div class="panel-body"> <table class="table table-hover table-bordered" id="pageData"> <thead> <tr> <th style="width:8%;" class="te"><?php echo FormsTranslate::getLabel('visibility'); ?> </th> <th style="width:18%;"><?php echo FormsTranslate::getLabel('creation'); ?> </a></th> <th><?php echo FormsTranslate::getLabel('title'); ?> </th> <td style="width:23%;" class="text-right"> <?php if ($this->Session->user('category') == 3) { ?> <?php echo $this->FormLink->add('cockpit/page/add'); ?> <?php } ?> </td> </tr> </thead>
<thead> <tr> <th style="width:9%;"><?php echo FormsTranslate::getLabel('connected'); ?> </th> <th style="width:18%;"><?php echo FormsTranslate::getLabel('lastLogin'); ?> </a></th> <th><?php echo FormsTranslate::getLabel('login'); ?> </th> <th style="width:8%;"><?php echo FormsTranslate::getLabel('category'); ?> </th> <td style="width:25%;" class="text-right"> <?php echo $this->FormLink->add('cockpit/user/add'); ?> </td> </tr> </thead> <tbody> <?php foreach ($User as $k => $v) { ?> <?php echo $v->logicaldelete == 1 ? '<tr class="danger">' : '<tr>';
foreach ($_SESSION['cmsmodules'] as $module) { ?> <tr><td><?php echo $module; ?> </td></tr> <?php } ?> </tbody> </table> <table class="table table-bordered table-hover table-vcenter" style="margin:20px 0;"> <thead> <tr><th colspan="2"><?php echo FormsTranslate::getLabel('phpinfo'); ?> </th></tr> </thead> <tbody> <?php foreach ($phpinfo as $key => $value) { ?> <?php if ($key == 'Apache Version ' || $key == 'memory_limit' || $key == 'post_max_size' || $key == 'upload_max_filesize' || $key == 'Default timezone ' || $key == 'memory_limit' || $key == 'HTTP_USER_AGENT ' || $key == 'SERVER_NAME ' || $key == 'SERVER_ADDR ' || $key == 'SERVER_PORT ' || $key == 'DOCUMENT_ROOT ' || $key == 'REDIRECT_URL ' || $key == 'REQUEST_URI ') { ?> <tr><td><?php echo $key; ?> </td><td><?php echo $value;
<div class="panel-heading"> <h3 class="panel-title"><span class="glyphicon glyphicon-list" aria-hidden="true"></span> <?php echo UserTranslate::getLabel('list'); ?> </h3> </div> <div class="panel-body"> <table class="table table-hover table-bordered" id="employedata"> <thead> <tr> <th style="width:8%;"><?php echo FormsTranslate::getLabel('visibility'); ?> </th> <th><?php echo FormsTranslate::getLabel('name'); ?> </th> <td style="width:23%;" class="text-right"> <?php echo $this->FormLink->add('cockpit/employe/add'); ?> </td> </tr> </thead> <tbody> <?php foreach ($Employe as $k => $v) { ?> <?php echo $v->logicaldelete == 1 ? '<tr class="danger">' : '<tr>';
?> </th> <th style="width:15%;"><?php echo FormsTranslate::getLabel('unique'); ?> </th> <th style="width:15%;"><?php echo FormsTranslate::getLabel('visitor'); ?> </th> <th style="width:15%;"><?php echo FormsTranslate::getLabel('visited'); ?> </th> <th style="width:35%;"><?php echo FormsTranslate::getLabel('average'); ?> </th> </tr> </thead> <tbody> <?php $id = 1; ?> <?php foreach ($full as $record) { ?> <tr> <td><?php echo $id; ?>