function print_menu($menu) { $buffer = null; foreach ($menu as $name => $link) { if (is_array($link)) { $buffer .= '<li class="dropdown"><a href="" class="dropdown-toggle js-activated" data-toggle="dropdown"> ' . $name . '</a>'; $buffer .= '<ul class="dropdown-menu">' . print_menu($link) . '</ul></li>'; } else { $buffer .= '<li><a href="' . $link . '">' . $name . '</a></li>'; } } return $buffer; }
function print_menu($menu, $isChilden = true) { echo '<ul style="z-index:1;">', "\n"; $item_count = 0; foreach ($menu as $item) { $item_count++; if ($item_count == 1 && $isChilden) { echo '<li class="li3_top">'; } else { echo '<li>'; } echo '<a href=', !$item->children ? '/videos/lists/' . $item->vcid : '#', '>', $item->vcname, !$item->children ? ' (' . $item->video_counts . ')' : '', '</a>'; // Only Leaves show number if ($item->children) { print_menu($item->children); } echo '</li>', "\n"; } echo '</ul>', "\n"; }
/** * Generate a menu tree! * A recursive function to generate a menu tree. * * @param string $uid The menu identifier * @param int $level Level of the menu, used internally. Default 0. * @param array $args Arguments */ function print_menu($uid = null, $level = 0, $args = []) { // Example of custom default args $args = merge_args_defaults($args, ['max-level' => 99, 'menu-ul-intag' => 'class="collection"']); // End menu if level reached if ($level > $args['max-level']) { return; } $menuEntries = get_children_menu_entries($uid); if (!$menuEntries) { return; } ?> <ul<?php if ($level === 0) { echo " {$args['menu-ul-intag']}"; } ?> > <?php foreach ($menuEntries as $menuEntry) { ?> <li class="collection-item"> <?php echo HTML::a($menuEntry->url, $menuEntry->name, $menuEntry->get('title')); ?> <?php print_menu($menuEntry->uid, $level + 1, $args); ?> </li> <?php } ?> </ul> <?php }
$out = new preoutgoing(); if (!$out->load($preoutgoing_id)) { $message .= '<span class="error">' . $out->errormsg . '</span>'; } $person = new benutzer(); if (!$person->load($out->uid)) { $message .= '<span class="error">' . $person->errormsg . '</span>'; } echo '<h2>Details - ' . $person->vorname . ' ' . $person->nachname . '</h2>'; print_menu('Personendetails', 'personendetails'); echo ' | '; print_menu('Dokumente', 'dokumente'); echo ' | '; print_menu('Lehrveranstaltungen', 'lehrveranstaltungen'); echo ' | '; print_menu('Anmerkungen', 'anmerkungen'); echo '<div style="float:right">' . $message . '</div>'; switch ($action) { case 'personendetails': print_personendetails(); break; case 'dokumente': print_dokumente(); break; case 'lehrveranstaltungen': print_lvs(); break; case 'anmerkungen': print_anmerkungen(); break; }
<?php require_once 'include/header.php'; require_once 'include/menu.php'; require_once 'modules/subscriber.php'; ?> <?php print_menu('subscribers'); ?> <script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#example').dataTable( { <?php /*$lang_file = 'js/'.$_SESSION['lang'].'.txt'; if (file_exists($lang_file)) { echo '"oLanguage": { "sUrl": "'.$lang_file.'" },'; }*/ ?> "sPaginationType": "full_numbers", "bProcessing": true, "bServerSide": true, "aaSorting": [[ 0, "desc" ]], "aoColumnDefs": [ { "aTargets": [8], "mData": null, "mRender": function (data, type, full) { sub = full[4].match(/\d\d\d\d\d\d\d\d\d\d\d/); return '<a href="subscriber_edit.php?id='+sub+'" class="pop"><img src="img/edit.png" alt="Edit" valign="middle" /></a> | <a href="subscriber_delete.php?id='+sub+'" class="pop"><img src="img/delete.png" alt="Delete" valign="middle" /></a>'; }
echo "</td>\n"; } echo "<td>\n"; echo "Select To Delete" . "\n"; echo "</td>\n"; echo "</tr>\n"; for ($i = 0; $i < $num_items; $i++) { echo "<tr>\n"; for ($j = 0; $j < $num_fields; $j++) { echo "<td>\n"; echo mysql_result($menu, $i, $j) . " " . "\n"; echo "</td>\n"; } echo "<td>\n"; $type = "menu[]"; $id = mysql_result($menu, $i, 0); echo "<input type=\"checkbox\" name=\"{$type}\" value=\"{$id}\"><br/>" . "\n"; echo "</td>\n"; echo "</tr>\n"; } echo "</table>" . "\n" . "<br/>"; echo "<input type=\"submit\" value=\"Delete Selected Items\">" . "\n"; } ?> <body background="1.png"> <?php print_menu(); ?> </body> </html>
<?php require_once 'include/header.php'; require_once 'include/menu.php'; require_once 'modules/configuration.php'; ?> <?php print_menu('platform'); ?> </script> <br/><br/> <center> <?php try { $site = new Configuration(); $info = $site->getSite(); ?> <style> dl { border: 1px solid #666; padding: 0.5em; width: 500px; font-size: 15px; } dt { float: left; clear: left; width: 200px; text-align: right;
<div class="navbar navbar-material-orange"> <div class="navbar-header"> <a class="navbar-brand">ระบบจัดการฐานข้อมูลสมาชิกมูลนิธิไทยนำ-ลิมป์ศรีสวัสดิ์</a> </div> <div class="navbar-collapse collapse navbar-responsive-collapse"> <ul class="nav navbar-nav navbar-right"> <li><a href="../../logout.php">ออกจากระบบ</a></li> </ul> </div> </div> </div> <!-- <div class=" col-xs-3 btn-material-brown"> <h3 class="mdi-navigation-menu"> เมนู</h3> <ul class="nav nav-pills nav-stacked" >--> <?php print_menu(3); ?> <!-- </ul> </div>--> <div class=" col-xs-9"> <center> <h1>สร้างชื่อจีน</h1> <div class="row" style="margin-top: -3px"> <div class="col-xs-10 col-xs-offset-1 well"> <form class="form-horizontal" action="createname.php" method="Get" style="margin-left:-10px; margin-top: 10px"> <div class="row"> <div class="col-xs-6 col-xs-offset-3" style="margin-top: -20px"> <h2>ค้นหาข้อมูล</h2> </div> </div> <div class="row" style="margin-top: 10px">
?> <script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#example').dataTable( { "sPaginationType": "full_numbers", "bProcessing": true, "bServerSide": true, "aaSorting": [[ 0, "desc" ]], "sAjaxSource": "credit_history_processing.php" } ); } ); </script> <?php print_menu('credits'); ?> <h1><?php echo _("Credit History"); ?> </h1><br/> <div id="dynamic" style="margin-left: 20px;"> <table cellpadding="0" cellspacing="0" border="0" class="display" id="example"> <thead> <tr> <th align='left' width="15%"><?php echo _("Date"); ?> </th>
/** * Print the part of the page that comes below the page content * $p_file should always be the __FILE__ variable. This is passed to show source * @param string $p_file should always be the __FILE__ variable. This is passed to show source * @return null */ function html_page_bottom1($p_file = null) { if (!db_is_connected()) { return; } event_signal('EVENT_LAYOUT_CONTENT_END'); echo '</div>', "\n"; if (config_get('show_footer_menu')) { echo '<br />'; print_menu(); } html_page_bottom1a($p_file); }
); // "Remember" administrators - try to make this link persistent if people have visited an admin page. // (see _session.php file for implementation) if ($is_admin) { $sections[] = array('Admin', 'admin', 'admin/'); } if (!preg_match( '/^www.worldcubeassociation.org$/', $_SERVER["SERVER_NAME"])) { noticeBox3( 0, "Note: This is only a copy of the WCA results system used for testing stuff. The official WCA results are at:<br /><a href='https://www.worldcubeassociation.org/results/'>https://www.worldcubeassociation.org/results/</a>" ); } // only show errors in admin section if($currentSection == 'admin' && isset($installation_errors) && !empty($installation_errors)) { showErrors($installation_errors); } ?> <!-- TODO: Remove or reappropriate for Bootstrap. <div id="pageMenuFrame"> <div id="pageMenu"> <ul class="navigation"> <?php print_menu($sections, $currentSection); ?> </ul> </div> </div> <div id='header'><a href='https://www.worldcubeassociation.org/'>World Cube Association<br />Official Results</a></div> <?php } ?> --> <?php startTimer(); ?>
$inc = new preincoming(); if (!$inc->load($preincoming_id)) { $message .= '<span class="error">' . $inc->errormsg . '</span>'; } $person = new person(); if (!$person->load($inc->person_id)) { $message .= '<span class="error">' . $person->errormsg . '</span>'; } echo '<h2>Details - ' . $person->vorname . ' ' . $person->nachname . '</h2>'; print_menu('Personendetails', 'personendetails'); echo ' | '; print_menu('Dokumente', 'dokumente'); echo ' | '; print_menu('Lehrveranstaltungen', 'lehrveranstaltungen'); echo ' | '; print_menu('Ansprechpersonen', 'ansprechpersonen'); echo '<div style="float:right">' . $message . '</div>'; echo '<br />'; switch ($action) { case 'personendetails': print_personendetails(); break; case 'dokumente': print_dokumente(); break; case 'lehrveranstaltungen': print_lehrveranstaltungen(); break; case 'ansprechpersonen': print_ansprechpersonen(); break;
require_once 'include/header.php'; require_once 'include/menu.php'; ?> <script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#example').dataTable( { "sPaginationType": "full_numbers", "bProcessing": true, "bServerSide": true, "sAjaxSource": "rates_processing.php" } ); } ); </script> <?php print_menu('rates'); ?> <h1><?php echo _("Rates"); ?> </h1><br/> <div id="dynamic" style="margin-left: 20px;"> <table cellpadding="0" cellspacing="0" border="0" class="display" id="example"> <thead> <tr> <th align='left' width="20%"><?php echo _("Destination"); ?> </th>
<?php require_once 'include/header.php'; require_once 'include/menu.php'; require_once 'modules/statistics.php'; print_menu('statistics'); ?> <br/><br/> <center> <?php $stat = new CallsStatistics(); try { $total_calls = $stat->getTotalCalls(); } catch (StatisticException $e) { $total_calls = "ERROR {$e}"; } try { $total_minutes = $stat->getTotalMinutes(); } catch (StatisticException $e) { $total_minutes = "ERROR {$e}"; } try { $avg_call_duration = $stat->getAverageCallDuration(); } catch (StatisticException $e) { $avg_call_duration = "ERROR {$e}"; } ?> Total calls: <b><?php echo $total_calls; ?>
} # what is the current id if (isset($_REQUEST['id'])) { $id = $_REQUEST['id']; } else { header("Location: index.php"); die('need an id'); } # Make sure we can get here. if ($sections[$table]['level']['edit'] < get_page_acccess_level() && ($table != "users" || $id != get_userid())) { #header("Location: {$matches[1]}/index.php"); die("Not authorized. " . get_userid()); } # print top print_header($table); print_menu($section); # print form to edit entry $msg = print_entry($id, $table, false); # list files associated if ($section['files']) { $tmp = show_files($id, $table, false); if ($msg == "") { $msg = $tmp; } else { if ($tmp != "") { $msg = "{$msg}<br/>{$tmp}"; } } } # print footer of html print_footer($msg);
/*$lang_file = 'js/'.$_SESSION['lang'].'.txt'; if (file_exists($lang_file)) { echo '"oLanguage": { "sUrl": "'.$lang_file.'" },'; }*/ ?> "sPaginationType": "full_numbers", "bProcessing": true, "bServerSide": true, "aaSorting": [[ 1, "desc" ]], "sAjaxSource": "cdr_processing.php" } ).columnFilter(); } ); </script> <?php print_menu('cdr'); ?> <h1><?php echo _("Calls Details Records"); ?> </h1><br/> <div id="dynamic" style="margin-left: 20px;"> <table cellpadding="0" cellspacing="0" border="0" class="display" id="example"> <thead> <tr> <th width="2%">ID</th> <th align='left' width="13%"><?php echo _("Call Date");
<div class="navbar navbar-material-orange"> <div class="navbar-header"> <a class="navbar-brand">ระบบจัดการฐานข้อมูลสมาชิกมูลนิธิไทยนำ-ลิมป์์ศรีสวัสดิ์</a> </div> <div class="navbar-collapse collapse navbar-responsive-collapse"> <ul class="nav navbar-nav navbar-right"> <li><a href="../../index.php">ออกจากระบบ</a></li> </ul> </div> </div> </div> <!-- <div class=" col-xs-3 btn-material-brown "> <h3 class="mdi-navigation-menu"> เมนู</h3> <ul class="nav nav-pills nav-stacked" >--> <?php print_menu(7); ?> <!-- </ul> </div>--> <div class=" col-xs-9"> <?php connect_database(); $persons = get_person_detial($id); $person = mysql_fetch_assoc($persons); // print_r($person); ?> <center> <input type="text" name="data_id" id="data_id" style="visibility:hidden" value="<?php echo $id; ?> ">
<body> <div class="wrapper"> <header class="navbar navbar-default"> <div class="container"> <div class="navbar-header"> <div class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-haspopup="true" aria-expanded="true"> <span class="sr-only">Menu</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </div> </div> <form class="pull-left"> <input type="search" name="search" placeholder="Поиск"> <!-- <a href="" class="search"><i class="fa fa-search"></i></a>--> </form> <div class="collapse navbar-collapse" id="navbar-collapse"> <ul id="menu" class="nav navbar-nav"> <?php require "array_data.php"; require "menu.php"; echo print_menu($menu); ?> <li><a href="#" class="basket"><img src="../img/basket.png"></a> </li> </ul> </div> </div> </header>
<div class="navbar navbar-material-orange"> <div class="navbar-header"> <a class="navbar-brand">ระบบจัดการฐานข้อมูลสมาชิกมูลนิธิไทยนำ-ลิมป์ศรีสวัสดิ์</a> </div> <div class="navbar-collapse collapse navbar-responsive-collapse"> <ul class="nav navbar-nav navbar-right"> <li><a href="../../index.php">ออกจากระบบ</a></li> </ul> </div> </div> </div> <!-- <div class=" col-xs-3 btn-material-brown "> <h3 class="mdi-navigation-menu"> เมนู</h3> <ul class="nav nav-pills nav-stacked" >--> <?php print_menu(5); ?> <!-- </ul> </div>--> <div class=" col-xs-9"> <center> <?php connect_database(); $year_list = get_reg_year_list(); // print_r($year_list); ?> <h1>ข้อมูลผู้มาร่วมงานประจำปี</h1> <div class="row" style="margin-top: -3px"> <div class="col-xs-10 col-xs-offset-1 well"> <form class="form-horizontal" action="register_day.php" method="Get" style="margin-left:-10px; margin-top: 10px"> <div class="row">
<nav class="nav-seq"> <ul> <?php echo print_menu($categories); ?> </ul> <div></div> </nav> <div class="wrap"> <?php $allPays = array(); foreach ($categories as $category) { $allChildrens = array(); $allWines = array(); ?> <div id="tab-<?php echo slug($category->label); ?> " class="tab"> <div class="sidebar"> <?php $allRegionMonde = array(); foreach ($category->children as $region_du_monde) { $allRegionMonde[] = $region_du_monde; } if (count($allRegionMonde) > 0) { echo print_sidebar($allRegionMonde); } ?> </div>
function print_theme_dropdown($style = 0) { global $ALLOW_THEME_DROPDOWN, $ALLOW_USER_THEMES, $THEME_DIR, $pgv_lang, $themeformcount; if ($ALLOW_THEME_DROPDOWN && $ALLOW_USER_THEMES) { if (!isset($themeformcount)) { $themeformcount = 0; } $themeformcount++; $uname = getUserName(); $user = getUser($uname); isset($_SERVER["QUERY_STRING"]) == true ? $tqstring = "?" . $_SERVER["QUERY_STRING"] : ($tqstring = ""); $frompage = $_SERVER["SCRIPT_NAME"] . $tqstring; if (isset($_REQUEST['mod'])) { if (!strstr("?", $frompage)) { if (!strstr("%3F", $frompage)) { } else { $frompage .= "?"; } } if (!strstr("&mod", $frompage)) { $frompage .= "&mod=" . $_REQUEST['mod']; } } $themes = get_theme_names(); print "<div class=\"theme_form\">\n"; $module = ""; switch ($style) { case 0: print "<form action=\"themechange.php\" name=\"themeform{$themeformcount}\" method=\"post\">"; print "<input type=\"hidden\" name=\"frompage\" value=\"" . urlencode($frompage) . "\" />"; print "<select name=\"mytheme\" class=\"header_select\" onchange=\"document.themeform{$themeformcount}.submit();\">"; print "<option value=\"\">" . $pgv_lang["change_theme"] . "</option>\n"; foreach ($themes as $indexval => $themedir) { print "<option value=\"" . $themedir["dir"] . "\""; if ($uname) { if ($themedir["dir"] == $user["theme"]) { print " class=\"selected-option\""; } } else { if ($themedir["dir"] == $THEME_DIR) { print " class=\"selected-option\""; } } print ">" . $themedir["name"] . "</option>\n"; } print "</select></form>"; break; case 1: $menu = array(); $menu["label"] = $pgv_lang["change_theme"]; $menu["labelpos"] = "left"; $menu["link"] = "#"; $menu["class"] = "thememenuitem"; $menu["hoverclass"] = "thememenuitem_hover"; $menu["flyout"] = "down"; $menu["submenuclass"] = "themesubmenu"; $menu["items"] = array(); foreach ($themes as $indexval => $themedir) { $submenu = array(); $submenu["label"] = $themedir["name"]; $submenu["labelpos"] = "right"; $submenu["link"] = "themechange.php?frompage=" . urlencode($frompage) . "&mytheme=" . $themedir["dir"]; $submenu["class"] = "favsubmenuitem"; if ($uname) { if ($themedir["dir"] == $user["theme"]) { $submenu["class"] = "favsubmenuitem_selected"; } } else { if ($themedir["dir"] == $THEME_DIR) { $submenu["class"] = "favsubmenuitem_selected"; } } $submenu["hoverclass"] = "favsubmenuitem_hover"; $menu["items"][] = $submenu; } print_menu($menu); break; } print "</div>\n"; } else { print " "; } }
header("Content-type: application/xhtml+xml"); } else { header("Content-type: text/html"); } echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?" . ">"; require_once "res/includes/menu.php"; require_once "res/includes/functions.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php print_header(".", ""); ?> </head> <body> <?php print_menu(".", "/index.php", ""); ?> <div class="text"> <p class="medium">Osinfo is a script for showing information about Linux and BSD systems. It is written in bash. Osinfo supports both colour coded console output and exporting to XML.</p> <p class="medium">Where it is possible it only uses standard *nix/POSIX tools. Some information is unavailable (but quite common) packages, but the availability of these are tested, and no error messaged are produced if these rarer tools are missing.</p> <p class="medium">You can download the last beta/alpha from <a href="ftp://ftp.berlios.de/pub/osinfo/last">ftp://ftp.berlios.de/pub/osinfo/last</a></p> </div> <?php print_footer(); ?> </body> </html>
<?php require_once 'include/header.php'; require_once 'include/menu.php'; require_once 'modules/sms.php'; require_once 'modules/subscriber.php'; ?> <?php print_menu('sms'); ?> </script> <br/><br/><br/><br/> <center> <?php function print_form($post_data, $errors) { $message = $_POST['message'] != '' ? $_POST['message'] : ''; $number = $_POST['number'] != '' ? $_POST['number'] : ''; $bulk_send = $_POST['bulk_send'] != '' ? $_POST['bulk_send'] : ''; ?> <div id="stylized" class="myform"> <form id="form" name="form" method="post" action="send_sms.php"> <h1><?php echo _("Send SMS"); ?> </h1><br/> <span style='color: red; font-size: 12px;'><?php echo $errors;
$mnuMarketing['banners']['url'] = 'banners.php'; $mnuMarketing['text_ads']['caption'] = $gXpLang['text_ads']; $mnuMarketing['text_ads']['url'] = 'text-ads.php'; $mnuStat['current_commissions']['caption'] = $gXpLang['current_commissions']; $mnuStat['current_commissions']['url'] = 'current-commissions.php'; $mnuStat['traffic_summary']['caption'] = $gXpLang['traffic_summary']; $mnuStat['traffic_summary']['url'] = 'traffic-summary.php'; $mnuStat['traffic_logs']['caption'] = $gXpLang['traffic_logs']; $mnuStat['traffic_logs']['url'] = 'traffic-logs.php'; $mnuStat['accounting_history']['caption'] = $gXpLang['accounting_history']; $mnuStat['accounting_history']['url'] = 'accounting-history.php'; print_box2('global_configuration', $gXpLang['global_configuration'], print_menu($mnuGlobal)); print_box2('manage_accounts', $gXpLang['manage_accounts'], print_menu($mnuAccounts)); print_box2('sales_commission', $gXpLang['sales_commission'], print_menu($mnuSales)); print_box2('marketing', $gXpLang['marketing'], print_menu($mnuMarketing)); print_box2('statistics', $gXpLang['statistics'], print_menu($mnuStat)); ?> </div> <br style="clear:both" /> </td> <td style="padding: 0; margin: 0;"><img src="img/sp.gif" alt="" width="10"/></td> <td id="page-content" width="90%"> <?php if ($gPath) { ?> <div class="breadcrumb" style="padding-bottom: 10px;"> <a href="index.php"><?php echo $gXpLang['admin_panel']; ?>
function html_page_bottom1($p_file = null) { if (!db_is_connected()) { return; } if (config_get('show_footer_menu')) { print '<br />'; print_menu(); } html_page_bottom1a($p_file); }
<div class="navbar navbar-material-orange"> <div class="navbar-header"> <a class="navbar-brand">ระบบจัดการฐานข้อมูลสมาชิกมูลนิธิไทยนำ-ลิมป์ศรีสวัสดิ์</a> </div> <div class="navbar-collapse collapse navbar-responsive-collapse"> <ul class="nav navbar-nav navbar-right"> <li><a href="../../logout.php">ออกจากระบบ</a></li> </ul> </div> </div> </div> <!-- <div class=" col-xs-3 btn-material-brown"> <h3 class="mdi-navigation-menu"> เมนู</h3> <ul class="nav nav-pills nav-stacked" >--> <?php print_menu(2); ?> <!-- </ul> </div>--> <div class="col-xs-9"> <center> <h1>พิมพ์ข้อมูลที่อยู่หลายบุคคล</h1> <div class="row" style="margin-top: -3px"> <div class="col-xs-10 col-xs-offset-1 well"> <form class="form-horizontal" action="print_report.php" method="Get" style="margin-left:-10px; margin-top: 10px"> <div class="row"> <div class="col-xs-6 col-xs-offset-3" style="margin-top: -20px"> <h2>เลือกรายการที่ต้องการพิมพ์</h2> </div> </div> <div class="row" style="margin-top: 10px">
} else { header("content-type: text/html; charset=utf-8"); if ($goToView = get_pgn()) { $pgnText = str_replace(array("&", "<", ">"), array("&", "<", ">"), $pgnText); } else { $pgnText = preg_match("/^error:/", $pgnStatus) ? '[Event ""] [Site ""] [Date ""] [Round ""] [White ""] [Black ""] [Result ""] { error loading PGN data, click square A8 for more details }' : $startPosition; } print_header(); print_form(); check_tmpDir(); print_menu("board"); print_chessboard_one(); print_menu("moves"); print_chessboard_two(); print_footer(); print_menu("bottom"); print_html_close(); } function get_param($param, $shortParam, $default) { if (isset($_REQUEST[$param])) { return $_REQUEST[$param]; } if (isset($_REQUEST[$shortParam])) { return $_REQUEST[$shortParam]; } return $default; } function http_parse_headers($headerFields) { global $http_response_header_status, $http_response_header_last_modified;
<?php if ($type == 'gen') { print_menu(1); ?> <!-- <li class="active" ><a href="../index.php" class="mdi-action-home"> หน้าแรก</a></li> <li ><a href="manage_person_table.php" class="mdi-file-cloud"> ฐานข้อมูลสมาชิก</a></li> <li><a href="print.php" class="mdi-action-find-in-page"> พิมพ์ข้อมูล</a></li> <li><a href="createname.php" class="mdi-action-translate"> สร้างชื่อจีน</a></li> <li><a href="ancestorsaddr.php" class="mdi-maps-navigation"> ค้นหาที่อยู่บรรพบุรุษ</a></li> <li><a href="register_day.php" class="mdi-action-assessment"> ดูข้อมูลคนมาร่วมงานประจำปี</a></li> <li> </li> --> <?php } else { ?> <?php print_menu(1); } ?> <!--</ul>--> <!--</div>--> <div class=" col-xs-9"> <center> <?php connect_database(); $persons = get_person_detial($id); $person = mysql_fetch_assoc($persons); // print_r($person); ?> <div class="row"> <h1>รายละเอียดข้อมูลสมาชิก </h1>
<?php require_once 'include/header.php'; require_once 'include/menu.php'; require_once 'modules/reseller.php'; ?> <?php print_menu('resellers'); ?> </script> <br/><br/> <center> <?php function print_form($post_data, $errors) { try { $reseller = new Reseller(); $messages = $reseller->get('messages'); } catch (ResellerException $e) { echo "<img src='img/false.png' width='200' height='170' /><br/><br/>"; echo "<span style='font-size: 20px; color: red;'>" . _("ERROR GETTING INFO!") . $e->getMessage() . " </span><br/><br/><br/><br/>"; echo "<a href='resellers_configuration.php'><button class='b1'>" . _("Go Back") . "</button></a>"; } $message1 = $_POST['message1'] != '' ? $_POST['message1'] : $messages[0]; $message2 = $_POST['message2'] != '' ? $_POST['message2'] : $messages[1]; $message3 = $_POST['message3'] != '' ? $_POST['message3'] : $messages[2]; $message4 = $_POST['message4'] != '' ? $_POST['message4'] : $messages[3]; $message5 = $_POST['message5'] != '' ? $_POST['message5'] : $messages[4]; $message6 = $_POST['message6'] != '' ? $_POST['message6'] : $messages[5]; ?>
</style> <ul id="menu_ul"> <?php $menu_array = explode("\n", $menu); $submenu = array(); foreach ($menu_array as $menu_item) { if (preg_match('/^\\s*$/', $menu_item)) { print_menu($submenu, $current_menu); $submenu = array(); } else { $submenu[] = $menu_item; } } print_menu($submenu, $current_menu); function print_menu($submenu_array, $current_menu) { if (count($submenu_array) == 0) { return; } $links = array(); $labels = array(); foreach ($submenu_array as $submenu_item) { $pieces = preg_split('/\\s+/', $submenu_item, 2, PREG_SPLIT_NO_EMPTY); $links[] = $pieces[0]; $labels[] = $pieces[1]; } print_link($links[0], $labels[0], $current_menu, $links); if (count($links) > 1) { if (in_array($current_menu, $links)) {