ACC SHELL

Path : /www/hosting/oltv.cz/www/
File Upload :
Current File : /www/hosting/oltv.cz/www/profil.php

<?php
require_once "include/config.php";

// najdi sitek dle url
if (isset($_GET["uzivatel"]) && $_GET["uzivatel"] != "oltv") {
	$uzivatel = dibi::query("SELECT * FROM [uzivatele] WHERE mr_url = %s",$_GET["uzivatel"])->fetch();
} else {
	$uzivatel["id"] = 0;
	$uzivatel["login"] = "oltv";
}
if (isset($_GET['page'])) { $stranka = intval($_GET['page']); }
else { $stranka = 1; }

$arr = array(
	"limit"			=> 27,
	"page"			=> $stranka,
	"imageWidth"	=> 191,
	"imageHeight"	=> 100,
	"iduzivatele"	=> $uzivatel["id"],
	"order"			=> "videa.caszalozeni",
	"sort"			=> "DESC",
	"pager"			=> TRUE
);
$uzivatel_output = videa::vypis($arr);


$page = new page("Videa uživatele ".$uzivatel["login"]);

include "inc/head.inc";
include "inc/header.inc";
?>
<h1>Videa uživatele <strong style="color: #fff;"><?=$uzivatel["login"]?></strong></h1>
<?php
//<div id="razeni">seřadit podle: <a href="zpravy.html?od=0&amp;sort=A&amp;typ=1" class="active"><img src="/pics/arrow_down.png" /> data</a>
//	<span>/</span>
//	<a href="zpravy.html?od=0&amp;sort=B&amp;typ=2">zhlednutí</a>
//</div>
?>
<?php
include "inc/right.inc";
?>
	<div id="left">
		<div class="videoList">
			<ul id="otherVideos">
				<?=$uzivatel_output["html"]?>
			</ul>
		<div class="clear"></div>
		<?=page::vypis_strankovani($uzivatel_output["pager"]);?>
	  </div>
	</div>
   <div class="clear"></div>

<?php
include "inc/bottom.inc";
include "inc/footer.inc";

ACC SHELL 2018