Basic Template Snippets


01 January, 2013   

Basic template for xhtml transitional

Makes it extremely easy to integrate code igniter and smarty as well as provide layout capabilites.

03 August, 2011   

By the below template we can make for-loop using xslt.

02 February, 2011   

Basic Alert

09 July, 2011   

How to sort array in smarty template? Create sort modifier file and save it in smarty / plugins with modifier.sortby.php name use this modifier in smarty template like... {foreach item=item key=key from=$users|@sortby:"firstname"} {$item.id}-{$item.firstname} {/foreach}

Basic Database Connection, Random Query, Display Result

Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is disabled and prevent flickering if JS is enabled.

A Template for building OpenGL applications using GLUT.

20 August, 2015   

Basic setup code for jQuery, linking to Google APIs for the jQuery library.

09 March, 2011   

Here are Doctype Template

26 January, 2012   

A simple example template of an Asset Update XML

25 April, 2011   

HTML5 starting point template. Used in conjunction with HTML5 CSS reset at the above link.

An example of Strict Textmate Template

11 September, 2011   

Simple example template of an Import XML

15 January, 2014   

Basic definition for a cursor in MSSQL

28 November, 2011   

An HTML scroll box is a box that grows scroll bars when it's contents are too large to fit in the box.

04 February, 2013   

Visual Basic code to check if value is decimal.

Take array and create multiple columns, define divisible by value ($divis) from total results then use modulus within the loop. This example shows multiple columns for unordered list items.

30 January, 2012   

The PL SQL code samples making use of the control structures will be given in the following.

02 February, 2011   

The set height and width ensure only a portion of the sprite.png graphic is shown. The rollover shifts the position of the background image, revealing a different area of the graphic.