function white_breadcrumbs() { global $lang; global $conf; //check if enabled if (!$conf['breadcrumbs']) { return false; } $crumbs = breadcrumbs(); //setup crumb trace $crumbs_sep = ' <span class="bcsep">' . $sep . '</span> '; //render crumbs, highlight the last one print '<h3>' . $lang['breadcrumb'] . '</h3>'; $last = count($crumbs); $i = 0; print '<ul>'; foreach ($crumbs as $id => $name) { $i++; print '<li>'; if ($i == $last) { print '<span class="curid">'; } tpl_link(wl($id), hsc($name), 'class="breadcrumbs" title="' . $id . '"'); if ($i == $last) { print '</span>'; } print '</li>'; } print '</ul>'; return true; }
/** * Print the breadcrumbs trace with Bootstrap class * * @author Nicolas GERARD * * @param string $sep Separator between entries * @return bool */ function tpl_breadcrumbs_bootstrap($sep = '�') { global $conf; global $lang; //check if enabled if (!$conf['breadcrumbs']) { return false; } $crumbs = array_reverse(breadcrumbs()); //setup crumb trace $last = count($crumbs); $i = 0; echo '<ol class="breadcrumb">' . PHP_EOL; foreach ($crumbs as $id => $name) { $i++; if ($i == $last) { print '<li class="active">'; } else { print '<li>'; } if ($i == 1) { // Try to get the template custom breadcrumb $breadCrumb = tpl_getLang('breadcrumb'); if ($breadCrumb == '') { // If not present for the language, get the default one $breadCrumb = $lang['breadcrumb']; } echo $breadCrumb . ': '; } tpl_link(wl($id), hsc($name), 'title="' . $id . '"'); print '</li>' . PHP_EOL; } echo '</ol>' . PHP_EOL; return true; }
function amdy_tpl_breadcrumbs() { global $lang; global $conf; //check if enabled if (!$conf['breadcrumbs']) { return false; } $crumbs = breadcrumbs(); //setup crumb trace //render crumbs, highlight the last one print '<ul class="breadcrumb">'; $last = count($crumbs); $i = 0; foreach ($crumbs as $id => $name) { $i++; echo '<li' . ($i == $last ? ' class="active"' : '') . '>'; //echo '<a href="test.php">test</a>'; echo '<a href="' . wl($id) . '" title="' . $id . '"' . '>' . hsc($name) . '</a>'; if ($i != $last) { echo '<span class="divider">/</span>'; } echo '</li>'; } print '</ul>'; return true; }
function echo_breadcrumbs_bar($crumbs) { echo ' <div class="action-bar">' . "\n"; echo ' <div class="container">' . "\n"; echo breadcrumbs($crumbs); echo ' </div>' . "\n"; echo ' </div>' . "\n"; }
/** * Load all breadcrumbs. */ protected function loadBreadcrumbs() { breadcrumbs()->register($this->breadcrumbsContainer, function (Builder $bc) { $bc->parent('main'); if (!empty($this->breadcrumbsItems)) { foreach ($this->breadcrumbsItems as $crumb) { $bc->push($crumb['title'], $crumb['url'], isset($crumb['array']) ? $crumb['array'] : []); } } }); }
function widget($args, $instance) { extract( $args ); echo $before_widget; if (function_exists( 'bcn_display')) { echo '<div class="breadcrumb" itemprop="breadcrumb">'; bcn_display(); echo '</div>'; } elseif (function_exists('yoast_breadcrumb' )) { yoast_breadcrumb( '<div class="breadcrumb">', '</div>' ); } elseif ( function_exists( 'breadcrumbs' ) ) { breadcrumbs(); } elseif ( function_exists( 'crumbs' ) ) { crumbs(); } else { $this->ultimatum_breadcrumb(); } echo $after_widget; }
/** * Display Breadcrumbs above the Loop. Concedes priority to popular breadcrumb * plugins. * * @since 0.1.6 * * @return null Return null if a popular breadcrumb plugin is active */ function genesis_do_breadcrumbs() { if ('posts' === get_option('show_on_front') && is_home() && !genesis_get_option('breadcrumb_home') || 'page' === get_option('show_on_front') && is_front_page() && !genesis_get_option('breadcrumb_front_page') || 'page' === get_option('show_on_front') && is_home() && !genesis_get_option('breadcrumb_posts_page') || is_single() && !genesis_get_option('breadcrumb_single') || is_page() && !genesis_get_option('breadcrumb_page') || (is_archive() || is_search()) && !genesis_get_option('breadcrumb_archive') || is_404() && !genesis_get_option('breadcrumb_404') || is_attachment() && !genesis_get_option('breadcrumb_attachment')) { return; } if (function_exists('bcn_display')) { echo '<div class="breadcrumb" itemprop="breadcrumb">'; bcn_display(); echo '</div>'; } elseif (function_exists('yoast_breadcrumb')) { yoast_breadcrumb('<div class="breadcrumb">', '</div>'); } elseif (function_exists('breadcrumbs')) { breadcrumbs(); } elseif (function_exists('crumbs')) { crumbs(); } else { genesis_breadcrumb(); } }
/** * Display Breadcrumbs above the Loop. Concedes priority to popular breadcrumb * plugins. * * @since 0.1.6 * * @return null Null if a popular breadcrumb plugin is active. */ function genesis_do_breadcrumbs() { if ('posts' === get_option('show_on_front') && is_home() && !genesis_get_option('breadcrumb_home') || 'page' === get_option('show_on_front') && is_front_page() && !genesis_get_option('breadcrumb_front_page') || 'page' === get_option('show_on_front') && is_home() && !genesis_get_option('breadcrumb_posts_page') || is_single() && !genesis_get_option('breadcrumb_single') || is_page() && !genesis_get_option('breadcrumb_page') || (is_archive() || is_search()) && !genesis_get_option('breadcrumb_archive') || is_404() && !genesis_get_option('breadcrumb_404') || is_attachment() && !genesis_get_option('breadcrumb_attachment')) { return; } $breadcrumb_markup_open = sprintf('<div %s>', genesis_attr('breadcrumb')); if (function_exists('bcn_display')) { echo $breadcrumb_markup_open; bcn_display(); echo '</div>'; } elseif (function_exists('breadcrumbs')) { breadcrumbs(); } elseif (function_exists('crumbs')) { crumbs(); } elseif (class_exists('WPSEO_Breadcrumbs') && genesis_get_option('breadcrumbs-enable', 'wpseo_internallinks')) { yoast_breadcrumb($breadcrumb_markup_open, '</div>'); } elseif (function_exists('yoast_breadcrumb') && !class_exists('WPSEO_Breadcrumbs')) { yoast_breadcrumb($breadcrumb_markup_open, '</div>'); } else { genesis_breadcrumb(); } }
function html_start() { global $CONFIG; $path = htmlentities(breadcrumbs()); echo <<<EOT <!DOCTYPE HTML> <html> <head> \t<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> \t<title>CGP{$path}</title> \t<link rel="stylesheet" href="{$CONFIG['weburl']}/layout/style.css" type="text/css"> \t<script type="text/javascript" src="{$CONFIG['weburl']}/ajax.js"></script> </head> <body> <div id="header"> <h1><a href="{$CONFIG['weburl']}">Collectd Graph Panel</a></h1> </div> <div id="content"> EOT; }
public function modificar_estrategia($id_estrategia = '') { modules::run('general/is_logged', base_url().'index.php/usuarios/iniciar-sesion'); $permiso = modules::run('general/have_permission', 31); $vista = ($permiso) ? 'crear_estrategia' : 'continuidad_sinpermiso'; $view['nivel'] = 31; $where['id_estrategia'] = $id_estrategia; if($this->general->exist('estrategias_recuperacion',$where)) { $view['estrategia'] = $this->general->get_row('estrategias_recuperacion',$where); $breadcrumbs = array ( base_url() => 'Inicio', base_url().'index.php/continuidad' => 'Continuidad del Negocio', base_url().'index.php/continuidad/estrategias' => 'Estrategias de Recuperación', '#' => 'Modificar Estrategia' ); $view['breadcrumbs'] = breadcrumbs($breadcrumbs); $view['tipo_estrategias'] = $this->general->get_table('tipo_estrategiasrecuperacion'); $this->utils->template($this->_list1(),'continuidad/estrategias/'.$vista,$view,$this->title,'Modificar estrategias','two_level'); }else { $this->session->set_flashdata('alert_error','La estrategia que intenta modificar no se encuentra en la base de datos'); redirect(site_url('index.php/continuidad/estrategias')); } }
" id="form_publish" class="ui-button"><?php _e("Publish your ad for free", 'realestate'); ?> </a> <?php } ?> <div class="empty"></div> </div> <div id="header-shadow"></div> </div> <!-- /header --> <?php if (function_exists('breadcrumbs')) { ?> <?php if (!osc_is_home_page()) { ?> <div class="breadcrumb"> <?php breadcrumbs('»'); ?> </div> <?php } } ?> <!-- container --> <div class="container"> <?php osc_show_widgets('header');
<?php get_header(); /* Template Name: Helpful-information */ ?> <section class="helpfull-inf"> <div class="breadcrumbs"> <?php echo breadcrumbs(' / '); ?> </div> <div class="help-news-container"> <h3><a href="http://portfolio.esy.es/news">Новости</a></h3> <div style="width: auto; height: 180px; position: relative; top:100px;"class="news-block"> <div class="n-left"> <img src="<?php echo get_template_directory_uri(); ?> /img/news-robot.png" alt=""> </div> <div class="n-right"> <span class="date">21.09.15</span> <a href="" style=" text-decoration: underline;">Далеко-далеко за словесными горами.</a> <p>Далеко-далеко за словесными горами в стране,
<section id="content"> <div class="container"> <div class="card"> <?php echo breadcrumbs('', 'Import Group'); ?> <div class="card-body card-padding"> <?php echo form_open_multipart("groups/import", array('id' => 'dropzone', 'class' => 'dropzone m-t-25')); ?> <div class="fileinput fileinput-new fallback" data-provides="fileinput"> <span class="btn btn-primary btn-file m-r-10"> <span class="fileinput-new">Select file</span> <span class="fileinput-exists">Change</span> <div class="file-preview-other"></div> <?php echo form_upload('file', set_value('file'), ['class' => 'file-input-field', 'accept' => '.csv']); ?> </span> <span class="fileinput-filename"></span> <a href="#" class="close fileinput-exists" data-dismiss="fileinput">×</a> <button type="submit" class="btn btn-primary hidden">Submit</button> </div> <?php echo form_close(); ?> </div> </div> </div> </section>
/** * logs access to a wiki page * * @param $id page id of the wiki page including namespace * * @author Matthias Grimm <*****@*****.**> */ function dir_logPageAccess($id) { global $ACT; if ($ACT == 'show') { $page = $this->dir_prepareID($id); $crumbs = breadcrumbs(); // get last visited pages $crumbs = array_keys($crumbs); // get raw page IDs array_pop($crumbs); // skip current page $referer = array_pop($crumbs); // get current page's predecessor $referer = $referer ? $this->dir_prepareID($referer) : ''; $this->dir_logAccess($page, $this->dir_getStatus(wikiFN($id)), $referer); } }
<? if($query = mysql_query("SELECT * FROM content WHERE link='".$page."'") and mysql_fetch_assoc($query)!=''){ mysql_data_seek($query, 0); $row = mysql_fetch_assoc($query); $name = $row['name']; $content = $row['text']; $bread = breadcrumbs($row['id']); //подключаем шаблон include($_SERVER['DOCUMENT_ROOT'].'templates/inner.tpl'); } ?>
<html> <head> <?php tmp_header_meta(); ?> <link rel="stylesheet" type="text/css" href="./css/ryu_custom_rec.css"> </head> <body> <?php defnavbar(); ?> <!-- Header --> <section id="breadcrumb_nav"> <div class="row row-10"> <?php breadcrumbs(1, '情報セキュリティ方針', '', '', '', '', ''); ?> </div> </section> <section id="privacy_top" class="padding-top50"> <div class="container"> <div class="row row-0 text-center"> <div class="col-lg-12"> <h1 class="page-header">SECURITY POLICY</h1> <p class="">情報セキュリティ方針</p> </div> </div> </div> </section>
?> </div> <?php } ?> <div class="toolbar-group text-right"> <a href="<?php echo base_url('members'); ?> " class="btn btn-danger btn-link toolbar-item"><i class="fa fa-arrow-left"> </i>Go Back</a> </div> <div class="card"> <?php echo breadcrumbs(); ?> <div class="table-responsive"> <table id="trashed-member-table-command" class="table table-condensed table-vmiddle table-hover"> <thead> <tr> <th data-column-id="count_id" data-visible="true" data-type="numeric" data-sortable="false">#</th> <th data-column-id="id" data-css-class="id" data-order="asc" data-visible="false" data-identifier="true">Member ID</th> <th data-column-id="fullname" data-css-class="fullname" data-order="asc">Name</th> <th data-column-id="level" data-css-class="level" data-order="asc">Level</th> <th data-column-id="type" data-css-class="type" data-order="asc">Type</th> <th data-column-id="groups" data-css-class="groups" data-order="asc">Group</th> <th data-column-id="email" data-css-class="email" data-order="asc">Email</th> <th data-column-id="msisdn" data-css-class="msisdn" data-order="asc">Mobile</th> <th data-column-id="telephone" data-css-class="telephone" data-order="asc" data-visible="false">Telephone</th> <th data-column-id="address" data-css-class="address" data-sortable="false" data-visible="false">Address</th>
/** * Turn the tempcode lump into a standalone page (except for header/footer which is assumed already handled elsewhere). * * @param tempcode The tempcode to put into a nice frame * @param ?mixed 'Additional' message (NULL: none) * @param string The type of special message * @set inform warn "" * @param boolean Whether to automatically include the header and footer templates * @return tempcode Standalone page */ function globalise($middle, $message = NULL, $type = '', $include_header_and_footer = false) { require_code('site'); if (running_script('iframe')) { global $ATTACHED_MESSAGES; $middle->handle_symbol_preprocessing(); $tpl = do_template('STYLED_HTML_WRAP', array('TITLE' => is_null($GLOBALS['DISPLAYED_TITLE']) ? do_lang_tempcode('NA') : $GLOBALS['DISPLAYED_TITLE'], 'EXTRA_HEAD' => $GLOBALS['EXTRA_HEAD'], 'EXTRA_FOOT' => $GLOBALS['EXTRA_FOOT'], 'MESSAGE_TOP' => $ATTACHED_MESSAGES, 'FRAME' => true, 'TARGET' => '_self', 'CONTENT' => $middle)); $tpl->handle_symbol_preprocessing(); return $tpl; } global $DONE_HEADER; global $CYCLES; $CYCLES = array(); // Here we reset some Tempcode environmental stuff, because template compilation or preprocessing may have dirtied things if ($GLOBALS['HELPER_PANEL_TUTORIAL'] === NULL) { $GLOBALS['HELPER_PANEL_TUTORIAL'] = ''; } if ($GLOBALS['HELPER_PANEL_HTML'] === NULL) { $GLOBALS['HELPER_PANEL_HTML'] = ''; } if ($GLOBALS['HELPER_PANEL_TEXT'] === NULL) { $GLOBALS['HELPER_PANEL_TEXT'] = ''; } if ($GLOBALS['HELPER_PANEL_PIC'] === NULL) { $GLOBALS['HELPER_PANEL_PIC'] = ''; } $_message = $message !== NULL ? do_template('ADDITIONAL', array('_GUID' => 'b4c9f0a0bbfb9344d00c29db8ff5715d', 'TYPE' => $type, 'MESSAGE' => $message)) : new ocp_tempcode(); if (get_option('show_docs') == '0') { $GLOBALS['HELPER_PANEL_TUTORIAL'] = ''; } $global = new ocp_tempcode(); $bail_out = isset($DONE_HEADER) && $DONE_HEADER; if ($include_header_and_footer && !$bail_out) { $global->attach(do_header()); } $global->attach(do_template('GLOBAL', array('_GUID' => '592faa2c0e8bf2dc3492de2c11ca7131', 'HELPER_PANEL_TUTORIAL' => $GLOBALS['HELPER_PANEL_TUTORIAL'], 'HELPER_PANEL_HTML' => $GLOBALS['HELPER_PANEL_HTML'], 'HELPER_PANEL_TEXT' => $GLOBALS['HELPER_PANEL_TEXT'], 'HELPER_PANEL_PIC' => $GLOBALS['HELPER_PANEL_PIC'], 'MESSAGE_TOP' => $GLOBALS['ATTACHED_MESSAGES'], 'MESSAGE' => $_message, 'MIDDLE' => $middle, 'BREADCRUMBS' => breadcrumbs()))); if ($include_header_and_footer) { $global->attach(do_footer($bail_out)); } $global->handle_symbol_preprocessing(); if (get_value('xhtml_strict') === '1') { $global = make_xhtml_strict($global); } return $global; }
<html> <head> <?php tmp_header_meta(); ?> <link rel="stylesheet" type="text/css" href="./css/ryu_custom_rec.css"> </head> <body> <?php defnavbar(); ?> <!-- Header --> <section id="breadcrumb_nav"> <div class="row row-10"> <?php breadcrumbs(2, '会社案内', './aboutus.php', '経営理念', '', '', ''); ?> </div> </section> <section id="ceo_top" class="padding-top50"> <div class="container"> <div class="row row-0 text-center"> <div class="col-lg-12"> <h1 class="page-header">MANAGEMENT PHILOSOPHY</h1> <p class="">経営理念</p> </div> </div> </div> </section>
?> </div> <?php } ?> <div class="toolbar-group text-right"> <a href="<?php echo base_url('schedules'); ?> " class="btn btn-danger btn-link toolbar-item"><i class="fa fa-arrow-left"> </i>Go Back</a> </div> <div class="card"> <?php echo breadcrumbs('', 'All Trashed Schedules'); ?> <div class="table-responsive"> <table id="trashed-schedule-table-command" class="table table-condensed table-vmiddle table-hover"> <thead> <tr> <th data-column-id="count_id" data-type="numeric" data-sortable="false">#</th> <th data-column-id="id" data-css-class="schedules_id" data-order="asc" data-visible="false" data-identifier="true">Schedule ID</th> <th data-column-id="name" data-css-class="name" data-order="asc">Schedule Name</th> <th data-column-id="code" data-css-class="schedules_code" data-order="asc">Code</th> <th data-column-id="commands" data-formatter="commands" data-sortable="false">Actions</th> </tr> </thead> </table> </div> </div>
<!DOCTYPE html> <html> <head> <title><?php echo breadcrumbs(' ‹ '); ?> « <?php echo Settings::get('site.site name'); ?> </title> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" type="text/css" name="stylesheet" href="<?php echo theme_dir(); ?> style.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script type="text/javascript"> $(function () { $('img').each(function () { $this = $(this); var float = $this.css('float'); if(float == 'left' || float == 'right') { $this.addClass('float-'+float); if($this.position().top == 0) { $this.addClass('no-top-margin'); } } }); }); </script>
} } $result = mysqli_query($con, "SELECT * FROM users"); if (!UserCan('show_users')) { $error = "<div class=\"col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main\">"; $error .= "<div class=\"alert alert-danger\" role=\"alert\">"; $error .= "Fehler, Du hast nicht die benötigten Recht um Nutzer anzuzeigen."; $error .= "</div>"; $error .= "</div>"; die($error); } ?> <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"> <?php breadcrumbs(""); ?> <h1 class="page-header"><?php echo $message['users']; ?> </h1> <ul class="nav nav-tabs"> <li class="active"><a href="#users" data-toggle="tab"><?php echo $message['allusers']; ?> </a></li> <?php if (UserCan('create_user')) { ?> <li><a href="#newuser" data-toggle="tab"><?php
</div><!-- #siteID --> <div id="toolbar"> <?php // If the "Show breadcrumb" option is selected if ($wipOptions['tbBreadcrumb']) { echo '<p id="breadcrumb">'; // If this is the home page, display just the site name - otherwise make it a link. if (is_front_page()) { bloginfo('name'); } else { echo '<a href="' . get_bloginfo('url') . '">' . get_bloginfo('name') . '</a> » '; } // The rest of the breadcrumb stuff if (function_exists('breadcrumbs')) { breadcrumbs(array('singular_post_taxonomy' => 'category')); } echo '</p>'; } ?> <ul> <?php // If the "Show AddThis Share link" option is selected if ($wipOptions['tbShareLink']) { echo '<li><a class="addthis_button">Share</a></li>'; } // If the "Show Print link" option is selected if ($wipOptions['tbPrintLink']) { echo '<li><a href="javascript:popPrintPage();">Print</a></li>'; } if ($wipOptions['tbSearch']) {
/** * Display Breadcrumbs above the Loop * Concedes priority to popular breadcrumb plugins * * @since 0.1.6 */ function genesis_do_breadcrumbs() { // Conditional Checks if (is_front_page() && !genesis_get_option('breadcrumb_home')) { return; } if (is_single() && !genesis_get_option('breadcrumb_single')) { return; } if (is_page() && !genesis_get_option('breadcrumb_page')) { return; } if ((is_archive() || is_search()) && !genesis_get_option('breadcrumb_archive')) { return; } if (is_404() && !genesis_get_option('breadcrumb_404')) { return; } if (function_exists('bcn_display')) { echo '<div class="breadcrumb">'; bcn_display(); echo '</div>'; } elseif (function_exists('yoast_breadcrumb')) { yoast_breadcrumb('<div class="breadcrumb">', '</div>'); } elseif (function_exists('breadcrumbs')) { breadcrumbs(); } elseif (function_exists('crumbs')) { crumbs(); } else { genesis_breadcrumb(); } }
/** * Print the breadcrumbs trace * * @author Andreas Gohr <*****@*****.**> * @param string $sep Separator between entries * @return bool */ function tpl_breadcrumbs($sep = '•') { global $lang; global $conf; //check if enabled if (!$conf['breadcrumbs']) { return false; } $crumbs = breadcrumbs(); //setup crumb trace //reverse crumborder in right-to-left mode, add RLM character to fix heb/eng display mixups if ($lang['direction'] == 'rtl') { $crumbs = array_reverse($crumbs, true); $crumbs_sep = ' ‏<span class="bcsep">' . $sep . '</span>‏ '; } else { $crumbs_sep = ' <span class="bcsep">' . $sep . '</span> '; } //render crumbs, highlight the last one print '<span class="bchead">' . $lang['breadcrumb'] . ':</span>'; $last = count($crumbs); $i = 0; foreach ($crumbs as $id => $name) { $i++; echo $crumbs_sep; if ($i == $last) { print '<span class="curid">'; } tpl_link(wl($id), hsc($name), 'class="breadcrumbs" title="' . $id . '"'); if ($i == $last) { print '</span>'; } } return true; }
?> </div> <?php } ?> <div class="toolbar-group text-right"> <a href="<?php echo base_url('groups'); ?> " class="btn btn-danger btn-link toolbar-item"><i class="fa fa-arrow-left"> </i>Go Back</a> </div> <div class="card"> <?php echo breadcrumbs('', 'All Trashed Groups'); ?> <div class="table-responsive"> <table id="trashed-group-table-command" class="table table-condensed table-vmiddle table-hover"> <thead> <tr> <th data-column-id="count_id" data-type="numeric" data-sortable="false">#</th> <th data-column-id="groups_id" data-css-class="groups_id" data-order="asc" data-visible="false" data-identifier="true">Group ID</th> <th data-column-id="groups_name" data-css-class="groups_name" data-order="asc">Group Name</th> <th data-column-id="groups_description" data-css-class="groups_description" data-order="asc">Description</th> <th data-column-id="groups_code" data-css-class="groups_code" data-order="asc">Code</th> <th data-column-id="commands" data-formatter="commands" data-sortable="false">Actions</th> </tr> </thead> </table> </div>
?> <div class="inform"> <fieldset> <legend><?php printf($lang_admin_reports['Zapped subhead'], format_time($report['zapped']), $report['zapped_by'] != '' ? '<a href="' . get_link('user/' . $report['zapped_by_id'] . '/') . '">' . feather_escape($report['zapped_by']) . '</a>' : $lang_admin_reports['NA']); ?> </legend> <div class="infldset"> <table class="aligntop"> <tr> <th scope="row"><?php printf($lang_admin_reports['Reported by'], $report['reporter'] != '' ? '<a href="' . get_link('users/' . $report['reported_by'] . '/') . '">' . feather_escape($report['reporter']) . '</a>' : $lang_admin_reports['Deleted user']); ?> </th> <td class="location"><?php echo breadcrumbs(array($report['forum_name'] => get_link('forum/' . $report['forum_id'] . '/' . url_friendly($report['forum_name']) . '/'), $report['subject'] => get_link('forum/' . $report['topic_id'] . '/' . url_friendly($report['subject'])), sprintf($lang_admin_reports['Post ID'], $report['pid']) => get_link('post/' . $report['pid'] . '/#p' . $report['pid']))); ?> </td> </tr> <tr> <th scope="row"><?php echo $lang_admin_reports['Reason']; ?> </th> <td><?php echo str_replace("\n", '<br />', feather_escape($report['message'])); ?> </td> </tr> </table> </div>
echo $this->session->flashdata('message')['type']; ?> " role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> <?php echo $this->session->flashdata('message')['message']; ?> </div> <?php } ?> </div> <div class="card row"> <?php echo breadcrumbs('', 'Configuration'); ?> <div class="col-sm-12"> <p class="text-muted">Select a Sending Configuration</p> <?php echo form_open("messaging/post-configuration", array('role' => "form", 'id' => 'messaging-config-form', 'method' => 'POST')); ?> <div class="form-group"> <!-- <hr class="m-t-10 m-b-15"/> --> <div class="row"> <div class="col-lg-4 col-md-12"> <div class="pad-zero-right"> <div class="form-group fg-float form-group-validation"> <?php foreach ($form['dtr_sending_config'] as $conf) {
<?php } ?> </ul> <div class="alert hide" id="msg"></div> </div> <?php } ?> </div><!--/span--> <!-- left menu ends --> <div id="themaincontent" class="span10"> <!-- content starts --> <?php breadcrumbs(); ?> <?php include get_the_include(); ?> </div><!--/#content.span10--> </div><!--/fluid-row--> <hr> <div class="modal hide" id="myModal"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h3 id="modaltitle"></h3>
function html_start() { global $CONFIG; $path = htmlentities(breadcrumbs()); $html_weburl = htmlentities($CONFIG['weburl']); echo <<<EOT <!DOCTYPE html> <html> <head> \t<meta charset="utf-8"> \t<title>CGP{$path}</title> \t<meta name="viewport" content="width=device-width"> \t<link rel="stylesheet" href="{$html_weburl}layout/style.css" type="text/css"> \t<link rel="stylesheet" href="{$html_weburl}layout/style-b.css" type="text/css" media="(max-width: 1000px),(max-device-width: 1000px) and (orientation: portrait),(max-device-width: 767px) and (orientation: landscape)"> \t<link rel="stylesheet" href="{$html_weburl}layout/style-c.css" type="text/css" media="(max-width: 767px),(max-device-width: 767px) and (orientation: portrait),(max-device-width: 499px) and (orientation: landscape)"> \t<link rel="stylesheet" href="{$html_weburl}layout/style-d.css" type="text/css" media="(max-width: 499px),(max-device-width: 499px) and (orientation: portrait)"> EOT; if (isset($CONFIG['page_refresh']) && is_numeric($CONFIG['page_refresh'])) { echo <<<EOT \t<meta http-equiv="refresh" content="{$CONFIG['page_refresh']}"> EOT; } if ($CONFIG['graph_type'] == 'canvas') { echo <<<EOT \t<script type="text/javascript" src="{$html_weburl}js/sprintf.js"></script> \t<script type="text/javascript" src="{$html_weburl}js/strftime.js"></script> \t<script type="text/javascript" src="{$html_weburl}js/RrdRpn.js"></script> \t<script type="text/javascript" src="{$html_weburl}js/RrdTime.js"></script> \t<script type="text/javascript" src="{$html_weburl}js/RrdGraph.js"></script> \t<script type="text/javascript" src="{$html_weburl}js/RrdGfxCanvas.js"></script> \t<script type="text/javascript" src="{$html_weburl}js/binaryXHR.js"></script> \t<script type="text/javascript" src="{$html_weburl}js/rrdFile.js"></script> \t<script type="text/javascript" src="{$html_weburl}js/RrdDataFile.js"></script> \t<script type="text/javascript" src="{$html_weburl}js/RrdCmdLine.js"></script> EOT; } if ($CONFIG['showtime']) { echo <<<EOT \t<script type="text/javascript" src="{$html_weburl}js/jquery-2.1.1.min.js"></script> \t<script type="text/javascript" src="{$html_weburl}js/jquery.timeago.js"></script> EOT; } echo <<<EOT </head> <body> <div id="header"> <h1><a href="{$html_weburl}">Collectd Graph Panel</a></h1> </div> EOT; if (!function_exists('json_decode')) { echo <<<EOT <div class="warnheader"> \tYour php version doesn't support <a href="http://php.net/json">JSON</a>. Your graphs would have looked more beautiful if it did. </div> EOT; } if ($CONFIG['version'] == 4) { echo <<<EOT <div class="warnheader"> \tYou are using Collectd 4, which is deprecated by CGP. Graphs like \t<code>df</code> and <code>interfaces</code> may be incomplete. </div> EOT; } echo <<<EOT <div id="content"> EOT; }