Kyberia v1.0
[mirrors/Kyberia-bloodline.git] / inc / showz.inc
CommitLineData
bc13d5d6
H
1<?php
2
3class Showz {
4
5function showDel($action,$id) {
6
7}
8
9function showNav($start=true) {
10$action=$_GET['action'];
11global $kyberia;
12global $offset;
13global $limit;
14global $user_id;
15if ($start) echo "<input type='submit' name='event' value='poslat'>";
16if ($start && $action=='forum') echo "<input type='submit' name='event' value='odpovedat'>";
17echo "<input type='submit' value='<' name='event' class='textinput'>
18<input type='submit' value='<<' name='event' class='textinput'>";
19if ($start) echo "<input type='submit' name='event' value='zmazat'>";
20if ($start) echo "<input type='text' value='$limit' name='limit' class='textinput'>";
21echo "<input type='submit' value='>>' name='event' class='textinput'>
22<input type='submit' name='event' value='>' class='textinput'>";
23echo "<input type='hidden' name='offset' value='$offset'>";
24if ($start) echo "<input type='submit' name='event' value='nahlad'>";
25if ($start) echo "<input type='submit' name='event' value='hladat'>";
26
27
28if ($start && $action=='forum') {
29 $set3=$kyberia->query("select user_k from user where id='$user_id'");
30 $set3->next();
31 $kamount="Este mas ".$set3->getString('user_k')." K.";
32 echo "<br><center>";
33 echo "<table><tr><td valign='middle'>".$kamount."</td><td valign='middle'><input type='hidden' name='k_amount' value='1'><input type='submit' value='K!' name='event' class='smalltextinput'>&nbsp;&nbsp;&nbsp;&nbsp;</td>";
34 echo "<td valign='middle'><input value='delbetween' class='delete' type='checkbox' name='delbetween'>&nbsp;zmaz mezi&nbsp;&nbsp;<input type='checkbox' value='NO-HTML' name='nohtml' value='nohtml' class='delete'>&nbsp;NO-HTML</td></tr></table>";
35 echo "</center>";
36}
37
38}
39
40function showDate($date) {
41echo "&nbsp;&nbsp;".$date;
42}
43
44function showLocation($action,$id,$name) {
45 if ($name) echo "&nbsp;[lokacia::<a class='location' href='".SCRIPT."?action=$action&node_id=$id'>$name</a>]&nbsp;";
46 else echo "&nbsp;[lokacia:<a class='location' href='".SCRIPT."?action=$action'>$action</a>]&nbsp;";
47}
48
49}
This page took 0.150615 seconds and 4 git commands to generate.