1. Read
  2. Vote
  3. Old
  4. New
  5. Hot
  6. Reply

Wiki: Topnew DB Docs

Wiki: Howto use Topnew\Db v 2019.10.10

Topnew DB is a PHP class to use PDO database library easily.

1 - Quick start

Save Topnew\Db file into somewhere eg:
vendor/topnew/src/Db.php

An example of your applications:
Cat: CMS | Read: 13660 | 10/10/2019 | Like: 10

SIDU SQL in charts: howto

There are 3 types of bar-charts to show according to the structure SQL result:

1. show chart - data horizontal: columns are x-axis
data horizontal
Cat: SIDU | Read: 20741 | 05/01/2013 | Like: 1

Blog Docs 4 - Admin staff users

Use your existing user table, and only import user_id in to blog_cat.cat = 1001 eg

REPLACE INTO blog_cat(cat,name,info) VALUES
(1001,'blog_staff','{"1":[1,2],"181130":[102,108]}');

staff user id is a json of: catetory and user ids, above means:

cat = 1 (all categories i.e. Admin staff)
user_id = 1, 2

cat = 181130 (i.e. staff or moderators for cat = 181130)
user_id = 102, 108 etc
Cat: Blog | Read: 22473 | 25/01/2019 | Like: 3

Topnew CSS v 2023 Shape

4 - Shape

4.1 Common shapes

rc = box with round corners

box
rc
btn
tab
tabL
tabR
tabB
Cat: CMS | Read: 1107 | 14/04/2022
Tags: CSS

Topnew CSS v 2023 Color

3 - Color
We have text colors, background colors

3.1 Text colors

red, green, blue, gold, grey, dark. And there is default.

3.2 Bac
Cat: CMS | Read: 1177 | 13/04/2022
Tags: CSS
  1. 1
  2. 2
  3. 3
  4. 4
  5. »

Category