<div id="paging" > <?php include "page.php"; if ($sub_code) { $total_count = @mysql_fetch_array(mysql_query("select count(uid) as totalcount from rb_s_chat_room where room_kind=1 and sub_code={$sub_code}")); } else { $total_count = @mysql_fetch_array(mysql_query("select count(uid) as totalcount from rb_s_chat_room where room_kind=1 ")); } $total_data = $total_count[totalcount]; $page_per_list = 10; $query = "mod=" . $mod; if ($sub_code) { $query .= "&sub_code=" . $sub_code; } $nav = page_nav($total_data, $num_per_page, $page_per_list, $page, $query); echo $nav; echo "<form action={$PHP_SELF}>\n \t\t\t<input name=mod type=hidden value='" . $mod . "'>\n \t\t\t<input name=sub_code type=hidden id=sub_code value='" . $sub_code . "'>\n PAGE : <input type=text name=page size=4>\n <input type=submit value='GO'></form>\n "; ?> </div> </td></tr></table> <script type="text/javascript"> function chat_room_make() { if($("#chat_room_make").css("display") == "none"){ $("#chat_room_make").show(); } else { $("#chat_room_make").hide(); }
<?php include 'includes/functions_editAcc.php'; page_head("Úprava účtu"); page_nav(); get_topright_form(); if (!isset($_SESSION["loggedUser"]) || $_SESSION["loggedUser"] == null) { dieWithError("err-not-logged-in"); } if (get_class($_SESSION["loggedUser"]) != "Administrator") { dieWithError("err-edit-accounts-rights"); } $val = new Validate(); $edit = new EditJury(); $udaje = daj_udaje_rozhodcu($_GET['id']); $_SESSION['email'] = $udaje["mail"]; if (isset($_POST["email"]) && $val->validate_mail($_POST["email"])) { if ($_SESSION['email'] != $_POST["email"]) { if ($val->validate_pass($_POST["pass"], $_POST["pass2"])) { if ($val->email($_POST["email"])) { $edit->editujJury($_POST["email"], $_POST["pass"]); } } } else { if ($val->validate_pass($_POST["pass"], $_POST["pass2"])) { $edit->editujJury($_POST["email"], $_POST["pass"]); } } } ?>
print site_url(); ?> assets/js/highlight/highlight.pack.js"></script> </head> <body> <div class="header"> <?php require 'header_nav.php'; ?> </div> <div class="page-container" style="background-color: white;"> <div class="mw-ui-row"> <div class="mw-ui-col sidebar-col" style="width: 280px;"> <div class="sidebar"> <div class="sidebar-content"><?php print page_nav(); ?> </div> </div> </div> <div class="mw-ui-col"> <div class="container"> <div class="content"><?php print page_content(); ?> </div> </div> </div> </div> </div> <div class="not-ready">The documentation is under development. <a style="" href="https://github.com/microweber/microweber-docs/edit/master/<?php