Admin login:


KSSWF | post_system
logo

Functions

database_init(int this_ID, string servername, string username, string password, string database_name (optional))


Usage example

	
	<?php 
		PostSystemInit("nejedniko.cz", "nejedniko.cz", "Chariyard", "nejedniko.cz");
		PS_Exists(9, "PostSystemTable", true);
		ShowPosts(9, "PostSystemTable", 0, icon("user"), "d-m-Y | H:i");
		PostSystemClose(9);
	?> 

Showtime!


( ! ) Warning: mysqli::mysqli(): (HY000/1130): Host '31.192.70.228' is not allowed to connect to this MariaDB server in /volume1/web/nejedniko/subdoms/ksswf/func/database.php on line 23
Call Stack
#TimeMemoryFunctionLocation
10.0001245640{main}( ).../index.php:0
20.0002268672include( '/volume1/web/nejedniko/subdoms/ksswf/initializers.php' ).../index.php:46
30.0021286944include( '/volume1/web/nejedniko/subdoms/ksswf/parts/body.php' ).../initializers.php:73
40.0022288328include( '/volume1/web/nejedniko/subdoms/ksswf/pages/functions/post_system.php' ).../body.php:101
50.0022288552PostSystemInit( ).../post_system.php:24
60.0022288696database_init( ).../PostingSystem.php:16
70.0025289240mysqli ( ).../database.php:23

( ! ) Warning: mysqli::query(): Couldn't fetch mysqli in /volume1/web/nejedniko/subdoms/ksswf/func/database.php on line 74
Call Stack
#TimeMemoryFunctionLocation
10.0001245640{main}( ).../index.php:0
20.0002268672include( '/volume1/web/nejedniko/subdoms/ksswf/initializers.php' ).../index.php:46
30.0021286944include( '/volume1/web/nejedniko/subdoms/ksswf/parts/body.php' ).../initializers.php:73
40.0022288328include( '/volume1/web/nejedniko/subdoms/ksswf/pages/functions/post_system.php' ).../body.php:101
50.0078289184PS_Exists( ).../post_system.php:25
60.0079289384database_query( ).../PostingSystem.php:30
70.0079289480query ( ).../database.php:74

( ! ) Warning: mysqli::query(): Couldn't fetch mysqli in /volume1/web/nejedniko/subdoms/ksswf/func/database.php on line 74
Call Stack
#TimeMemoryFunctionLocation
10.0001245640{main}( ).../index.php:0
20.0002268672include( '/volume1/web/nejedniko/subdoms/ksswf/initializers.php' ).../index.php:46
30.0021286944include( '/volume1/web/nejedniko/subdoms/ksswf/parts/body.php' ).../initializers.php:73
40.0022288328include( '/volume1/web/nejedniko/subdoms/ksswf/pages/functions/post_system.php' ).../body.php:101
50.0078289184PS_Exists( ).../post_system.php:25
60.0080289408database_create_T( ).../PostingSystem.php:45
70.0080289984database_query( ).../database.php:112
80.0080290080query ( ).../database.php:74

( ! ) Warning: mysqli::query(): Couldn't fetch mysqli in /volume1/web/nejedniko/subdoms/ksswf/func/database.php on line 74
Call Stack
#TimeMemoryFunctionLocation
10.0001245640{main}( ).../index.php:0
20.0002268672include( '/volume1/web/nejedniko/subdoms/ksswf/initializers.php' ).../index.php:46
30.0021286944include( '/volume1/web/nejedniko/subdoms/ksswf/parts/body.php' ).../initializers.php:73
40.0022288328include( '/volume1/web/nejedniko/subdoms/ksswf/pages/functions/post_system.php' ).../body.php:101
50.0081289488ShowPosts( ).../post_system.php:26
60.0083290136database_read_T( ).../PostingSystem.php:79
70.0083290384database_query( ).../database.php:141
80.0083290480query ( ).../database.php:74

( ! ) Warning: Invalid argument supplied for foreach() in /volume1/web/nejedniko/subdoms/ksswf/func/PostingSystem.php on line 98
Call Stack
#TimeMemoryFunctionLocation
10.0001245640{main}( ).../index.php:0
20.0002268672include( '/volume1/web/nejedniko/subdoms/ksswf/initializers.php' ).../index.php:46
30.0021286944include( '/volume1/web/nejedniko/subdoms/ksswf/parts/body.php' ).../initializers.php:73
40.0022288328include( '/volume1/web/nejedniko/subdoms/ksswf/pages/functions/post_system.php' ).../body.php:101
50.0081289488ShowPosts( ).../post_system.php:26
No posts published yet.

( ! ) Warning: mysqli::close(): Couldn't fetch mysqli in /volume1/web/nejedniko/subdoms/ksswf/func/database.php on line 96
Call Stack
#TimeMemoryFunctionLocation
10.0001245640{main}( ).../index.php:0
20.0002268672include( '/volume1/web/nejedniko/subdoms/ksswf/initializers.php' ).../index.php:46
30.0021286944include( '/volume1/web/nejedniko/subdoms/ksswf/parts/body.php' ).../initializers.php:73
40.0022288328include( '/volume1/web/nejedniko/subdoms/ksswf/pages/functions/post_system.php' ).../body.php:101
50.0091289696PostSystemClose( ).../post_system.php:27
60.0091289728database_close( ).../PostingSystem.php:447
70.0091289776close ( ).../database.php:96