Full Scripts

CzarNews (v1.20)

News Manager - Requires: PHP 4,5 (safe_mode OFF), MySQL 3,4,5
Released on:
Deprecated: Function split() is deprecated in /home/czaries/public_html/layout/CznGlobal.php on line 109
04-26-2006 @ 3:35 PM by Czaries

A free full-featured news manager that allows you to post news effortlessly and easily. Includes: Unlimited users, each with custom permissions, unlimited posting categories, web-based configuration, and a complete auto-installer for a quick setup in minutes. Works with PHP 4 and 5, and MySQL 3, 4, and 5.
CLICK HERE for a full list of features and a demo

Download CzarNewsv120.zip [53.8 KB]

CzarQuery (v1.00)

Half-Life Server Information Tool - Requires: PHP 4.x
Released on:
Deprecated: Function split() is deprecated in /home/czaries/public_html/layout/CznGlobal.php on line 109
01-08-2004 @ 7:53 PM by Czaries

CzarQuery is made to retrieve information from a Half-Life server about who is playing, what mod it is running, and what map the dedicated server host is currently playing.

This script has been tested with and includes map pictures for the following mods:
- Counter-Strike
- Day of Defeat
- Natural Selection
- Team Fortress Classic
- Action Half-Life

View Demo of CzarQuery

Download CzarQuery.zip [914 KB]

CzarNewfile (v1.01)

Newest File Indexer - Requires: php 4.x
Released on:
Deprecated: Function split() is deprecated in /home/czaries/public_html/layout/CznGlobal.php on line 109
04-25-2003 @ 11:25 PM by Czaries

Displays the most recently modified files in the directory of your choosing, and displays it in a nice box you can include anywhere on your website. It displays the rank, file name (with a link to the file), and date it was last modified. You can also limit how many files to display. Now allows you to limit file extensions (types) to include.

Download CzarNewfilev101.zip [2.92 KB]
View Source View CzarNewfile Source

CzarRand (v1.03)

Randomizing Script - Requires: MySQL, php 4.x
Released on:
Deprecated: Function split() is deprecated in /home/czaries/public_html/layout/CznGlobal.php on line 109
02-07-2003 @ 4:03 PM by Czaries

A random script that ensures to pick only out of the entires that exist in the table. This script compiles an array of the entries currently in the table, then selects a random entry from that array. The script is very fast, and works with anything you can put in a MySQL database, including HTML tags such as links and images.

Download CzarRandv103.zip [1.86KB]
View Source View CzarRand Source

Snippets and Functions

CalcSize - Human-Format size

Converts a filesize string to a more readable and "human" format, like KB, MB, GB, and TB, instead of a long string of numbers in bytes.
View Source View CalcSize() Source

CutStr - String-shortening function

Very simple function that cuts a string to a specified length if it's longer than the specified length. It can also attatch dots at the end to show the string was cut
View Source View CutStr() Source